Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 183.9 kB / 7.459 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5907/0.5907, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.111/1.111, allocations: 221.3 MB / 395 MB, free: 10.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000827/0.000827, allocations: 98.77 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.54e-06/5.631e-06, allocations: 2.875 kB / 0.5528 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3136/0.4164, allocations: 118.8 MB / 0.7493 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.4166, allocations: 74.09 kB / 0.7493 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04682/0.4634, allocations: 19.38 MB / 0.7683 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.372e-05/0.4636, allocations: 27.56 kB / 0.7683 GB, free: 4.383 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002021/0.4656, allocations: 1.096 MB / 0.7694 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.4656, allocations: 9.5 kB / 0.7694 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003332/0.466, allocations: 126.3 kB / 0.7695 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.4674, allocations: 0.726 MB / 0.7702 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.4675, allocations: 61.23 kB / 0.7703 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.4676, allocations: 40.69 kB / 0.7703 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008166/0.4684, allocations: 450 kB / 0.7707 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009138/0.4693, allocations: 0.6209 MB / 0.7713 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4693, allocations: 5.344 kB / 0.7713 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.4694, allocations: 14.02 kB / 0.7713 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.4694, allocations: 16.09 kB / 0.7714 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.4725, allocations: 2.203 MB / 0.7735 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.4735, allocations: 0.5389 MB / 0.774 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.4738, allocations: 207.7 kB / 0.7742 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/0.4739, allocations: 5.75 kB / 0.7742 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/0.4743, allocations: 277.5 kB / 0.7745 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 1.974e-06/0.4743, allocations: 0 / 0.7745 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.0007468/0.475, allocations: 499 kB / 0.775 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.4751, allocations: 137 kB / 0.7751 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005818/0.4757, allocations: 0.5586 MB / 0.7757 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.4758, allocations: 25.7 kB / 0.7757 GB, free: 16.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.4759, allocations: 305.5 kB / 0.776 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.476, allocations: 191 kB / 0.7762 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.4761, allocations: 0 / 0.7762 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4762, allocations: 334.2 kB / 0.7765 GB, free: 16.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.4764, allocations: 170.1 kB / 0.7766 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.4767, allocations: 284.5 kB / 0.7769 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.477, allocations: 202.4 kB / 0.7771 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.477, allocations: 0 / 0.7771 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007787/0.4778, allocations: 0.5624 MB / 0.7777 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002732/0.4781, allocations: 0.8718 MB / 0.7785 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4781, allocations: 6.062 kB / 0.7785 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4781, allocations: 6.281 kB / 0.7785 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008973/0.479, allocations: 164 kB / 0.7787 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4791, allocations: 5.5 kB / 0.7787 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.4796, allocations: 67.16 kB / 0.7787 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.4797, allocations: 26.02 kB / 0.7788 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/0.4797, allocations: 7.094 kB / 0.7788 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000737/0.4804, allocations: 444.4 kB / 0.7792 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4804, allocations: 10.16 kB / 0.7792 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.333e-06/0.4804, allocations: 5.469 kB / 0.7792 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.4813, allocations: 155.8 kB / 0.7794 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4813, allocations: 5.406 kB / 0.7794 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.4817, allocations: 58.34 kB / 0.7794 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.4818, allocations: 18.12 kB / 0.7794 GB, free: 14.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000145/0.4819, allocations: 132.2 kB / 0.7796 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4821, allocations: 92.97 kB / 0.7797 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.4822, allocations: 86.31 kB / 0.7797 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.4822, allocations: 9.672 kB / 0.7797 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.4823, allocations: 5.031 kB / 0.7798 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4823, allocations: 0 / 0.7798 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.484, allocations: 1.32 MB / 0.781 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.484, allocations: 0.9688 kB / 0.781 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.4846, allocations: 112.2 kB / 0.7811 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4847, allocations: 2.469 kB / 0.7811 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.4847, allocations: 10.8 kB / 0.7812 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4847, allocations: 2.188 kB / 0.7812 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4847, allocations: 1 kB / 0.7812 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001147/0.4859, allocations: 0.867 MB / 0.782 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.4861, allocations: 231.8 kB / 0.7822 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4863, allocations: 1.938 kB / 0.7822 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005411/0.4868, allocations: 45.61 kB / 0.7823 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.4869, allocations: 33.52 kB / 0.7823 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.4869, allocations: 21.42 kB / 0.7823 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003836/0.4873, allocations: 430.9 kB / 0.7827 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006321/0.488, allocations: 266.8 kB / 0.783 GB, free: 13.03 MB / 0.5105 GB 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.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001352/0.4881, allocations: 112.4 kB / 0.7831 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.4891, allocations: 0.7544 MB / 0.7838 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4891, allocations: 0 / 0.7838 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.4895, allocations: 241.7 kB / 0.7841 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009518/0.4904, allocations: 204 kB / 0.7843 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.4928, allocations: 1.159 MB / 0.7854 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/0.4935, allocations: 1.087 MB / 0.7865 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.4935, allocations: 0 / 0.7865 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of Templates: time 0.02007/0.5136, allocations: 12.83 MB / 0.799 GB, free: 13.28 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)