Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MagLev_MagLev.Examples.SteadyStateCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.1.0-main/package.mo", uses=false) Using package MagLev with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") translateModel(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001472, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.1.0-main/package.mo): time 0.153/0.153, allocations: 3.907 MB / 294.9 MB, free: 4.164 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003061, allocations: 8 kB / 356.8 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.111, allocations: 51.36 MB / 408.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001618/0.1127, allocations: 1.254 MB / 409.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1137, allocations: 0.8226 MB / 410.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.1138, allocations: 0 / 410.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.1143, allocations: 151.4 kB / 410.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.621e-05/0.1144, allocations: 59.2 kB / 410.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.417e-05/0.1144, allocations: 3.984 kB / 410.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1145, allocations: 95.78 kB / 410.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.1146, allocations: 5.125 kB / 410.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.1147, allocations: 51.83 kB / 410.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1148, allocations: 67.67 kB / 410.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1148, allocations: 11.94 kB / 410.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.863e-05/0.1149, allocations: 8 kB / 410.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.1149, allocations: 19.91 kB / 410.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.115, allocations: 41.64 kB / 410.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.009e-05/0.1151, allocations: 72.09 kB / 410.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1151, allocations: 0 / 410.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1151, allocations: 0 / 410.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1151, allocations: 0 / 410.8 MB, free: 13.21 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007576/0.1158, allocations: 449 kB / 411.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1159, allocations: 8.031 kB / 411.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.116, allocations: 27.75 kB / 411.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1162, allocations: 223.8 kB / 411.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1162, allocations: 4 kB / 411.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1162, allocations: 0 / 411.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.1164, allocations: 53.62 kB / 411.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1164, allocations: 0 / 411.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1164, allocations: 0 / 411.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1164, allocations: 4 kB / 411.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.62e-05/0.1165, allocations: 23.94 kB / 411.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.1169, allocations: 308.9 kB / 411.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.1172, allocations: 54.61 kB / 411.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.1172, allocations: 3.938 kB / 411.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1172, allocations: 34.56 kB / 411.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1172, allocations: 0 / 411.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001893/0.1174, allocations: 81.53 kB / 412 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1175, allocations: 51.41 kB / 412.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1177, allocations: 228.8 kB / 412.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1177, allocations: 29.64 kB / 412.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.1178, allocations: 124 kB / 412.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.1178, allocations: 7.906 kB / 412.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.1179, allocations: 0 / 412.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.118, allocations: 330.8 kB / 412.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.118, allocations: 7.938 kB / 412.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.118, allocations: 8 kB / 412.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.1181, allocations: 12 kB / 412.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1181, allocations: 0 / 412.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001044/0.1182, allocations: 77.44 kB / 412.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1182, allocations: 8 kB / 412.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1182, allocations: 0 / 412.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1183, allocations: 0 / 412.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1184, allocations: 19.94 kB / 412.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1184, allocations: 3.984 kB / 412.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.1185, allocations: 0 / 412.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1185, allocations: 4 kB / 412.9 MB, free: 10.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.975e-05/0.1186, allocations: 117.8 kB / 413 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.1187, allocations: 11.81 kB / 413 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.1187, allocations: 24.92 kB / 413.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1187, allocations: 4 kB / 413.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1187, allocations: 3.953 kB / 413.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1187, allocations: 192 / 413.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.119, allocations: 205.6 kB / 413.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.119, allocations: 0 / 413.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.1191, allocations: 15.97 kB / 413.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1191, allocations: 3.984 kB / 413.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1191, allocations: 0 / 413.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1191, allocations: 4 kB / 413.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1191, allocations: 0 / 413.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.1193, allocations: 167.5 kB / 413.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.1193, allocations: 100.8 kB / 413.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.1194, allocations: 4 kB / 413.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1195, allocations: 11.92 kB / 413.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.1196, allocations: 4 kB / 413.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1196, allocations: 0 / 413.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.1197, allocations: 180.5 kB / 413.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1198, allocations: 4 kB / 413.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.12, allocations: 19.95 kB / 413.8 MB, free: 9.891 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.901e-05/0.1201, allocations: 91.25 kB / 413.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.1202, allocations: 31.98 kB / 413.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1202, allocations: 0 / 413.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.894e-05/0.1202, allocations: 23.86 kB / 413.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1205, allocations: 8 kB / 413.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.1212, allocations: 347.1 kB / 414.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1215, allocations: 0.716 MB / 415 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.391e-05/0.1215, allocations: 12.42 kB / 415 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.1216, allocations: 11.44 kB / 415 MB, free: 8.594 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1216, allocations: 0 / 415 MB, free: 8.594 MB / 350.1 MB Notification: Performance of Templates: time 0.003443/0.125, allocations: 1.177 MB / 416.2 MB, free: 7.418 MB / 350.1 MB make -j1 -f MagLev_MagLev.Examples.SteadyStateCharacteristic.makefile Environment - environmentSimulation: (rm -f MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; mkfifo MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; head -c 1048576 < MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe >> ../files/MagLev_MagLev.Examples.SteadyStateCharacteristic.sim & ./MagLev_MagLev.Examples.SteadyStateCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1) Environment - environmentSimulation: