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.3.0-main/package.mo", uses=false) Using package MagLev with version 2.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.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.001736/0.001736, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00236/0.00236, allocations: 197.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.1553/0.1553, allocations: 4.224 MB / 294.2 MB, free: 3.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 355.4 MB, free: 3.426 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1019, allocations: 50.46 MB / 405.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002742/0.1047, allocations: 1.686 MB / 407.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1059, allocations: 0.8605 MB / 408.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.106, allocations: 0 / 408.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.1065, allocations: 165.4 kB / 408.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.826e-05/0.1066, allocations: 51.75 kB / 408.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.628e-05/0.1066, allocations: 7.984 kB / 408.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1068, allocations: 135.3 kB / 408.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.1068, allocations: 9.125 kB / 408.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.1069, allocations: 47.78 kB / 408.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.107, allocations: 71.61 kB / 408.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.107, allocations: 4 kB / 408.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.1071, allocations: 12 kB / 408.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.1071, allocations: 23.84 kB / 408.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.1072, allocations: 51.66 kB / 409 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.1073, allocations: 103.7 kB / 409.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1073, allocations: 0 / 409.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1073, allocations: 0 / 409.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.1073, allocations: 0 / 409.1 MB, free: 13.69 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.0007798/0.1081, allocations: 462.7 kB / 409.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1082, allocations: 8.031 kB / 409.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.1082, allocations: 16.75 kB / 409.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1084, allocations: 236.9 kB / 409.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1085, allocations: 12.3 kB / 409.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1085, allocations: 384 / 409.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.947e-05/0.1086, allocations: 50 kB / 409.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1086, allocations: 0 / 409.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1086, allocations: 0 / 409.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1086, allocations: 4 kB / 409.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.1087, allocations: 23.97 kB / 409.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.1091, allocations: 320.7 kB / 410.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.1094, allocations: 58.55 kB / 410.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.1095, allocations: 16.86 kB / 410.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1095, allocations: 0 / 410.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1095, allocations: 34.56 kB / 410.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.1095, allocations: 0 / 410.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001801/0.1097, allocations: 69.58 kB / 410.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.1097, allocations: 55.34 kB / 410.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.11, allocations: 228.8 kB / 410.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.11, allocations: 33.7 kB / 410.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.1101, allocations: 112 kB / 410.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.1101, allocations: 11.81 kB / 410.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.1101, allocations: 21.7 kB / 410.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.1102, allocations: 326.8 kB / 411.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.03e-05/0.1103, allocations: 4 kB / 411.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.1103, allocations: 12 kB / 411.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.686e-05/0.1104, allocations: 32.78 kB / 411.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1104, allocations: 3.938 kB / 411.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001051/0.1105, allocations: 73.59 kB / 411.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.1105, allocations: 7.938 kB / 411.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.1105, allocations: 192 / 411.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1105, allocations: 0 / 411.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1107, allocations: 19.98 kB / 411.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1107, allocations: 0 / 411.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.1108, allocations: 3.906 kB / 411.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1108, allocations: 4 kB / 411.3 MB, free: 11.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.518e-05/0.1109, allocations: 118.4 kB / 411.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1109, allocations: 15.84 kB / 411.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.111, allocations: 20.92 kB / 411.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.111, allocations: 0 / 411.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.111, allocations: 4 kB / 411.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.111, allocations: 0 / 411.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.1112, allocations: 213.5 kB / 411.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1112, allocations: 0 / 411.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1113, allocations: 11.98 kB / 411.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1113, allocations: 0 / 411.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1113, allocations: 0 / 411.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1113, allocations: 4 kB / 411.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1113, allocations: 4 kB / 411.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.1115, allocations: 171.2 kB / 411.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.1116, allocations: 96.91 kB / 411.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1116, allocations: 0 / 411.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1117, allocations: 4 kB / 411.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.1118, allocations: 3.984 kB / 411.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1118, allocations: 4 kB / 411.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.1119, allocations: 180.5 kB / 412.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1119, allocations: 0 / 412.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.1122, allocations: 16 kB / 412.1 MB, free: 10.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.704e-05/0.1122, allocations: 95.23 kB / 412.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.1124, allocations: 35.92 kB / 412.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1124, allocations: 0 / 412.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.1124, allocations: 12.23 kB / 412.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1127, allocations: 23.92 kB / 412.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.1135, allocations: 330.3 kB / 412.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1138, allocations: 0.7004 MB / 413.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.784e-05/0.1138, allocations: 16.41 kB / 413.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.1139, allocations: 11.44 kB / 413.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1139, allocations: 4 kB / 413.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of Templates: time 0.003305/0.1172, allocations: 1.246 MB / 414.6 MB, free: 7.773 MB / 350.1 MB make -j1 -f MagLev_MagLev.Examples.SteadyStateCharacteristic.makefile (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)