Scroll to navigation

modelicac(1) General Commands Manual modelicac(1)

NAME

modelicac - modelicac is a compiler for a subset of the Modelica language including parts of the 'equation' subset that can express relations between Real variable.

SYNOPSIS

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 ]

This manual page documents briefly the modelicac commands. Note that modelicac is only available on the platform which are supported by ocamlopt (ie amd64 hurd-i386 i386 powerpc sparc)

OPTIONS

A complete list of options is included below.

Compile only, do not instantiate. Modelicac produces a "*.moc" file when invoked with that option.
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).
Add <directory> to the list of directories to be searched when producing a C file (no effect when used with -c).
Specify a path to be added to #include directives in the generated C code.

Do not remove any variable from the initial system.
Generate analytic jacobian matrix code.
Do not remove any parameter
Same as -keep-all-variables -no-parameter-removal
Generate code only for declared outputs (may have no effect depending on target)
Generate tracing information for external function calls into <filename>
Generate initialization code and use the given file to get input data (may have no effect depending on target)
Generate initialization code and use the given file to generate output data (may have no effect depending on target)
Generate an XML version of the model instead of target code

AUTHOR

Modelicac was written by TNI-Valiosys and Imagineby.

This manual page was written by Sylvestre Ledru <sylvestre@debian.org>, and updated by Julien Puydt.

November 22, 2017