modelicac1
Modelicac is a compiler for a subset of the modelica language including parts of the 'equation' subset that can express relations between real variable.
Usage
modelicac [-c]
[-o
<outputfile>]
<inputfile>
[{-L
<directory> | -hpath
<directory> | -keep-all-variables | -jac | -no-parameter-removal | -no-simplifs | -only-outputs | -trace
<filename> | -with-init-in
<init_input_file> | -with-init-out
<init_output_file> | -xml}]
Options
A complete list of options is included below.
-
-c -
Compile only, do not instantiate. Modelicac produces a "*.moc" file when invoked with that option.
-
-o <outputfile> -
Set output file name to <outputfile> (this option also works with -c option but is somewhat useless because of the class name restrictions given above).
-
-L <directory> -
Add <directory> to the list of directories to be searched when producing a C file (no effect when used with -c).
-
-hpath <directory> -
Specify a path to be added to #include directives in the generated C code.
-
-keep-all-variables -
Do not remove any variable from the initial system.
-
-jac -
Generate analytic jacobian matrix code.
-
-no-parameter-removal -
Do not remove any parameter
-
-no-simplifs -
Same as -keep-all-variables -no-parameter-removal
-
-only-outputs -
Generate code only for declared outputs (may have no effect depending on target)
-
-trace <filename> -
Generate tracing information for external function calls into <filename>
-
-with-init-in <init_input_file> -
Generate initialization code and use the given file to get input data (may have no effect depending on target)
-
-with-init-out <init_output_file> -
Generate initialization code and use the given file to generate output data (may have no effect depending on target)
-
-xml -
Generate an XML version of the model instead of target code
History
- Debian 13 (Trixie) to Debian 10 (Buster): the text shown here
- Debian 9 (Stretch) to Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
-only-outputs since Debian 10 (Buster);
-with-init-in since Debian 10 (Buster);
-with-init-out since Debian 10 (Buster).