Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset") translateModel(Annex60.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset") [: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.293/0.293, allocations: 54.39 MB / 61.67 MB, free: 11.17 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.001283/0.001283, allocations: 197 kB / 75.38 MB, free: 1.523 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.75/1.75, allocations: 194.2 MB / 283.2 MB, free: 3.566 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.00183/0.00183, allocations: 113.4 kB / 341.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.816e-06/9.157e-06, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1724, allocations: 57.64 MB / 462.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.6049, allocations: 92.18 MB / 0.5418 GB, free: 5.203 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.6052, allocations: 74.14 kB / 0.5418 GB, free: 5.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.05428/0.6595, allocations: 18.86 MB / 0.5602 GB, free: 2.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001265/0.6596, allocations: 20 kB / 0.5603 GB, free: 2.734 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002553/0.6622, allocations: 1.078 MB / 0.5613 GB, free: 1.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6623, allocations: 11.97 kB / 0.5613 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004786/0.6627, allocations: 126.4 kB / 0.5614 GB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.6646, allocations: 0.7107 MB / 0.5621 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.6648, allocations: 55.02 kB / 0.5622 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.6649, allocations: 43.91 kB / 0.5622 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001029/0.666, allocations: 446.6 kB / 0.5627 GB, free: 184 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.6671, allocations: 0.5858 MB / 0.5632 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.6671, allocations: 0 / 0.5632 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.6672, allocations: 8 kB / 0.5632 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.6672, allocations: 16 kB / 0.5633 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.6712, allocations: 1.995 MB / 0.5652 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.6724, allocations: 0.545 MB / 0.5657 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.6728, allocations: 206.4 kB / 0.5659 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.6729, allocations: 8.719 kB / 0.5659 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005005/0.6734, allocations: 277.2 kB / 0.5662 GB, free: 12.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 2.645e-06/0.6734, allocations: 3.938 kB / 0.5662 GB, free: 12.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=59): time 0.001045/0.6744, allocations: 492 kB / 0.5667 GB, free: 11.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.6745, allocations: 137 kB / 0.5668 GB, free: 11.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008525/0.6754, allocations: 0.5355 MB / 0.5673 GB, free: 11.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/0.6755, allocations: 25.7 kB / 0.5674 GB, free: 11.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.6758, allocations: 288.2 kB / 0.5676 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.676, allocations: 197 kB / 0.5678 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.676, allocations: 0 / 0.5678 GB, free: 10.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6762, allocations: 330 kB / 0.5681 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.6765, allocations: 173.3 kB / 0.5683 GB, free: 10.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.6769, allocations: 267.3 kB / 0.5686 GB, free: 9.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.6773, allocations: 191.2 kB / 0.5687 GB, free: 9.734 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.6773, allocations: 4 kB / 0.5687 GB, free: 9.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001047/0.6784, allocations: 0.5418 MB / 0.5693 GB, free: 9.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003514/0.6787, allocations: 0.7062 MB / 0.57 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.6788, allocations: 4 kB / 0.57 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.6788, allocations: 4 kB / 0.57 GB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009881/0.6798, allocations: 159.8 kB / 0.5701 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.6798, allocations: 7.906 kB / 0.5701 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.6805, allocations: 63.64 kB / 0.5702 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/0.6805, allocations: 19.91 kB / 0.5702 GB, free: 8.168 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.6806, allocations: 4 kB / 0.5702 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007776/0.6813, allocations: 426.4 kB / 0.5706 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.6814, allocations: 0 / 0.5706 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.6814, allocations: 4 kB / 0.5706 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.6821, allocations: 139.8 kB / 0.5708 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.6822, allocations: 4 kB / 0.5708 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.6827, allocations: 59.47 kB / 0.5708 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.6827, allocations: 16 kB / 0.5708 GB, free: 7.527 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.trigger.pulsStart,trigger.pulsStart,limPIDInp.trigger,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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.000199/0.6829, allocations: 117.4 kB / 0.5709 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.6831, allocations: 83.11 kB / 0.571 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.6834, allocations: 96.23 kB / 0.5711 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.6834, allocations: 11.91 kB / 0.5711 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.6835, allocations: 4 kB / 0.5711 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.6835, allocations: 3.984 kB / 0.5711 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.6858, allocations: 1.284 MB / 0.5724 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6859, allocations: 0 / 0.5724 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/0.6865, allocations: 111.9 kB / 0.5725 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.273e-05/0.6866, allocations: 4 kB / 0.5725 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/0.6866, allocations: 11.92 kB / 0.5725 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.6866, allocations: 0 / 0.5725 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6866, allocations: 0 / 0.5725 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001339/0.688, allocations: 0.8635 MB / 0.5734 GB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.6883, allocations: 215.9 kB / 0.5736 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.6885, allocations: 4 kB / 0.5736 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/0.6891, allocations: 51.95 kB / 0.5736 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.6892, allocations: 32.45 kB / 0.5736 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.6893, allocations: 19.98 kB / 0.5737 GB, free: 4.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006286/0.6899, allocations: 419.2 kB / 0.5741 GB, free: 4.141 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009263/0.6908, allocations: 262.8 kB / 0.5743 GB, free: 3.883 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001935/0.691, allocations: 107.1 kB / 0.5744 GB, free: 3.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.6925, allocations: 0.7152 MB / 0.5751 GB, free: 3.051 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6925, allocations: 0 / 0.5751 GB, free: 3.051 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.6929, allocations: 242.5 kB / 0.5753 GB, free: 2.816 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.694, allocations: 196.1 kB / 0.5755 GB, free: 2.621 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.697, allocations: 1.122 MB / 0.5766 GB, free: 1.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.698, allocations: 1.072 MB / 0.5777 GB, free: 376 kB / 410.7 MB Notification: Performance of SimCode: time 9.21e-07/0.6981, allocations: 0 / 0.5777 GB, free: 376 kB / 410.7 MB Notification: Performance of Templates: time 0.028/0.7261, allocations: 12.4 MB / 0.5898 GB, free: 3.988 MB / 426.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)