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: "" <> buildModelFMU(MagLev.Examples.SteadyStateCharacteristic,fileNamePrefix="MagLev_MagLev_Examples_SteadyStateCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MagLev.Examples.SteadyStateCharacteristic,fileNamePrefix="MagLev_MagLev_Examples_SteadyStateCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 197 kB / 16.53 MB, free: 6.664 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.174/0.174, allocations: 4.228 MB / 294.6 MB, free: 3.258 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 59.91 kB / 356.2 MB, free: 2.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1357, allocations: 50.46 MB / 406.7 MB, free: 280 kB / 334.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.003908/0.1396, allocations: 1.617 MB / 408.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1415, allocations: 0.8798 MB / 409.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.1416, allocations: 0 / 409.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007273/0.1423, allocations: 157.1 kB / 409.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.1425, allocations: 67.53 kB / 409.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.678e-05/0.1425, allocations: 11.98 kB / 409.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1427, allocations: 143.3 kB / 409.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.1428, allocations: 5.125 kB / 409.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.1429, allocations: 63.7 kB / 409.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.143, allocations: 71.62 kB / 409.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.143, allocations: 8 kB / 409.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.445e-05/0.1431, allocations: 8 kB / 409.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.1431, allocations: 27.91 kB / 409.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.1432, allocations: 59.59 kB / 409.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1433, allocations: 103.9 kB / 409.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1433, allocations: 0 / 409.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.588e-06/0.1433, allocations: 0 / 409.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1434, allocations: 3.938 kB / 409.9 MB, free: 13.04 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.0007255/0.1441, allocations: 454.7 kB / 410.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1441, allocations: 12.03 kB / 410.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.1442, allocations: 34.73 kB / 410.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.1442, allocations: 16.75 kB / 410.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.1444, allocations: 236.9 kB / 410.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1444, allocations: 4.375 kB / 410.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1445, allocations: 384 / 410.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1446, allocations: 53.75 kB / 410.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1446, allocations: 4 kB / 410.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1446, allocations: 4 kB / 410.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1447, allocations: 4 kB / 410.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.339e-05/0.1447, allocations: 15.98 kB / 410.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.1451, allocations: 320.7 kB / 411 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1454, allocations: 50.61 kB / 411 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.1454, allocations: 24.84 kB / 411.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.1455, allocations: 0 / 411.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.1455, allocations: 34.5 kB / 411.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1455, allocations: 4 kB / 411.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001816/0.1457, allocations: 65.59 kB / 411.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.1457, allocations: 51.41 kB / 411.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.146, allocations: 236.8 kB / 411.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.146, allocations: 25.7 kB / 411.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.1461, allocations: 120 kB / 411.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.1461, allocations: 15.81 kB / 411.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1461, allocations: 13.72 kB / 411.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1462, allocations: 330.8 kB / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.1463, allocations: 11.98 kB / 412 MB, free: 10.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.1463, allocations: 11.94 kB / 412 MB, free: 10.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.477e-05/0.1464, allocations: 28.86 kB / 412 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1464, allocations: 0 / 412 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001119/0.1465, allocations: 69.78 kB / 412.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1465, allocations: 4 kB / 412.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1465, allocations: 3.938 kB / 412.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1465, allocations: 0 / 412.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1467, allocations: 23.95 kB / 412.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1467, allocations: 3.938 kB / 412.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1468, allocations: 3.906 kB / 412.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1468, allocations: 7.938 kB / 412.1 MB, free: 10.55 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.885e-05/0.1469, allocations: 121.7 kB / 412.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.1469, allocations: 11.91 kB / 412.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.147, allocations: 20.92 kB / 412.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.147, allocations: 0 / 412.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.147, allocations: 4 kB / 412.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.147, allocations: 0 / 412.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.1472, allocations: 209.6 kB / 412.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.1472, allocations: 4 kB / 412.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1473, allocations: 15.97 kB / 412.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1473, allocations: 0 / 412.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1473, allocations: 4 kB / 412.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1473, allocations: 4 kB / 412.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1473, allocations: 0 / 412.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.1475, allocations: 163.3 kB / 412.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.1476, allocations: 96.91 kB / 412.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1476, allocations: 0 / 412.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.1478, allocations: 7.984 kB / 412.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.1478, allocations: 0 / 412.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1478, allocations: 4 kB / 412.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.148, allocations: 184.5 kB / 412.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.148, allocations: 0 / 412.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1482, allocations: 16 kB / 413 MB, free: 9.605 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 0.0003965/0.1486, allocations: 0.6927 MB / 413.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.1487, allocations: 35.92 kB / 413.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1487, allocations: 4 kB / 413.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.1488, allocations: 15.98 kB / 413.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1491, allocations: 14.67 kB / 413.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1514, allocations: 1.891 MB / 415.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1516, allocations: 0.7041 MB / 416.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.1517, allocations: 16.55 kB / 416.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.1518, allocations: 39.41 kB / 416.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of SimCode: time 1.654e-06/0.1518, allocations: 0 / 416.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.1717, allocations: 2.93 MB / 419.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/7.786, allocations: 15.52 kB / 419.3 MB, free: 3.16 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file MagLev_MagLev.Examples.SteadyStateCharacteristic_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 MagLev_MagLev_Examples_SteadyStateCharacteristic.fmu > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1)