Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

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.

There are 0 guests and 0 other users also viewing this topic
You are here: