Magic Model Analyst supports OpenModelica, an open-source Modelica-based modeling and simulation environment for industrial and academic use, to analyze and solve mathematical expressions. Integrating Magic Model Analyst with OpenModelica allows you to specify Modelica as the language of opaque expressions. Download OpenModelica from https://www.openmodelica.org/, install it, and set up your system to allow Magic Model Analyst to integrate with it.

After successful integration, Modelica will be listed where a language selection is available (e.g. Simulation Console pane, Constraint Block, and Environment Options > Simulation). Magic Model Analyst will be able to process a Modelica command from the Simulation Console pane (e.g. plot function).

Selecting Modelica in the Simulation Console pane as the language of opaque expressions in Magic Model Analyst.

To integrate with OpenModelica


  1. On the MagicDraw main menu, select Tools > Integrations. The Integrations window opens.


  2. Select OpenModelica and click .
  3. Select a home directory for OpenModelica from the OpenModelica directory selection dialog.


  4. Click  and restart the OS.