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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.278/0.278, allocations: 54.4 MB / 61.68 MB, free: 11.18 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.001181/0.001181, allocations: 189.3 kB / 75.38 MB, free: 1.457 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.468/1.468, allocations: 194.2 MB / 283.2 MB, free: 3.492 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.001816/0.001816, allocations: 105.3 kB / 341.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.785e-06/7.805e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 57.64 MB / 462.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3391/0.4558, allocations: 87.45 MB / 0.5372 GB, free: 9.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.456, allocations: 78.14 kB / 0.5372 GB, free: 9.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01629/0.4723, allocations: 5.272 MB / 0.5424 GB, free: 5.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.4724, allocations: 4 kB / 0.5424 GB, free: 5 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.0008124/0.4732, allocations: 0.5511 MB / 0.5429 GB, free: 4.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4732, allocations: 11.97 kB / 0.5429 GB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.4733, allocations: 35.72 kB / 0.543 GB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.4738, allocations: 274.6 kB / 0.5432 GB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.4739, allocations: 8 kB / 0.5432 GB, free: 4.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.4739, allocations: 11.94 kB / 0.5432 GB, free: 4.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002505/0.4742, allocations: 120.2 kB / 0.5434 GB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.4745, allocations: 201.3 kB / 0.5436 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4745, allocations: 7.938 kB / 0.5436 GB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.4746, allocations: 0 / 0.5436 GB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.4746, allocations: 4 kB / 0.5436 GB, free: 3.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.4755, allocations: 0.5144 MB / 0.5441 GB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.4758, allocations: 146.6 kB / 0.5442 GB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.4759, allocations: 97 kB / 0.5443 GB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.4759, allocations: 0 / 0.5443 GB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.4762, allocations: 169 kB / 0.5445 GB, free: 2.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.4762, allocations: 0 / 0.5445 GB, free: 2.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004258/0.4766, allocations: 224 kB / 0.5447 GB, free: 2.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.4767, allocations: 136.4 kB / 0.5448 GB, free: 2.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.4769, allocations: 220.2 kB / 0.545 GB, free: 2.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.4769, allocations: 29.7 kB / 0.545 GB, free: 2.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.477, allocations: 120.3 kB / 0.5452 GB, free: 1.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.4771, allocations: 43.36 kB / 0.5452 GB, free: 1.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.4771, allocations: 0 / 0.5452 GB, free: 1.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4772, allocations: 334.8 kB / 0.5455 GB, free: 1.555 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.4773, allocations: 83.97 kB / 0.5456 GB, free: 1.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.4775, allocations: 119.3 kB / 0.5457 GB, free: 1.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.4776, allocations: 85.11 kB / 0.5458 GB, free: 1.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4776, allocations: 0 / 0.5458 GB, free: 1.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000368/0.478, allocations: 246.7 kB / 0.546 GB, free: 1.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.478, allocations: 8 kB / 0.546 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4781, allocations: 0 / 0.546 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4781, allocations: 0 / 0.546 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.4782, allocations: 28.02 kB / 0.5461 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4783, allocations: 7.922 kB / 0.5461 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.4784, allocations: 39.83 kB / 0.5461 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.4785, allocations: 12 kB / 0.5461 GB, free: 0.9219 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 () * 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.0001302/0.4786, allocations: 142.6 kB / 0.5463 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.4786, allocations: 23.72 kB / 0.5463 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.761e-05/0.4787, allocations: 25.77 kB / 0.5463 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4787, allocations: 4 kB / 0.5463 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4787, allocations: 0 / 0.5463 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4787, allocations: 0 / 0.5463 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.479, allocations: 266 kB / 0.5466 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.479, allocations: 3.984 kB / 0.5466 GB, free: 420 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.4791, allocations: 16 kB / 0.5466 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4791, allocations: 0 / 0.5466 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.4792, allocations: 11.98 kB / 0.5466 GB, free: 392 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4792, allocations: 0.7188 kB / 0.5466 GB, free: 392 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4792, allocations: 11.83 kB / 0.5466 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000596/0.4798, allocations: 396.7 kB / 0.547 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/0.4799, allocations: 104.8 kB / 0.5471 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.4799, allocations: 4 kB / 0.5471 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.4801, allocations: 32.05 kB / 0.5471 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.4802, allocations: 23.95 kB / 0.5471 GB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.4802, allocations: 15.98 kB / 0.5472 GB, free: 15.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001453/0.4803, allocations: 172.5 kB / 0.5473 GB, free: 15.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.4806, allocations: 51.84 kB / 0.5474 GB, free: 15.54 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.0002251/0.4809, allocations: 139.1 kB / 0.5475 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.4812, allocations: 202.1 kB / 0.5477 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4812, allocations: 0 / 0.5477 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.4813, allocations: 145.6 kB / 0.5478 GB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.4816, allocations: 20.42 kB / 0.5479 GB, free: 15.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008455/0.4825, allocations: 337.7 kB / 0.5482 GB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.4829, allocations: 0.7627 MB / 0.5489 GB, free: 13.89 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4829, allocations: 0 / 0.5489 GB, free: 13.89 MB / 394.7 MB Notification: Performance of Templates: time 0.005797/0.4887, allocations: 2.324 MB / 0.5512 GB, free: 11.57 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)