OMSimulator is an open-source environment for connecting and running simulation components through FMI and SSP. It is available independently as well as within OpenModelica, so a composed simulation need not consist solely of Modelica-authored models.[2][3]
Composing a system
FMU inputs and outputs can be connected, grouped and parameterized to represent a larger system. The environment supports Model Exchange and Co-Simulation and offers APIs for external programs. This is a composition and execution layer: the component models must already exist, and their physical assumptions are not made consistent merely by connecting matching signals.[2]
Execution and results
The command-line wrapper accepts FMUs, SSP files and Lua scripts. Its options expose start and stop times, integration method, tolerances, communication intervals and result-file selection. These choices affect the experiment rather than just its presentation. The stable-line manual labels soft real-time operation experimental, so it should not be treated as a guaranteed real-time deployment facility.[4]
SSP portability
Composite-system descriptions use SSD within the SSP framework. The guide documents OpenModelica-specific annotations for bus and TLM arrangements. A standards-based archive can therefore still contain information that another importer does not interpret identically. Moving a composed system requires checking connections and supported annotations as well as confirming that each FMU executes.[5]
Distribution and licenses
The stable branch describes a standalone application, C library and Python package, with graphical integration through OpenModelica's OMEdit. The repository separately identifies master as unstable development. Licensing offers AGPLv3 and OSMC-PL membership-dependent alternatives; do not assume permissive BSD terms for the entire simulator from a different OpenModelica component's runtime license.[1][3][6]
When it substitutes
OMSimulator can replace FMPy for compatible FMU execution when explicit system composition and SSP exchange are central needs. The tools overlap at component simulation but offer different surrounding workflows. Migration should compare solver settings, events, connections and output traces; a model that loads is not by itself a validated replacement.[2][4][5][7]
Capabilities & limitations
FMU system composition
supported
Connect and parameterize FMUs with external scripting interfaces.[2]
Dynamic system modeling and simulation · Windows, Linux, macOS build-dependent · Edition, deployment and model dependencies affect availability