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.3775/0.3775, allocations: 55.01 MB / 69.96 MB, free: 8.699 MB / 58.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001012/0.001012, allocations: 191 kB / 83.98 MB, free: 10.86 MB / 74.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.689/1.689, allocations: 194.4 MB / 292.3 MB, free: 3.609 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001829/0.001829, allocations: 108.7 kB / 350.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004616, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1695, allocations: 57.65 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5748/0.7444, allocations: 88.28 MB / 0.5516 GB, free: 1.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.7447, allocations: 87.44 kB / 0.5516 GB, free: 1.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.761, allocations: 5.624 MB / 0.5571 GB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.7611, allocations: 0 / 0.5571 GB, free: 12.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.7611, allocations: 4 kB / 0.5571 GB, free: 12.23 MB / 378.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.0009559/0.762, allocations: 0.5711 MB / 0.5577 GB, free: 11.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.7621, allocations: 12.03 kB / 0.5577 GB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.7622, allocations: 27.72 kB / 0.5577 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.7627, allocations: 280.7 kB / 0.558 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.7628, allocations: 11.61 kB / 0.558 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.7628, allocations: 15.88 kB / 0.558 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.7633, allocations: 257.6 kB / 0.5583 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.7634, allocations: 0 / 0.5583 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.7634, allocations: 7.312 kB / 0.5583 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.7634, allocations: 4 kB / 0.5583 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.7637, allocations: 148.9 kB / 0.5584 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009892/0.7647, allocations: 0.5549 MB / 0.559 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.7653, allocations: 218.1 kB / 0.5592 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.7653, allocations: 0 / 0.5592 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/0.7657, allocations: 201.5 kB / 0.5594 GB, free: 10.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.7657, allocations: 0 / 0.5594 GB, free: 10.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009717/0.7667, allocations: 490 kB / 0.5598 GB, free: 9.617 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.682e-05/0.7668, allocations: 139.3 kB / 0.56 GB, free: 9.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.7671, allocations: 235.6 kB / 0.5602 GB, free: 9.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.7672, allocations: 29.08 kB / 0.5602 GB, free: 9.219 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.7673, allocations: 149.9 kB / 0.5604 GB, free: 9.102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.7674, allocations: 40.62 kB / 0.5604 GB, free: 9.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.7674, allocations: 9.562 kB / 0.5604 GB, free: 9.059 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7676, allocations: 332.9 kB / 0.5607 GB, free: 8.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.7678, allocations: 112.4 kB / 0.5608 GB, free: 8.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.7681, allocations: 149.1 kB / 0.561 GB, free: 8.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.7683, allocations: 136.6 kB / 0.5611 GB, free: 8.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7684, allocations: 0 / 0.5611 GB, free: 8.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005696/0.7689, allocations: 329.7 kB / 0.5614 GB, free: 8.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.769, allocations: 37.2 kB / 0.5615 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.769, allocations: 0 / 0.5615 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.769, allocations: 0 / 0.5615 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.7692, allocations: 28.02 kB / 0.5615 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.7692, allocations: 0 / 0.5615 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.7693, allocations: 43.56 kB / 0.5615 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.7694, allocations: 8 kB / 0.5615 GB, free: 8.012 MB / 378.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 () * Number of clocked 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.0001811/0.7696, allocations: 189.9 kB / 0.5617 GB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.7696, allocations: 35.61 kB / 0.5618 GB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.7697, allocations: 28.7 kB / 0.5618 GB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7697, allocations: 0 / 0.5618 GB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7697, allocations: 0 / 0.5618 GB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.7697, allocations: 0 / 0.5618 GB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.77, allocations: 295.5 kB / 0.5621 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.77, allocations: 4 kB / 0.5621 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.7702, allocations: 16.09 kB / 0.5621 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.7702, allocations: 11.89 kB / 0.5621 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.7702, allocations: 15.41 kB / 0.5621 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7702, allocations: 0 / 0.5621 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7702, allocations: 0 / 0.5621 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009128/0.7711, allocations: 0.4921 MB / 0.5626 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.7712, allocations: 104.6 kB / 0.5627 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.7713, allocations: 7.953 kB / 0.5627 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.7714, allocations: 34.84 kB / 0.5627 GB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.7715, allocations: 27.33 kB / 0.5628 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.7716, allocations: 15.56 kB / 0.5628 GB, free: 6.832 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.7717, allocations: 193.1 kB / 0.563 GB, free: 6.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7718, allocations: 4 kB / 0.563 GB, free: 6.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.7721, allocations: 55.56 kB / 0.563 GB, free: 6.617 MB / 378.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) * Number of clocked states: 0 () * 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.0002457/0.7723, allocations: 139.7 kB / 0.5631 GB, free: 6.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005565/0.7729, allocations: 310 kB / 0.5634 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7729, allocations: 0 / 0.5634 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.7732, allocations: 194.7 kB / 0.5636 GB, free: 6.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.7735, allocations: 23.55 kB / 0.5636 GB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.7746, allocations: 0.5024 MB / 0.5641 GB, free: 5.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.775, allocations: 0.7548 MB / 0.5649 GB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.7752, allocations: 17.08 kB / 0.5649 GB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.7752, allocations: 15.44 kB / 0.5649 GB, free: 4.75 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.7753, allocations: 0 / 0.5649 GB, free: 4.75 MB / 378.7 MB Notification: Performance of Templates: time 0.005986/0.7812, allocations: 2.315 MB / 0.5672 GB, free: 2.461 MB / 378.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)