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.3018/0.3018, allocations: 54.41 MB / 61.89 MB, free: 13.72 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.0009831/0.000983, allocations: 187.6 kB / 75.61 MB, free: 0.7656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.393/1.393, allocations: 194.3 MB / 283.5 MB, free: 14.8 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.001798/0.001798, allocations: 107.2 kB / 341.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.808e-05, allocations: 4 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3365, allocations: 57.65 MB / 463.2 MB, free: 51.76 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.4411, allocations: 87.53 MB / 0.5378 GB, free: 13.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.4414, allocations: 85.67 kB / 0.5379 GB, free: 13.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.4564, allocations: 5.584 MB / 0.5433 GB, free: 8.062 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4564, allocations: 4 kB / 0.5433 GB, free: 8.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.4564, allocations: 7.938 kB / 0.5433 GB, free: 8.051 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.0006782/0.4571, allocations: 0.5432 MB / 0.5438 GB, free: 7.453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.4571, allocations: 8.031 kB / 0.5439 GB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.4572, allocations: 27.72 kB / 0.5439 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.4576, allocations: 275.3 kB / 0.5441 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.4576, allocations: 5.406 kB / 0.5442 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.4577, allocations: 8 kB / 0.5442 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002037/0.4579, allocations: 128.1 kB / 0.5443 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.4581, allocations: 193.3 kB / 0.5445 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4582, allocations: 0 / 0.5445 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.4582, allocations: 4 kB / 0.5445 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.4582, allocations: 0 / 0.5445 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/0.4589, allocations: 0.5202 MB / 0.545 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.4591, allocations: 150.5 kB / 0.5451 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.4593, allocations: 92.97 kB / 0.5452 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.4593, allocations: 0 / 0.5452 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.4595, allocations: 173 kB / 0.5454 GB, free: 5.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.765e-06/0.4595, allocations: 0 / 0.5454 GB, free: 5.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004261/0.4599, allocations: 232.5 kB / 0.5456 GB, free: 5.547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.46, allocations: 144.5 kB / 0.5457 GB, free: 5.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.4602, allocations: 208.5 kB / 0.5459 GB, free: 5.164 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.4602, allocations: 33.7 kB / 0.546 GB, free: 5.125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.4603, allocations: 148.2 kB / 0.5461 GB, free: 4.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.4604, allocations: 43.45 kB / 0.5461 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.4604, allocations: 0 / 0.5461 GB, free: 4.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4605, allocations: 330.8 kB / 0.5465 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.4606, allocations: 83.97 kB / 0.5465 GB, free: 4.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.4608, allocations: 121.2 kB / 0.5467 GB, free: 4.391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4609, allocations: 85.02 kB / 0.5467 GB, free: 4.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4609, allocations: 3.953 kB / 0.5467 GB, free: 4.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003543/0.4613, allocations: 245.9 kB / 0.547 GB, free: 4.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.4613, allocations: 37.7 kB / 0.547 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4613, allocations: 0 / 0.547 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.4614, allocations: 4 kB / 0.547 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.4615, allocations: 31.98 kB / 0.547 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.4615, allocations: 0 / 0.547 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.4617, allocations: 35.91 kB / 0.5471 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.4617, allocations: 8 kB / 0.5471 GB, free: 3.938 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.0001039/0.4618, allocations: 150.7 kB / 0.5472 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.4618, allocations: 31.67 kB / 0.5473 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.4619, allocations: 25.95 kB / 0.5473 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4619, allocations: 0 / 0.5473 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4619, allocations: 0 / 0.5473 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.4619, allocations: 0 / 0.5473 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.4621, allocations: 258.1 kB / 0.5475 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4621, allocations: 0 / 0.5475 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.4623, allocations: 29.61 kB / 0.5476 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4623, allocations: 3.938 kB / 0.5476 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4623, allocations: 8.859 kB / 0.5476 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4623, allocations: 3.953 kB / 0.5476 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4623, allocations: 0 / 0.5476 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.4629, allocations: 395.6 kB / 0.548 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.463, allocations: 100.8 kB / 0.5481 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.463, allocations: 12.06 kB / 0.5481 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4632, allocations: 26.61 kB / 0.5481 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.4632, allocations: 31.91 kB / 0.5481 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.4633, allocations: 11.98 kB / 0.5481 GB, free: 2.797 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000132/0.4634, allocations: 180.4 kB / 0.5483 GB, free: 2.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4634, allocations: 0 / 0.5483 GB, free: 2.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.4637, allocations: 55.94 kB / 0.5484 GB, free: 2.562 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.0001783/0.4638, allocations: 128.4 kB / 0.5485 GB, free: 2.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.4641, allocations: 255.2 kB / 0.5487 GB, free: 2.164 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4642, allocations: 1.312 kB / 0.5487 GB, free: 2.164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.4643, allocations: 171.4 kB / 0.5489 GB, free: 1.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.4645, allocations: 25 kB / 0.5489 GB, free: 1.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.4652, allocations: 335 kB / 0.5492 GB, free: 1.613 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.4655, allocations: 0.7553 MB / 0.55 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.765e-05/0.4656, allocations: 12.77 kB / 0.55 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.4656, allocations: 17.31 kB / 0.55 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4656, allocations: 4 kB / 0.55 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of Templates: time 0.004581/0.4702, allocations: 2.163 MB / 0.5521 GB, free: 14.7 MB / 410.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)