The FMI feature is compatible with the following Modelica simulation tools:
Dymola Version 2019, released 2018-04-11 (MATLAB 32/64bit): Real-time target can be either in RedHat (32 bit) or new OPAL-RTLinux OS (64 bit); however, the new OS is highly recommended.
OpenModelica 1.9.1 (r22929) (only MATLAB 32bit): Real-time target must be RedHat OS (32 bit).
OpenModelica 1.16.2 (only MATLAB 64bit): Real-time target must be OPAL-RTLinux OS (64 bit).
Note
OM 1.16.2 is not compatible with the RT-LAB’s eXtreme High Performance (XHP) execution mode.
To run ePHASORSIM model with OM 1.16.2 FMUs on OPAL-RTLinux OS, the XHP mode must be disabled.
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:
OM 1.16.2 is pre-installed as a default package in OPAL-RTLinux OS v3.5.3 and later versions.
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: https://build.openmodelica.org/omc/builds/windows/releases/1.16/2/64bit
OpenModelica-1.9.1-revision-22929.exe: https://build.openmodelica.org/omc/builds/windows/releases/1.9/1
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.The MinGW binary folder (provided with OM at
%OPENMODELICAHOME%/MinGW/bin
) must be added to the system path after installation.