-
Notifications
You must be signed in to change notification settings - Fork 6
Instructions to install and execute the roundtrip SysML Modelica transformation
-
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.
-
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.
-
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).
-
Place the unzipped folders in the plugins folder of your MagicDraw installation directory (e.g. in C:/Program Files/MagicDraw UML/plugins).
-
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).
-
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.
-
Launch the MagicDraw application with administrator rights.
-
Disable plugin "Caliber Integration" if available through Options->Environment->Plugins.