ModelicaCC is a Modelica C Compiler implemented in C++, the main goal of this project is to provide an environment to develop and test novel algorithms involved in the different compilation stages of large scale Modelica models. The different stages of the compilation pipeline follows the usual order:
The input/output of each stage are valid Modelica models (except for the very last stage which produce C code). Each stage converts the Modelica model fed as input into a “simpler” equivalent one. As the compiler uses the QSS Solver for the C code generation and simulation, the goal of the previous stages is to obtain a valid μ–Modelica model.
The following tools are generated:
[1] Federico Bergero, Mariano Botta, Esteban Campostrini, Ernesto Kofman. Efficient Compilation of Large Scale Dynamical Systems Proceedings of the 11th International Modelica Conference 2015
[2] Pablo Zimmermann, Joaquin Fernandez, Ernesto Kofman. Set-based graph methods for fast equation sorting in large DAE systems EOOLT '19: Proceedings of the 9th International Workshop on Equation-based Object-oriented Modeling Languages and Tools 2019
These are generic installation instructions.
In order to be able to install and compile ModelicaCC, the following dependencies must be installed:
* autoconf 2.69 (avoid 2.71)
* boost1.71
* cmake
* doxygen
* g++
* libginac-dev
* make
The simplest way to compile this package is:
cd
to the directory containing the package's source code and type
autoconf
to generate the configuration scripts.
Type ./configure
to run the configuration script.
Type make
to compile all the binaries. The different tools are located
in the bin folder.
You can remove the program binaries and object files from the
source code directory by typing make clean
.
Please see the file called LICENSE.
Report bugs to: fernandez@cifasis-conicet.gov.ar