modelica
Limitations
Modelica language support
language support
Note
The SimcenterAmesim Modelica package has been updated. This package contains the same Modelica models and packages as the previous one but with some changes to make it compatible with the new Modelica compiler. In order to continue using your former models in Simcenter Amesim 17, you must unload the previous SimcenterAmesim package in the library tree of the Modelica Editor and load the Amesim/modelica/SimcenterAmesim/package.mo file.
Please also note that the SimcenterAmesim package may not be available if you are already using the Modelica Editor in an earlier version of Simcenter Amesim. You will have to open the SimcenterAmesim/package.mo package from the Amesim/modelica/SimcenterAmesim setup folder.
The Simcenter Amesim Modelica compiler supports most of Modelica language features defined in the Modelica language specification (available at with the following restrictions:
The operators terminal() and delay() are not yet supported
The exponentiation of arrays is partially supported
Recursive functions are not yet supported
Overloaded operators are not yet supported
Assert equations are ignored in "initial equations" and "when clauses"
Modelica Standard Library support
Modelica Standard Library
The Modelica Standard Library is a freely distributed package of Modelica models created and maintained by the Modelica Association. It is intended to be used as the basic building blocks of more complex Modelica models and can be downloaded from the Github repository at The MSL is distributed under the Modelica License 2. The details of this license can be found on the Modelica website ( or within the Documentation view of the class named Modelica.UsersGuide.ModelicaLicense2.
The MSL includes a large number of libraries, not all of which are fully supported by the Simcenter Amesim compiler. As part of the installation, Simcenter Amesim comes with a subset of the MSL version 3.2.3 (see the figure below).
Figure 50: Subset of the MSL distributed with Simcenter Amesim
Loading the Modelica Standard Library
The Modelica Standard Library is found in the modelica/MSL_v3.2.3 folder of the Simcenter Amesim root directory. When the Modelica Editor is opened, Simcenter Amesim will check the user's Modelica configuration file and read the path list from the previous session. If it does not find $AME/modelica/MSL_v3.2.3/Modelica within the Modelica Standard Library group of the path list, then this path will be appended. If no other path from the Modelica Standard Library group is checked, then this version will be selected by default.
The user is always free to download other versions of the MSL and add them to the Libraries list. As described in the Modelica Editor manual, simply use File > Open to add the package.mo file associated with the MSL version of interest. For example, you may wish to download MSL v3.1 for your own use, or create a local copy of one of the MSL versions so that you can make your own customized version of it.
Warning
You can not load more than one package of the same name.
Another important aspect of the MSL is that it actually consists of multiple interdependent libraries. In addition to the main package named Modelica, there are also associated packages named ModelicaServices and ModelicaReference. The ModelicaServices package includes definitions of some constants and functions that may have tool-specific implementations. The ModelicaReference package is a documentation package to provide users with a reference sheet for Modelica syntax rules. These three packages must be kept synchronized (i.e., loaded with consistent versions). This is handled for you automatically.
By convention, the Modelica, ModelicaServices and ModelicaReference packages all exist within the same root MSL folder. Any time a user opens a package from the Modelica Standard Library the Modelica Editor will automatically search in the sibling folders of the Modelica package to find ModelicaServices and ModelicaReference. If they are found, they will automatically be loaded along with the Modelica package. They may not always be present however (e.g., ModelicaServices was introduced since MSL v3.1), and are simply ignored if not found. Keep this in mind if you wish to modify your own version of the MSL, as you may need to ensure that the ModelicaServices package exists in the correct folder structure.
Conversely, whenever any of the MSL packages (Modelica, ModelicaServices or ModelicaReference) are unloaded, all three will be unloaded together. This can be done through the Library view context menu Unload option.
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Modelica_Platform/xid1178157 · retrieved 2026-07-17