modelicac(1)
โจ NAME โจ
okay so bestie, let me introduce you to modelicac ๐ โ she's a compiler for a subset of the Modelica language, including parts of the 'equation' subset that can express relations between Real variables. yes ma'am, that's the whole vibe ๐
๐ฆ 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, no cap ๐
heads up bestie ๐จ โmodelicacis only available on the platforms which are supported byocamlopt, akaamd64,hurd-i386,i386,powerpc,sparc. so if your machine isn't one of those five, she simply cannot come to the function ๐ญ
๐ OPTIONS ๐
A complete list of options is included below. like, the full list. we're not skipping a single one, periodt ๐
-cโ compile only, do not instantiate ๐ when you hit her with this option,modelicacproduces a"*.moc"file, iconic behaviour honestly.-o<outputfile>โ set the output file name to<outputfile>โจ (this option also works with the-coption, but it's somewhat useless because of the class name restrictions given above โ so, lowkey pointless there, but she'll still let you do it ๐).-L<directory>โ add<directory>to the list of directories to be searched when producing a C file ๐ (no effect when used with-c, so don't bother).-hpath<directory>โ specify a path to be added to#includedirectives in the generated C code ๐.-keep-all-variablesโ do not remove any variable from the initial system ๐ซถ nothing gets yeeted.-jacโ generate analytic jacobian matrix code ๐งฎ math girlies rise.-no-parameter-removalโ do not remove any parameter ๐ซ.-no-simplifsโ same as-keep-all-variables -no-parameter-removal, literally the exact same thing, two-for-one combo meal ๐.-only-outputsโ generate code only for declared outputs โจ (may have no effect depending on target, so vibe check your target first).-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 ๐ slay.
๐ 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. ๐ซถ
and that's the whole page bestie, no notes ๐
sign-off time ๐ โ this lil doc is part of the General Commands Manual, dated November 22, 2017, and yeah, the page itself is just modelicac(1) ๐ thanks for reading, ily, go compile something gorgeous โจ๐๐ฆ
๐ฆ where this page comes from
- debian bookworm: scilab-full-bin 6.1.1+dfsg2-6 ยท GPL-2.0-or-later
- debian trixie: scilab-full-bin 2024.1.0+dfsg-6+deb13u1 ยท GPL-2.0-only OR CECILL-2.1
- ubuntu jammy: scilab-full-bin 6.1.1+dfsg2-3ubuntu1 ยท GPL-2.0-or-later
- ubuntu noble: scilab-full-bin 2024.0.0+dfsg-5build3 ยท GPL-2.0-only OR CECILL-2.1
- ubuntu questing: scilab-full-bin 2024.1.0+dfsg-7ubuntu1
- ubuntu resolute: scilab-full-bin 2024.1.0+dfsg1-2 ยท GPL-2.0-only OR CECILL-2.1
- ubuntu stonking: scilab-full-bin 2024.1.0+dfsg1-3build1 ยท GPL-2.0-only OR CECILL-2.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms