Skip to content

Instructions to install and execute the roundtrip SysML Modelica transformation

Axel Reichwein edited this page May 7, 2013 · 52 revisions
  1. Install the OpenModelicaCompiler revision- 12060 (1.8.1). Newer versions of OMC exist but have not been tested. OpenModelicaCompiler revision- 12060 for Windows can be found at: https://build.openmodelica.org/omc/builds/windows/nightly-builds/older/OpenModelica-revision-12060.exe. Install it under C:\ since there may be some problems if you install it somewhere else. Make sure that omc.exe has been installed in the lib folder of the OMC installation directory (e.g. under C:\OpenModelica1.8.1\bin). If not, uninstall and reinstall OMC.

  2. Create the OPENMODELICA Environment variable if it has not been created through the installation of the OpenModelicaCompiler. On Windows 7, Start->Control Panel->System and Security-> Advanced System Settings->Environment Variables. Define OPENMODELICAHOME to point to drive:\path\to\your\OpenModelica-X.Y.Z\ (e.g. C:\OpenModelica1.8.1). Restart your computer.

  3. Download edu.gatech.mbse.mdsysml2modelica.zip and edu.gatech.mbse.modelica2mdsysml.zip files from the MBSEC SysML-Modelica Integration [page] (http://www.mbsec.gatech.edu/research/projects/active/sysml-modelica-integration).

  4. Place the unzipped folders in the plugins folder of your MagicDraw installation directory (e.g. in C:/Program Files/MagicDraw UML/plugins).

  5. Download the mdProjects2GetStarted.zip file from the MBSEC SysML-Modelica Integration page. The zip file contains two MagicDraw projects (ModelicaImportTest.mdzip: an empty MagicDraw SysML project containing a reference to the SysML4Modelica profile + sysml4modelicaprofile.mdzip: SysMLModelica profile).

  6. Unzip the file and place the MagicDraw projects at the location of your choice. Make sure that both MagicDraw Projects are within the same directory.

  7. Launch the MagicDraw application with administrator rights.

  8. Disable plugin "Caliber Integration" if available through Options->Environment->Plugins.