.OpenModelica.Scripting

Contents

NameDescription
CheckSettingsResultReturn type of checkSettings.
InternalInternal definitions.
checkSettingsDisplay some diagnostics.
loadFileLoads a Modelica file (*.mo).
loadFilesLoads Modelica files (*.mo).
parseEncryptedPackageParses an encrypted package and returns the names of the parsed classes.
loadEncryptedPackageLoads an encrypted package.
reloadClassReloads the file associated with the given loaded class.
loadStringLoads Modelica definitions from a string.
loadClassContentStringLoads class elements from a string and inserts them into the given loaded class.
parseStringParses a string containing Modelica definitions and returns the parsed classes.
parseFileParses a Modelica file and returns the parsed classes.
loadFileInteractiveQualifiedLoads a Modelica file and returns a list of the top-level classes that were loaded.
loadFileInteractiveLoads a Modelica file and returns a list of all loaded top-level classes.
systemSimilar to system(3). Executes the given command in the system shell.
system_parallelSimilar to system(3). Executes the given commands in the system shell, in parallel if omc was compiled using OpenMP.
saveAllSaves the entire loaded AST to file.
helpDisplay the OpenModelica help text.
clearClears loaded classes and user defined variables.
clearProgramClears loaded classes.
clearVariablesClears all user defined variables.
generateHeaderGenerates header file for external MetaModelica functions.
generateJuliaHeaderGenerates a Julia header file for external MetaModelica functions.
generateSeparateCodeGenerates code for a MetaModelica package.
generateSeparateCodeDependenciesGenerates dependencies for a MetaModelica package.
generateSeparateCodeDependenciesMakefileGenerates dependencies Makefile for a MetaModelica package.
getLinkerReturns the linker (LINK) used for simulation code.
setLinkerSets the linker (LINK) used for simulation code.
getLinkerFlagsReturns the linker flags (LDFLAGS) used for simulation code.
setLinkerFlagsSets the linker flags (LDFLAGS) used for simulation code.
getCompilerReturns the C compiler (CC) used for simulation code.
setCompilerSets the C compiler (CC) used for simulation code.
getCFlagsReturns the C compiler flags (CFLAGS) used for simulation code.
setCFlagsSets the C compiler flags (CFLAGS) used for simulation code.
getCXXCompilerReturns the C++ compiler (CXX) used for simulation code.
setCXXCompilerSets the C++ compiler (CXX) used for simulation code.
getSettingsReturns some settings.
setTempDirectoryPathSets the current user temporary directory location.
getTempDirectoryPathReturns the current user temporary directory location.
getEnvironmentVarReturns the value of the given environment variable.
setEnvironmentVarSets the value of the given environment variable.
appendEnvironmentVarAppends a variable to the environment variables list.
setInstallationDirectoryPathSets the OPENMODELICAHOME environment variable.
getInstallationDirectoryPathReturns the installation directory path.
setModelicaPathSets the Modelica library path.
getModelicaPathReturns the Modelica library path.
getHomeDirectoryPathReturns the path to the current user's HOME directory.
setCompilerFlagsSame as setCFlags.
enableNewInstantiationEnables the new (default) instantiation.
disableNewInstantiationDisables the new (default) instantiation.
setDebugFlagsSets compiler debug flags.
clearDebugFlagsResets all debug flags to their default values.
setPreOptModulesSets pre optimization modules for the backend.
setCheapMatchingAlgorithmSets the cheap matching algorithm.
getMatchingAlgorithmReturns the currently used matching algorithm.
getAvailableMatchingAlgorithmsReturns the available matching algorithms.
setMatchingAlgorithmSets the matching algorithm.
getIndexReductionMethodReturns the currently used index reduction method.
getAvailableIndexReductionMethodsReturns the currently available index reduction methods.
setIndexReductionMethodSets the index reduction method.
setPostOptModulesSets post optimization modules for the backend.
getTearingMethodReturns the currently used tearing method.
getAvailableTearingMethodsReturns the available tearing methods.
setTearingMethodSets the tearing method used by the backend.
setCommandLineOptionsSets command line options for the compiler.
getCommandLineOptionsReturns all command line options who have non-default values as a list of strings.
getConfigFlagValidOptionsReturns the list of valid options for a string config flag, and the description strings for these options if available.
clearCommandLineOptionsResets all command line options to their default values.
getVersionReturns the version of the compiler or a Modelica library.
regularFileExistsReturns whether the given file exists or not.
directoryExistsReturns whether the given directory exists or not.
statReturns status for a file.
readFileReturns the contents of a file.
writeFileWrites data to a file.
compareFilesAndMoveOverwrites a file with another if they differ.
compareFilesChecks if two files are equal or not.
alarmSchedules an alarm signal for the process.
regexMatches a string with a regular expression and returns the result.
regexBoolReturns true if the string matches the regular expression.
testsuiteFriendlyNameConverts a filename to a testsuite friendly one.
getErrorStringReturns current error messages.
SourceInfoRecord used to store source location information.
ErrorKindEnumeration used to indicate where an error comes from.
ErrorLevelEnumeration used to indicate error severeness.
ErrorMessageRecord used to store an error message.
getMessagesStringInternalReturns error messages in a machine-readable format.
countMessagesReturns the number of buffered messages.
clearMessagesClears the error buffer.
runScriptRuns the mos-script specified by the filename.
echoTurns interactive output on or off.
getAnnotationVersionReturns the current annotation version.
setAnnotationVersionSets the annotation version.
getNoSimplifyReturns true if noSimplify flag is set.
setNoSimplifySets the noSimplify flag.
getVectorizationLimitReturns the vectorization limit used by the old frontend.
setVectorizationLimitSets the vectorization limit used by the old frontend.
getDefaultOpenCLDeviceReturns the id for the default OpenCL device to be used.
setDefaultOpenCLDeviceSets the default OpenCL device to be used.
setShowAnnotationsSets the value of the --showAnnotations flag.
getShowAnnotationsReturns the value of the --showAnnotations flag.
setOrderConnectionsSets the orderConnection flag.
getOrderConnectionsReturns true if orderConnections flag is set.
setLanguageStandardSets the Modelica Language Standard.
getLanguageStandardReturns the current Modelica Language Standard in use.
getAstAsCorbaStringReturns the AST in CORBA format.
cdChanges the working directory.
mkdirCreates a directory.
copyCopies a file.
removeRemoves a file or directory.
checkModelChecks a model and returns the number of variables and equations.
checkAllModelsRecursiveChecks all models recursively and returns number of variables and equations.
typeOfReturns the type of an interactive variable.
instantiateModelInstantiates a model and returns the flattened model.
generateCodeGenerates code for a function.
loadModelLoads a Modelica library.
deleteFileDeletes a file with the given name.
saveModelSaves a loaded model to the given file.
saveTotalModelSaves a model and dependencies to a single file.
saveTotalModelDebugSaves a model and dependencies to a single file using a heuristic.
saveSaves a class to the file(s) it's defined in.
saveTotalSCodeAlias for saveTotalModel
translateGraphicsTranslates old graphical annotations to Modelica standard annotations.
codeToStringConverts a $Code expression to a string.
dumpXMLDAEOutputs the DAE system corresponding to a specific model.
convertUnitsGets conversion factors for two units.
getDerivedUnitsReturns the list of derived units for the specified base unit.
listVariablesLists the names of the active variables in the scripting environment.
strtokSplits a string at the places given by the token.
stringSplitSplits a string at the places given by the character
stringReplaceReplaces all occurrences of a token with another token in a string.
escapeXMLReplaces characters in a string with XML escape characters.
ExportKindEnumeration used by list to configure the output.
listLists the contents of the given class, or all loaded classes.
listFileLists the contents of the file given by the class.
DiffFormatEnumeration used by diffModelicaFileListings to configure the output format.
diffModelicaFileListingsCreates diffs of two strings corresponding to Modelica files
exportToFigaroExports a model to a Figaro database.
inferBindingsUpdate bindings for a verification model.
generateVerificationScenariosGenerate scenarios for a verification model.
rewriteBlockCallFunction for property modeling, transforms block calls into instantiations for a loaded model
realpathGet full path name of file or directory name
uriToFilenameConverts a URI to a filename.
getLoadedLibrariesReturns the loaded libraries.
solveLinearSystemSolve A*X = B using dgesv.
StandardStreamEnumeration for standard streams.
reopenStandardStreamChanges which file is associated with a standard stream.
importFMUImports a Functional Mockup Unit.
importFMUModelDescriptionImports modelDescription.xml
translateModelFMUDeprecated: Translates a model into C code for a FMU without building it.
buildModelFMUTranslates a Modelica model into a Functional Mockup Unit.
buildEncryptedPackageBuilds an encrypted package for a class.
simulateSimulates a model.
translateModelTranslates a modelica model into C code without building it.
buildModelTranslates a Modelica model into C code and builds a simulation executable.
buildLabelCalls buildModel with the --generateLabeledSimCode flag enabled.
reduceTermsCalls buildModel with the --reduceTerms flag enabled.
createModelCreates a new empty model.
newModelCreates a new empty model in the given package.
moveClassMoves a class up or down in a package.
moveClassToTopMoves a class to the top of its enclosing class.
moveClassToBottomMoves a class to the bottom of its enclosing class.
copyClassCopies a class within the same level.
renameClassRenames a class and updates references to it.
deleteClassUnloads a class.
refactorClassUpdates old graphical annotations to Modelica standard ones in a class.
linearizeCreates a model with symbolic linearization matrices.
optimizeGenerates an optimization executable for a Modelica/Optimica model and runs it.
getSourceFileReturns the filename of the class.
setSourceFileSets the filename for a class.
isShortDefinitionReturns true if the given class is defined as a short class.
setClassCommentSets a class comment.
getIconAnnotationReturns the Icon annotation for a given class.
getDiagramAnnotationReturns the Diagram annotation for a given class.
refactorIconAnnotationUpdates an old Icon annotation to a Modelica standard one in the given class.
refactorDiagramAnnotationUpdates an old Diagram annotation to a Modelica standard one in the given class.
getClassNamesReturns the list of class names defined in the class.
getUsedClassNamesReturns the list of class names used in the total program defined by the class.
getPackagesReturns the list of packages defined in the class.
getAllSubtypeOfReturns the list of all classes that extend from className given a parentClass where the lookup for className should start
plotDisplays a plot with selected variables using OMPlot.
plotAllDisplays a plot with all variables using OMPlot.
plotParametricDisplays a parametric plot with two variables using OMPlot.
readSimulationResultReads a result file, returning a matrix corresponding to the variables and size given.
readSimulationResultSizeReturns the number of intervals that are present in the output file.
readSimulationResultVarsReturns the variables in a simulation results file.
filterSimulationResultsCreates a simulation results file with selected variables.
compareSimulationResultsCompares simulation results.
deltaSimulationResultsCalculates the sum of absolute errors.
diffSimulationResultsCompares simulation results.
diffSimulationResultsHtmlCompares simulation results and generates an HTML report.
checkTaskGraphChecks if the given taskgraph has the same structure as the reference taskgraph and if all attributes are set correctly.
checkCodeGraphChecks if the given taskgraph has the same structure as the graph described in the codefile.
valReturn the value of a variable at a given time in the simulation results
closeSimulationResultFileCloses the current simulation results file.
addClassAnnotationAdds an annotation to a class.
addComponentAdds a component to the given class.
updateComponentUpdates an existing component.
deleteComponentDeletes a component from the given class.
renameComponentRenames a component and updates references to it.
renameComponentInClassRenames a component in a class.
getParameterNamesReturns the names of all parameters in a given class.
getParameterValueReturns the value of a parameter of the class.
setParameterValueSets the binding equation of a component.
getNthComponentReturns the type, name, and description string of the n:th component in the given class.
getComponentsReturns information about the component in a given class.
getElementsReturns information about the elements in a given class.
getElementsInfoReturns information about the elements in a given class.
getComponentModifierNamesReturns the list of class component modifiers.
getComponentModifierValueReturns the binding equation of a component.
getComponentModifierValuesReturns the modifier for a component.
removeComponentModifiersRemoves the component modifiers.
getElementModifierNamesReturns the list of element (component or short class) modifiers in a class.
getExtendsModifierNamesReturns the names of the modifiers on an extends clause.
setComponentModifierValueDeprecated; alias for setElementModifierValue.
setElementModifierValueSets a modifier on an element in a class definition.
getElementModifierValueReturns the binding equation for an element.
getElementModifierValuesReturns the modifier for an element.
removeElementModifiersRemoves the element (component or short class) modifiers.
getExtendsModifierValueReturns the modifier value for a modifier on an extends clause.
setExtendsModifierValueSets a modifier on an element in an extends clause in a class.
setExtendsModifierSets a modifier on an extends clause in a class definition.
isExtendsModifierFinalReturns whether a modifier on an extends clause is final or not.
getComponentCountReturns the number of components in a class.
getNthComponentAnnotationReturns the annotation for the n:th component in the given class.
getNthComponentModificationReturns the modification for the n:th component in the given class.
getNthComponentConditionReturns the condition for the n:th component in the given class as a string.
getElementAnnotationReturns the annotation on a component or class element as a string.
setElementAnnotationSets the annotation on a component or class element.
setElementTypeChanges the type of a component or short class element.
getInstantiatedParametersAndValuesReturns the top-level parameter names and values from the DAE.
getComponentAnnotationsReturns the annotations of the components in the given class.
getElementAnnotationsReturns the annotations of the components and short class definitions in the given class.
removeExtendsModifiersRemoves the extends modifiers of a class.
getComponentCommentReturns the comment on a component.
setComponentCommentSets the comment on a component.
setComponentDimensionsSets the array dimensions of a component.
setComponentPropertiesSets the properties of a component in a class.
getNthConnectorReturns the name and type of the n:th public connector in the given class.
getNthConnectorIconAnnotationReturns the Icon annotation from the type of the n:th public connector in the given class.
getConnectorCountReturns the number of public connectors in the given class.
addConnectionAdds a connection to the given class.
deleteConnectionDeletes a connection in the given class.
updateConnectionUpdates the connection annotation in the class.
updateConnectionAnnotationUpdates the connection annotation in the class.
setConnectionCommentSets the description string on a connect equation in the given class.
updateConnectionNamesUpdates the connection connector names in the class.
getConnectionCountCounts the number of connect equation in a class.
getNthConnectionReturns the n:th connection.
getNthConnectionAnnotationReturns the annotation of the n:th connect clause in the class.
getConnectionListReturns an list of all connect equations including those within loops
getAlgorithmCountCounts the number of algorithm sections in a class.
getNthAlgorithmReturns the n:th algorithm section in a class.
getInitialAlgorithmCountCounts the number of initial algorithm sections in a class.
getNthInitialAlgorithmReturns the n:th initial algorithm section in a class.
getAlgorithmItemsCountCounts the number of algorithm statements in a class.
getNthAlgorithmItemReturns the n:th algorithm statement in a class.
getInitialAlgorithmItemsCountCounts the number of initial algorithm statements in a class.
getNthInitialAlgorithmItemReturns the n:th initial algorithm statement in a class.
getEquationCountCounts the number of equation sections in a class.
getNthEquationReturns the n:th equation section in a class.
getInitialEquationCountCounts the number of initial equation sections in a class.
getNthInitialEquationReturns the n:th initial equation section in a class.
getEquationItemsCountCounts the number of equations in a class.
getNthEquationItemReturns the n:th equation in a class.
getInitialEquationItemsCountCounts the number of initial equations in a class.
getNthInitialEquationItemReturns the n:th initial equation in a class.
getAnnotationCountCounts the number of annotation sections in a class.
getNthAnnotationStringReturns the n:th annotation section as string.
getImportCountCounts the number of import-clauses in a class.
getMMfileTotalDependenciesReturns imports for a MetaModelica package.
getImportedNamesReturns the definition names of all import-clauses in a class.
getNthImportReturns the n:th import-clause.
iconvConverts a string from one character encoding to another.
getDocumentationAnnotationReturns the Documentation annotation defined in the class.
setDocumentationAnnotationSets the Documentation annotation in a class.
getTimeStampReturns the timestamp for a class.
stringTypeNameConstructs a TypeName from a string.
stringVariableNameConstructs a VariableName from a string.
typeNameStringConverts a TypeName to a string.
typeNameStringsConverts a TypeName to a list of strings.
getClassCommentReturns a class's comment.
dirnameReturns the directory name of a file path.
basenameReturns the base name (file part) of a file path.
existClassReturns whether the given class exists or not.
existModelReturns whether the given model exists or not.
existPackageReturns whether the given package exists or not.
getClassRestrictionReturns the restriction of the given class.
isTypeChecks if a given class is a type.
isPackageChecks if a given class is a package.
isClassChecks if a given class is a class.
isRecordChecks if a given class is a record.
isBlockChecks if a given class is a block.
isFunctionChecks if a given class is a function.
isPartialChecks if a given class is partial.
isReplaceableChecks if a given element is replaceable.
isRedeclareChecks if a given element is a redeclare element.
isModelChecks if a given class is a model.
isConnectorChecks if a given class is a connector or expandable connector.
isOptimizationChecks if a given class is an optimization.
isEnumerationChecks if a given class is an enumeration.
isOperatorChecks if a given class is an operator.
isOperatorRecordChecks if a given class is an operator record.
isOperatorFunctionChecks if a given class is an operator function.
isProtectedClassReturns true if the given class c1 has class c2 as one of its protected class.
getBuiltinTypeReturns the builtin type e.g Real, Integer, Boolean & String of the class.
isPrimitiveChecks if a type is primitive.
isParameterChecks whether a component in a class is a parameter.
isConstantChecks if a component in a class is a constant.
isProtectedChecks if a component in a class is protected.
setInitXmlStartValueSets the start value for a variable in an initialization file.
ngspicetoModelicaConverts ngspice netlist to Modelica code.
getInheritanceCountReturns the numbers of extends clauses in the given class.
getInheritedClassesReturns the list of inherited classes in a class.
getNthInheritedClassReturns the name of the n:th inherited class in the given class.
getNthInheritedClassIconMapAnnotationReturns the IconMap annotation for the n:th inherited class in the given class.
getNthInheritedClassDiagramMapAnnotationReturns the IconMap annotation for the n:th inherited class in the given class.
getComponentsTestReturns an array of records with information about the components of the given class.
isExperimentChecks if a class is an experiment.
getSimulationOptionsReturns the startTime, stopTime, tolerance, and interval based on the experiment annotation.
getAnnotationNamedModifiersReturns the names of the modifiers in the given annotation.
getAnnotationModifierValueReturns the value for a modifier in the given annotation.
classAnnotationExistsChecks if an annotation exists in a class.
getBooleanClassAnnotationChecks if an annotation exists and returns its value
getNamedAnnotationReturns the value of the annotation with the given name in the given class.
extendsFromReturns true if the given class extends from the given base class.
loadModelica3DLoads Modelica3D.
searchClassNamesSearches for a string in the loaded classes.
getAvailableLibrariesReturns a list of all available libraries.
getAvailableLibraryVersionsReturns the installed versions of a library.
installPackageInstalls a package.
updatePackageIndexUpdates the package index.
getAvailablePackageVersionsReturns the versions that provide the requested version of the library.
getAvailablePackageConversionsToReturns the versions that provide conversion to the requested version of the library.
getAvailablePackageConversionsFromReturns the versions that provide conversion from the requested version of the library.
upgradeInstalledPackagesUpgrades installed packages.
getUsesReturns the libraries used by a package.
getConversionsFromVersionsReturns the versions this library can convert from with and without conversions.
getDerivedClassModifierNamesReturns a derived class's modifier names.
getDerivedClassModifierValueReturns a derived class's modifier value.
generateEntryPointGenerates an entry point for a MetaModelica program.
numProcessorsReturns the number of available processors or threads.
runScriptParallelRuns multiple scripts in parallel.
exitForces omc to quit with the given exit status.
threadWorkFailedExits the current thread with a failure.
getMemorySizeReturns the amount of system memory.
GC_gcollect_and_unmapForces the GC to collect and unmap memory.
GC_expand_hpForces the GC to expand the heap to accomodate more data.
GC_set_max_heap_sizeForces the GC to limit the maximum heap size.
GC_PROFSTATSReturn type for GC_get_prof_stats.
GC_get_prof_statsReturns a record with the GC statistics.
checkInterfaceOfPackagesChecks the interfaces of MetaModelica packages.
sortStringsSorts a string array in ascending order.
getClassInformationReturns information about a class.
getCrefInfoDeprecated; use getClassInformation instead.
getDefaultComponentNameReturns the default component name for a class.
getDefaultComponentPrefixesReturns the default component prefixes for a class.
getShortDefinitionBaseClassInformationReturns information about a short class definition.
getExternalFunctionSpecificationReturns information about a function's external specification.
getEnumerationLiteralsReturns the literals for a given enumeration type.
getTransitionsReturns list of transitions for the given class.
addTransitionAdds a transition to a class.
deleteTransitionDeletes a transition from a class.
updateTransitionUpdates a transition in a class.
getInitialStatesReturns a list of initial states in a class.
addInitialStateAdds an initial state to a class.
deleteInitialStateDeletes an initial state in a class.
updateInitialStateUpdates an initial state in a class.
generateScriptingAPIGenerates the scripting API.
runConversionScriptRuns a conversion script on a selected package.
convertPackageToLibraryRuns the conversion script for a library on a selected package.
getModelInstanceDumps a model instance as a JSON string.
getModelInstanceAnnotationDumps the annotation of a model using the same JSON format as getModelInstance.
modifierToJSONParses a modifier given as a string and dumps it as JSON.
storeASTStores the AST and returns an id that can be used to restore it with restoreAST.
restoreASTRestores an AST that was previously stored with storeAST.
qualifyPathReturns the fully qualified path for the given path in a class.
getDefinitionsDumps the defined packages, classes, and optionally functions to a string.
oms_systemOMSimulator enumeration for system type.
oms_causalityOMSimulator enumeration for casuality.
oms_signal_typeOMSimulator enumeration for signal type.
oms_solverOMSimulator enumeration for solvers.
oms_tlm_domainOMSimulator enumeration for TLM domains.
oms_tlm_interpolationOMSimulator enumeration for TLM interpolation methods.
oms_fault_typeOMSimulator enumeration for fault types.
loadOMSimulatorLoads the OMSimulator DLL from the default path.
unloadOMSimulatorFrees the OMSimulator instances.
oms_addBusOMSimulator: Adds a bus to a given component.
oms_addConnectionAdds a new connection between connectors A and B.
oms_addConnectorAdds a connector to a given component.
oms_addConnectorToBusAdds a connector to a bus.
oms_addConnectorToTLMBusAdds a connector to a TLM bus.
oms_addDynamicValueIndicatorAdds a dynamic value indicator.
oms_addEventIndicatorAdds an event indicator.
oms_addExternalModelAdds an external model to a TLM system.
oms_addSignalsToResultsAdds all variables that match the given regex to the result file.
oms_addStaticValueIndicatorAdds a static value indicator.
oms_addSubModelAdds a component to a system.
oms_addSystemAdds a (sub-)system to a model or system.
oms_addTimeIndicatorAdds a time indicator.
oms_addTLMBusAdds a TLM bus.
oms_addTLMConnectionConnects two TLM connectors.
oms_compareSimulationResultsCompares a given signal in two result files.
oms_copySystemCopies a system.
oms_deleteDeletes a connector, component, system, or model object.
oms_deleteConnectionDeletes the connection between two connectors.
oms_deleteConnectorFromBusDeletes a connector from a given bus.
oms_deleteConnectorFromTLMBusDeletes a connector from a given TLM bus.
oms_exportExports a composite model to a SPP file.
oms_exportDependencyGraphsExports the dependency graphs of a given model to dot files.
oms_exportSnapshotLists the SSD representation of a given model, system, or component.
oms_extractFMIKindExtracts the FMI kind of a given FMU from the file system.
oms_getBooleanGet boolean value of a given signal.
oms_getFixedStepSizeGets the fixed step size.
oms_getIntegerGet integer value of a given signal.
oms_getModelStateGets the model state of the given model cref.
oms_getRealGet real value.
oms_getSolverGets the selected solver method of the given system.
oms_getStartTimeGets the start time from the model.
oms_getStopTimeGets the stop time from the model.
oms_getSubModelPathReturns the path of a given component.
oms_getSystemTypeGets the type of a given system.
oms_getToleranceGets the tolerance of a given system or component.
oms_getVariableStepSizeGets the step size parameters.
oms_faultInjectionDefines a new fault injection block.
oms_importFileImports a composite model from a SSP file.
oms_importSnapshotLoads a snapshot to restore a previous model state.
oms_initializeInitializes a composite model.
oms_instantiateInstantiates a given composite model.
oms_listLists the SSD representation of a given model, system, or component.
oms_listUnconnectedConnectorsLists all unconnected connectors of a given system.
oms_loadSnapshotLoads a snapshot to restore a previous model state.
oms_newModelCreates a new composite model.
oms_removeSignalsFromResultsRemoves all variables that match the given regex from the result file.
oms_renameRenames a model, system, or component.
oms_resetReset the composite model after a simulation run.
oms_RunFileSimulates a single FMU or SSP model.
oms_setBooleanSets the value of a given boolean signal.
oms_setCommandLineOptionSets special flags.
oms_setFixedStepSizeSets the fixed step size.
oms_setIntegerSets the value of a given integer signal.
oms_setLogFileRedirects logging output to file or std streams.
oms_setLoggingIntervalSets the logging interval of the simulation.
oms_setLoggingLevelEnables/disables debug logging.
oms_setRealSets the value of a given real signal.
oms_setRealInputDerivativeSets the first order derivative of a real input signal.
oms_setResultFileSets the result file of the simulation.
oms_setSignalFilterSets a signal filter.
oms_setSolverSets the solver method for the given system.
oms_setStartTimeSets the start time of the simulation.
oms_setStopTimeSets the stop time of the simulation.
oms_setTempDirectorySets new temp directory.
oms_setTLMPositionAndOrientationSets initial position and orientation for a TLM 3D interface.
oms_setTLMSocketDataSets data for TLM socket communication.
oms_setToleranceSets the tolerance for a given model or system.
oms_setVariableStepSizeSets the step size parameters for methods with stepsize control.
oms_setWorkingDirectorySets a new working directory.
oms_simulateSimulates a composite model.
oms_stepUntilSimulates a composite model until a given time value.
oms_terminateTerminates a given composite model.
oms_getVersionReturns the version of the OMSimulator.
ExperimentalPackage with experimental features.

Generated at 2025-04-16T18:20:25Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos