- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » checkAndGetAlgorithmOutputs failed
checkAndGetAlgorithmOutputs failed
checkAndGetAlgorithmOutputs failed
I am working on a model where multiple instantiation of model is required and some equations are written in new model where these model are instantiated.
I am instantiating "reboiler" model in "column". There is one array variable called mixMolFrac[2] in reboiler. I need to assign different values to this variable hence I am using if-else conditions. My if- else also coming inside for loop hence I am writing this in algorithm section since writing it in equation section was producing some extra equations.
When I write it in algorithm in if- else as "reboiler.mixMolFrac[:] := {0, 0}" it is showing
[19] 01:26:52 Translation Error
Internal error checkAndGetAlgorithmOutputs failed.
[20] 01:26:52 Translation Error
No system for the symbolic initialization was generated
But if I write this in equation as "reboiler.mixMolFrac[:] = {0, 0}" without if-else, it is giving right results.
There are eight variables which I am writing in if-else in algorithm but only these two variables are giving problem.
Thanks in advance.
Please reply asap
Re: checkAndGetAlgorithmOutputs failed
Does it work if you use the equivalent "reboiler.mixMolFrac := {0, 0}"? If so it's probably just an internal error and OMC can't handle the model and it would be good to have the model attached to a new ticket at https://trac.openmodelica.org/OpenModelica/newticket.
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » checkAndGetAlgorithmOutputs failed