Skip to content
OpenModelica

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.

Run in the browser Download User documentation Discussions Report a bug

Governance: the Open Source Modelica Consortium

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.

Contribute

Everyone is welcome to contribute: bug reports, documentation, tests, libraries and code.

Pull requests are reviewed by the developer team of each group of repositories (see below).

Repositories

OpenModelica

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

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.

Scripting interfaces and library testing

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

Editors and language tools

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

Installers

Repository Description
OpenModelicaSetup Windows installer
openmodelica-crossbuild Docker image to cross-compile FMUs

CRML

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

Julia

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

Pinned Loading

  1. OpenModelica OpenModelica Public

    OpenModelica is an open-source Modelica-based modeling and simulation environment intended for industrial and academic usage.

    Modelica 1.5k 420

  2. OMSimulator OMSimulator Public

    The OpenModelica FMI & SSP-based co-simulation environment.

    Python 100 60

  3. OMPython OMPython Public

    A Python interface to OpenModelica communicating via ZeroMQ

    Python 156 70

  4. OpenModelicaLibraryTesting OpenModelicaLibraryTesting Public

    Test script for OMCompiler+OpenModelicaLibraries

    Python 14 18

Repositories

Showing 10 of 94 repositories

Top languages

Loading…

Most used topics

Loading…