.TH "modelicac" "1" "November 22, 2017" .SH 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. .SH SYNOPSIS \fBmodelicac\fR [\fB-c\fR] [\fB-o\fR ] [\fB-L\fR | \fB-hpath\fR | \fB-keep-all-variables\fR | \fB-jac\fR | \fB-no-parameter-removal\fR | \fB-no-simplifs\fR | \fB-only-outputs\fR | \fB-trace\fR | \fB-with-init-in\fR | \fB-with-init-out\fR | \fB-xml\fR ] This manual page documents briefly the .B modelicac commands. Note that modelicac is only available on the platform which are supported by ocamlopt (ie amd64 hurd-i386 i386 powerpc sparc) .PP .SH OPTIONS A complete list of options is included below. .TP .B \-c Compile only, do not instantiate. Modelicac produces a "*.moc" file when invoked with that option. .TP .B \-o Set output file name to (this option also works with \-c option but is somewhat useless because of the class name restrictions given above). .TP .B \-L Add to the list of directories to be searched when producing a C file (no effect when used with \-c). .TP .B \-hpath Specify a path to be added to #include directives in the generated C code. .TP .B \-keep-all-variables Do not remove any variable from the initial system. .TP .B \-jac Generate analytic jacobian matrix code. .TP .B \-no-parameter-removal Do not remove any parameter .TP .B \-no-simplifs Same as \-keep\-all\-variables \-no\-parameter\-removal .TP .B \-only-outputs Generate code only for declared outputs (may have no effect depending on target) .TP .B \-trace Generate tracing information for external function calls into .TP .B \-with-init-in Generate initialization code and use the given file to get input data (may have no effect depending on target) .TP .B \-with-init-out Generate initialization code and use the given file to generate output data (may have no effect depending on target) .TP .B \-xml Generate an XML version of the model instead of target code .SH AUTHOR Modelicac was written by TNI-Valiosys and Imagineby. .PP This manual page was written by Sylvestre Ledru , and updated by Julien Puydt.