Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2792/0.2792, allocations: 54.34 MB / 66.9 MB, free: 6.086 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001105/0.001105, allocations: 180.5 kB / 80.7 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.49/1.49, allocations: 194.2 MB / 288.6 MB, free: 15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001643/0.001644, allocations: 106.8 kB / 346.9 MB, free: 4.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.395e-05/4.422e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4609, allocations: 88.19 MB / 0.5451 GB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.4611, allocations: 79.94 kB / 0.5452 GB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.477, allocations: 5.62 MB / 0.5507 GB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.477, allocations: 0 / 0.5507 GB, free: 12.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.4771, allocations: 4 kB / 0.5507 GB, free: 12.54 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008215/0.4779, allocations: 0.5432 MB / 0.5512 GB, free: 11.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4779, allocations: 8.031 kB / 0.5512 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.478, allocations: 27.72 kB / 0.5513 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.4785, allocations: 277.9 kB / 0.5515 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.4785, allocations: 16.17 kB / 0.5515 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.4786, allocations: 12 kB / 0.5516 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.479, allocations: 222.2 kB / 0.5518 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.479, allocations: 3.938 kB / 0.5518 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.479, allocations: 4 kB / 0.5518 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4791, allocations: 4 kB / 0.5518 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.4793, allocations: 124.4 kB / 0.5519 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008658/0.4802, allocations: 0.5516 MB / 0.5524 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.4804, allocations: 154.6 kB / 0.5526 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.4806, allocations: 100.8 kB / 0.5527 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.4806, allocations: 0 / 0.5527 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.4808, allocations: 186.4 kB / 0.5529 GB, free: 10.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.4808, allocations: 0 / 0.5529 GB, free: 10.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004782/0.4813, allocations: 264.6 kB / 0.5531 GB, free: 9.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.4814, allocations: 136.5 kB / 0.5532 GB, free: 9.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.4817, allocations: 234.8 kB / 0.5535 GB, free: 9.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.4817, allocations: 29.7 kB / 0.5535 GB, free: 9.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4818, allocations: 152.4 kB / 0.5536 GB, free: 9.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.4819, allocations: 39.39 kB / 0.5537 GB, free: 9.246 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.4819, allocations: 4 kB / 0.5537 GB, free: 9.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.482, allocations: 338.8 kB / 0.554 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4822, allocations: 87.97 kB / 0.5541 GB, free: 8.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.4823, allocations: 124.6 kB / 0.5542 GB, free: 8.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.4825, allocations: 125.5 kB / 0.5543 GB, free: 8.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4825, allocations: 0 / 0.5543 GB, free: 8.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004042/0.4829, allocations: 283 kB / 0.5546 GB, free: 8.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.483, allocations: 37.69 kB / 0.5546 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.483, allocations: 4.641 kB / 0.5546 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.483, allocations: 0 / 0.5546 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.4831, allocations: 27.92 kB / 0.5547 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4831, allocations: 0 / 0.5547 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.4833, allocations: 47.84 kB / 0.5547 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.4833, allocations: 8 kB / 0.5547 GB, free: 8.137 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001076/0.4835, allocations: 146.7 kB / 0.5549 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.4835, allocations: 31.75 kB / 0.5549 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.4836, allocations: 25.97 kB / 0.5549 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4836, allocations: 0 / 0.5549 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4836, allocations: 0 / 0.5549 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4836, allocations: 7.984 kB / 0.5549 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.4838, allocations: 297.4 kB / 0.5552 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4839, allocations: 0 / 0.5552 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.484, allocations: 27.88 kB / 0.5552 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.484, allocations: 4 kB / 0.5552 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.484, allocations: 4 kB / 0.5552 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.484, allocations: 0 / 0.5552 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.484, allocations: 4 kB / 0.5552 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.4847, allocations: 452.5 kB / 0.5557 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.4847, allocations: 96.84 kB / 0.5558 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.4848, allocations: 11.95 kB / 0.5558 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.485, allocations: 31.97 kB / 0.5558 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.485, allocations: 32.02 kB / 0.5558 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.4851, allocations: 12 kB / 0.5559 GB, free: 6.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.4852, allocations: 191.1 kB / 0.556 GB, free: 6.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4853, allocations: 4 kB / 0.556 GB, free: 6.684 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000269/0.4855, allocations: 59.88 kB / 0.5561 GB, free: 6.625 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002048/0.4857, allocations: 130.2 kB / 0.5562 GB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.4861, allocations: 270.6 kB / 0.5565 GB, free: 6.219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4861, allocations: 4.156 kB / 0.5565 GB, free: 6.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.4863, allocations: 179.3 kB / 0.5567 GB, free: 6.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.4865, allocations: 28.67 kB / 0.5567 GB, free: 6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.4873, allocations: 344.7 kB / 0.557 GB, free: 5.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.4876, allocations: 0.753 MB / 0.5577 GB, free: 4.859 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.384e-05/0.4877, allocations: 13.2 kB / 0.5578 GB, free: 4.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.4877, allocations: 15.44 kB / 0.5578 GB, free: 4.832 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4877, allocations: 0 / 0.5578 GB, free: 4.832 MB / 394.7 MB Notification: Performance of Templates: time 0.004931/0.4927, allocations: 2.333 MB / 0.5601 GB, free: 2.508 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)