Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") translateModel(Annex60.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") [: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.2879/0.2879, allocations: 54.38 MB / 61.67 MB, free: 11.16 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.0013/0.0013, allocations: 182.6 kB / 75.37 MB, free: 1.488 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.558/1.558, allocations: 194.2 MB / 283.2 MB, free: 3.598 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.001784/0.001784, allocations: 132.7 kB / 341.3 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.668e-06/9.858e-06, allocations: 4 kB / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.134, allocations: 57.64 MB / 462.6 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3169/0.4509, allocations: 91.72 MB / 0.5413 GB, free: 5.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.4512, allocations: 74.27 kB / 0.5414 GB, free: 5.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.04478/0.4959, allocations: 15.92 MB / 0.5569 GB, free: 6.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.481e-05/0.4961, allocations: 16 kB / 0.5569 GB, free: 6.082 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00164/0.4977, allocations: 0.9279 MB / 0.5579 GB, free: 5.102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4978, allocations: 12.72 kB / 0.5579 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.498, allocations: 94.88 kB / 0.558 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009933/0.499, allocations: 0.5664 MB / 0.5585 GB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.4991, allocations: 84.39 kB / 0.5586 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.4992, allocations: 28 kB / 0.5586 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006333/0.4998, allocations: 326 kB / 0.5589 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/0.5006, allocations: 488.7 kB / 0.5594 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.5007, allocations: 0 / 0.5594 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.5007, allocations: 7.922 kB / 0.5594 GB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.5007, allocations: 12 kB / 0.5594 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.5036, allocations: 1.901 MB / 0.5613 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008409/0.5045, allocations: 411.7 kB / 0.5617 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.5048, allocations: 156.8 kB / 0.5618 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.118e-05/0.5048, allocations: 10.14 kB / 0.5618 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.5052, allocations: 223.9 kB / 0.562 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 2.083e-06/0.5052, allocations: 3.938 kB / 0.562 GB, free: 0.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007325/0.506, allocations: 380.7 kB / 0.5624 GB, free: 252 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.5061, allocations: 183.9 kB / 0.5626 GB, free: 24 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.5067, allocations: 459.5 kB / 0.563 GB, free: 15.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.3e-05/0.5068, allocations: 29.7 kB / 0.563 GB, free: 15.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.507, allocations: 244.8 kB / 0.5633 GB, free: 15.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.5072, allocations: 137.9 kB / 0.5634 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.5072, allocations: 4 kB / 0.5634 GB, free: 15.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.5074, allocations: 382.7 kB / 0.5638 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.5076, allocations: 137 kB / 0.5639 GB, free: 14.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.508, allocations: 252.4 kB / 0.5641 GB, free: 14.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.5083, allocations: 148.8 kB / 0.5643 GB, free: 14.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.5083, allocations: 4 kB / 0.5643 GB, free: 14.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007308/0.509, allocations: 458.2 kB / 0.5647 GB, free: 13.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003687/0.5094, allocations: 0.7903 MB / 0.5655 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5094, allocations: 4 kB / 0.5655 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.5094, allocations: 4 kB / 0.5655 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.51, allocations: 127.7 kB / 0.5656 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.51, allocations: 4 kB / 0.5656 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.5105, allocations: 71.7 kB / 0.5657 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.5106, allocations: 20 kB / 0.5657 GB, free: 12.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.5106, allocations: 4 kB / 0.5657 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006282/0.5112, allocations: 341.4 kB / 0.5661 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.5112, allocations: 3.938 kB / 0.5661 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.5112, allocations: 4 kB / 0.5661 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.5117, allocations: 95.89 kB / 0.5661 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5117, allocations: 8.25 kB / 0.5662 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.5121, allocations: 51.56 kB / 0.5662 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.5121, allocations: 16 kB / 0.5662 GB, free: 12.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0001646/0.5123, allocations: 128.8 kB / 0.5663 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.5124, allocations: 67.16 kB / 0.5664 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.5125, allocations: 70.3 kB / 0.5665 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.5126, allocations: 4 kB / 0.5665 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.5126, allocations: 7.875 kB / 0.5665 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.5126, allocations: 3.984 kB / 0.5665 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.5133, allocations: 0.5599 MB / 0.567 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5133, allocations: 0 / 0.567 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.5138, allocations: 95.89 kB / 0.5671 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5138, allocations: 4 kB / 0.5671 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.5139, allocations: 3.984 kB / 0.5671 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.5139, allocations: 7.906 kB / 0.5671 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.5139, allocations: 4 kB / 0.5671 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009483/0.5148, allocations: 0.6033 MB / 0.5677 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.5151, allocations: 196.1 kB / 0.5679 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.5152, allocations: 4 kB / 0.5679 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.5157, allocations: 63.94 kB / 0.568 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.5158, allocations: 27.95 kB / 0.568 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.5159, allocations: 15.98 kB / 0.568 GB, free: 10.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003864/0.5163, allocations: 355.1 kB / 0.5684 GB, free: 9.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006073/0.5169, allocations: 203.2 kB / 0.5686 GB, free: 9.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001825/0.5171, allocations: 107.2 kB / 0.5687 GB, free: 9.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009686/0.5181, allocations: 0.6322 MB / 0.5693 GB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5181, allocations: 0 / 0.5693 GB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.5184, allocations: 187.8 kB / 0.5695 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.5192, allocations: 155.9 kB / 0.5696 GB, free: 8.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.5211, allocations: 0.8448 MB / 0.5704 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007094/0.5218, allocations: 0.9762 MB / 0.5714 GB, free: 6.695 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5218, allocations: 0 / 0.5714 GB, free: 6.695 MB / 410.7 MB Notification: Performance of Templates: time 0.0178/0.5396, allocations: 10.2 MB / 0.5814 GB, free: 12.51 MB / 426.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe 2>&1)