The FMI feature is compatible with the following Modelica simulation tools:following table describes prerequisites for compiling and running 64 Bit FMUs
Feature | Prerequisite |
---|---|
FMU compilation | Dymola Version 2019, released 2018-04-11 |
...
or OpenModelica 1.16.2 (OM) | |
Adding external components to the Solver block | RT-LAB 2024.2 and above + Matlab 64 Bit |
Real-time simulation | OPAL-RTLinux OS (64 bit) |
...
OpenModelica 1.16.2 (only MATLAB 64bit): Real-time target must be OPAL-RTLinux OS (64 bit).
...
Info |
---|
It is not required install Dymola or OpenModelica to run models that use FMUs compiled with those tools. |
Installing Open Modelica
On Linux targets:
OM 1.16.2 is pre-installed as a default package in OPAL-RTLinux OS v3.5.3 and later versions.
On host: download the required installer file via the following links and install it manually.
OpenModelica-v1.16.2-64bit.exe: https://build.openmodelica.org/omc/builds/windows/releases/1.16/2/64bit
FMUCreator
The tool FMUCreator, included with RT-LAB, simplifies compilation and generation of FMUs from the user’s developed models.
The FMUCreator tool has an external dependency on Visual C++ 2008 Redistributable - x86 9.0.21022. The user must ensure the latter is installed prior to running the tool.
The MinGW binary folder (provided with OM at
%OPENMODELICAHOME%/MinGW/bin
) must be added to the system path after installation.
Limitation
Note |
---|
OM 1.16.2 is not compatible with the RT-LAB’s eXtreme High Performance (XHP) execution mode. |
To compile FMUs with ePHASORSIM’s FMUCreator an installation of Dymola or OpenModelica (OM) is required.
To run an ePHASORSIM model with Dymola or OM 1.16.2 FMUs, the installation of DYMAOLA or OM1.16.2, respectively, is not required. Whereas, in case of OM 1.9.1 FMUs an installation of OM is required on both Linux target and host.
On Linux targets:
...
...
32 Bit support [DEPRECATED]
Note |
---|
RT-LAB 2024.1 [LTS] is the final version to maintain support for 32-bit FMU libraries. |
The following table describes prerequisites for compiling and running 32 Bit FMUs
Feature | Prerequisite |
---|---|
FMU compilation | Dymola Version 2019, released 2018-04-11 or OpenModelica 1.9.1 (OM) |
Running ePHASORSIM model with Dymola FMUs | Dymola Version 2019, released 2018-04-11 |
Running ePHASORSIM model with OpenModelica (OM) | OpenModelica 1.9.1 (OM) |
Adding external components to the Solver block | RT-LAB 2024.1 + Matlab 2015B (32 Bit) |
Real-time simulation | RedHat OS (32 bit) |
Installing Open Modelica
On Linux targets:
For OM 1.9.1 use FMUCreator to install the proper package on RedHat Linux target.
On host: download the required installer file via the following links and install it manually.
OpenModelica-v1.16.2-64bit.
exe:OpenModelica-1.9.1-revision-22929.exe: https://build.openmodelica.org/omc/builds/windows/releases/1.9/1
Known issues
Note |
---|
Note: This version of OM 1.9.1 has memory leak issues which will limit the number of FMUs that can be used in a model. OPAL-RT has partially resolved this memory leak and made a custom build of OM 1.9.1 that is recommended for better performance. The customized OM 1.9.1 has installers for both Windows and Linux. Please contact OPAL-RT Support to receive this custom version gratis. |
...
The tool FMUCreator, included with RT-LAB, eases installation of OM on the Linux target.
It also simplifies compilation and generation of FMUs from the user’s developed models.
...
The FMUCreator tool has an external dependency on Visual C++ 2008 Redistributable - x86 9.0.21022.
The user must ensure the latter is installed prior to running the tool.
...
a free copy. |