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 ๐Ÿšจ โ€” modelicac is only available on the platforms which are supported by ocamlopt, aka amd64, 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, modelicac produces a "*.moc" file, iconic behaviour honestly.
  • -o <outputfile> โ€” set the output file name to <outputfile> โœจ (this option also works with the -c option, 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 #include directives 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