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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.001191, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000984/0.000984, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4407/0.4407, allocations: 55.02 MB / 325.4 MB, free: 0.7461 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005292/0.0005293, allocations: 16 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4567, allocations: 60.72 MB / 457.4 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002845/0.4596, allocations: 1.603 MB / 459 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.4612, allocations: 0.6972 MB / 459.7 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.4614, allocations: 6.719 kB / 459.7 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.4618, allocations: 73.53 kB / 459.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.4619, allocations: 81.53 kB / 459.8 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.4625, allocations: 133.3 kB / 460 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.4628, allocations: 223.9 kB / 460.2 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.463, allocations: 55.12 kB / 460.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.4632, allocations: 86.78 kB / 460.3 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.4634, allocations: 114.4 kB / 460.4 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.4634, allocations: 9.562 kB / 460.4 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.4636, allocations: 74.47 kB / 460.5 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.4636, allocations: 41.41 kB / 460.5 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.4637, allocations: 58.95 kB / 460.6 MB, free: 37.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.464, allocations: 213 kB / 460.8 MB, free: 37.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.464, allocations: 5.375 kB / 460.8 MB, free: 37.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.464, allocations: 0 / 460.8 MB, free: 37.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.464, allocations: 0 / 460.8 MB, free: 37.9 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008326/0.4648, allocations: 0.5493 MB / 461.4 MB, free: 37.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.4649, allocations: 9.812 kB / 461.4 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.424e-05/0.465, allocations: 29.97 kB / 461.4 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.4654, allocations: 303.9 kB / 461.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.4655, allocations: 17.16 kB / 461.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.4656, allocations: 14.09 kB / 461.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.4661, allocations: 225.1 kB / 462 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4661, allocations: 1.281 kB / 462 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.4662, allocations: 7.234 kB / 462 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4662, allocations: 5.812 kB / 462 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.4665, allocations: 134.4 kB / 462.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.4675, allocations: 0.6834 MB / 462.8 MB, free: 36.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.4679, allocations: 178.4 kB / 463 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.4681, allocations: 101.2 kB / 463.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.4681, allocations: 3 kB / 463.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.4685, allocations: 190 kB / 463.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.4685, allocations: 0 / 463.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008091/0.4693, allocations: 387.6 kB / 463.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.4695, allocations: 140.7 kB / 463.8 MB, free: 36.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.4698, allocations: 273.5 kB / 464 MB, free: 36.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.4698, allocations: 35.3 kB / 464.1 MB, free: 36.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.47, allocations: 153 kB / 464.2 MB, free: 36.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.4701, allocations: 46.16 kB / 464.3 MB, free: 36.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.4701, allocations: 0 / 464.3 MB, free: 36.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4702, allocations: 338.6 kB / 464.6 MB, free: 35.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.4704, allocations: 95.5 kB / 464.7 MB, free: 35.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.4706, allocations: 129.9 kB / 464.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.4708, allocations: 116 kB / 464.9 MB, free: 35.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4708, allocations: 2.938 kB / 464.9 MB, free: 35.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006081/0.4715, allocations: 341.7 kB / 465.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.4715, allocations: 41.22 kB / 465.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4715, allocations: 2.531 kB / 465.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.4716, allocations: 3.594 kB / 465.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.4717, allocations: 24.38 kB / 465.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4718, allocations: 0 / 465.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.4719, allocations: 34.23 kB / 465.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.4719, allocations: 7.969 kB / 465.4 MB, free: 35.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($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,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0002179/0.4722, allocations: 197.7 kB / 465.6 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.4722, allocations: 26.66 kB / 465.6 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.4723, allocations: 29.11 kB / 465.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.4723, allocations: 4.094 kB / 465.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.4723, allocations: 1.062 kB / 465.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4723, allocations: 1.969 kB / 465.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.4727, allocations: 296.4 kB / 465.9 MB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4727, allocations: 3.938 kB / 465.9 MB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.4728, allocations: 20.47 kB / 465.9 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4729, allocations: 0 / 465.9 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.4729, allocations: 11.06 kB / 465.9 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4729, allocations: 0.5625 kB / 465.9 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4729, allocations: 0 / 465.9 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/0.4736, allocations: 478.4 kB / 466.4 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.4737, allocations: 102.9 kB / 466.5 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.4737, allocations: 7.594 kB / 466.5 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.4738, allocations: 16.97 kB / 466.5 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.4739, allocations: 26.97 kB / 466.6 MB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.474, allocations: 9.578 kB / 466.6 MB, free: 34.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.4742, allocations: 203.6 kB / 466.8 MB, free: 34.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4742, allocations: 0 / 466.8 MB, free: 34.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.4745, allocations: 58.16 kB / 466.8 MB, free: 34.7 MB / 382.1 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 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0002159/0.4747, allocations: 131.1 kB / 467 MB, free: 34.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004844/0.4752, allocations: 312 kB / 467.3 MB, free: 34.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4752, allocations: 0 / 467.3 MB, free: 34.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.4754, allocations: 186.7 kB / 467.4 MB, free: 34.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.4757, allocations: 41.77 kB / 467.5 MB, free: 34.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.4769, allocations: 0.5151 MB / 468 MB, free: 34.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.4773, allocations: 0.7525 MB / 468.8 MB, free: 33.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.4774, allocations: 18.91 kB / 468.8 MB, free: 33.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.4775, allocations: 20.3 kB / 468.8 MB, free: 33.32 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4775, allocations: 0 / 468.8 MB, free: 33.32 MB / 382.1 MB Notification: Performance of Templates: time 0.007248/0.4848, allocations: 2.445 MB / 471.2 MB, free: 33.18 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: