OpenModelica is an open-source environment for modeling, compiling and simulating Modelica® models. It is free software, available as source code and as executables, and is used for research, teaching and in industry. It supports most of the Modelica language, including equations, algorithms, event handling, functions and packages. It also includes a graphical user interface (OMEdit), scripting interfaces for Python, Julia, MATLAB and other languages, FMI and SSP support, and an electronic notebook for teaching.
OpenModelica is available under the AGPLv3 and under the OSMC Public License.
The long-term development of OpenModelica is supported by the Open Source Modelica Consortium (OSMC), a non-profit, non-governmental organization of companies, universities and research institutes. OSMC develops and promotes OpenModelica and its tools and libraries, and the related standards FMI, SSP and DCP. The Modelica language and the Modelica Standard Library are developed by the Modelica Association, not by OSMC.
- The Annual Meeting of the organizational members is the highest governing body.
- The Board makes the budget and the plan of operation and approves new members.
- The Director and the Technical Coordinator do the day-to-day work and coordinate the contributions.
OSMC holds the copyright of OpenModelica. Companies and universities can join the consortium to support the development and take part in the decisions.
Everyone is welcome to contribute: bug reports, documentation, tests, libraries and code.
- Ask and discuss in GitHub Discussions.
- Report bugs in the issue tracker of the repository the bug is in. When you are not sure, use OpenModelica/OpenModelica. Include a small model or script that shows the problem.
- Test the nightly builds (Windows, Linux) and tell us what broke.
- Send pull requests from your fork of the repository. Read the contribution guidelines first. For larger changes, open an issue to discuss the change before you start.
- License: all contributions are made under the contributor license agreement.
Pull requests are reviewed by the developer team of each group of repositories (see below).
The main project: the compiler omc, the graphical editor OMEdit, the simulation runtimes, OMShell, OMNotebook and OMPlot. Start here if you want to install, use or build OpenModelica.
| Repository | Description |
|---|---|
| OpenModelica | Compiler, GUI clients, simulation runtimes and testsuite |
| OMOptim, OMSens | Optimization and sensitivity analysis of Modelica models |
OMSimulator is the FMI- and SSP-based co-simulation environment, with C and Python interfaces. It is included in OpenModelica and is also available on its own.
Use OpenModelica from other languages, install Modelica libraries and test them.
| Repository | Description |
|---|---|
| OMPython | Python interface |
| OMJulia.jl | Julia interface |
| OMMatlab, OMOctave | MATLAB and Octave interfaces |
| OMPackageManager | Index of the open-source Modelica libraries for the package manager |
| setup-openmodelica | GitHub Action: install OpenModelica and Modelica libraries in CI |
| openmodelica-library-testing-action | GitHub Action: test your Modelica library with OpenModelica |
| OpenModelicaLibraryTesting | Scripts for the library coverage reports |
| OMWebbook | Interactive online notebook |
| Repository | Description |
|---|---|
| modelica-language-server | Modelica language server and VS Code extension |
| metamodelica-language-server | MetaModelica language server and VS Code extension |
| tree-sitter-modelica, tree-sitter-metamodelica | Tree-sitter parsers |
| mocoal-rs | Automatic diagram layout for Modelica models |
| Repository | Description |
|---|---|
| OpenModelicaSetup | Windows installer |
| openmodelica-crossbuild | Docker image to cross-compile FMUs |
Tools for the Common Requirement Modeling Language.
| Repository | Description |
|---|---|
| CRML | CRML to Modelica compiler |
| crml-lsp | Language server and VS Code extension for CRML |
| CRML-diagram | draw.io diagrams from CRML files |
An experimental Modelica compiler written in Julia, and its packages. Register OpenModelicaRegistry to install them.
| Repository | Description |
|---|---|
| OM.jl | Modelica compiler in Julia |
| OMFrontend.jl, OMBackend.jl | Frontend and backend |
| OpenModelicaParser.jl, MetaModelica.jl | Parser and MetaModelica language support |
| BaseModelicaLibraryTesting.jl, OMLibraryTesting.jl | Library testing |