Closed modelica-trac-importer closed 7 years ago
Comment by sjoelund.se on 6 Feb 2014 07:57 UTC Speaking as an OpenModelica developer, the correct place for this bug report would be https://trac.openmodelica.org/OpenModelica/newticket (so I am closing this ticket).
The reason is quite simply that OpenModelica does not support the synchronous features of Modelica 3.3. It is a Modelica 3.2 tool at the moment, with only a few things from 3.3 implemented.
Modified by dietmarw on 6 Feb 2014 10:07 UTC
Reported by fulvio.spagna on 6 Feb 2014 05:31 UTC In loading any examples contained in the library I observe an error message like the one reported below for the EngineThrottleControl:
[2] 9:25:49 PM Validation of model Modelica_Synchronous.Examples.Systems.EngineThrottleControl Warning: Class Clock not found in scope Modelica_Synchronous.Examples.Systems.Utilities.ComponentsThrottleControl.SpeedControl (looking for a function or record). Warning: Failed to elaborate expression: Clock(). Warning: Failed to instantiate equation when Clock() then x_d = previous(x_d) + k_I * interval() * (previous(N_des) - previous(N)); Theta = k_p * (N_des - N) + x_d; end when;. Warning: Error occurred while flattening model Modelica_Synchronous.Examples.Systems.EngineThrottleControl Warning: Internal error Instantiation of Modelica_Synchronous.Examples.Systems.EngineThrottleControl failed with no error message.
Internal error: Validation of model Modelica_Synchronous.Examples.Systems.EngineThrottleControl failed.
A similar error message is observed when using OMEedit. As it stands the Library cannot be used ...
Migrated-From: https://trac.modelica.org/Modelica/ticket/1411