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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.001271, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4357/0.4357, allocations: 55.02 MB / 325.4 MB, free: 0.7227 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005445/0.0005445, allocations: 15.94 kB / 396.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.4999, allocations: 60.72 MB / 457.4 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Validation.LimPIDReset): time 0.004359/0.5044, allocations: 3.661 MB / 461 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00443/0.5088, allocations: 1.613 MB / 462.6 MB, free: 37.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009847/0.5098, allocations: 35.19 kB / 462.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.5103, allocations: 121.6 kB / 462.8 MB, free: 37.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009596/0.5113, allocations: 169.6 kB / 463 MB, free: 37.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.5133, allocations: 0.5549 MB / 463.5 MB, free: 36.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.5153, allocations: 1.081 MB / 464.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008491/0.5161, allocations: 353.5 kB / 464.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007368/0.5169, allocations: 344.5 kB / 465.3 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.5173, allocations: 340.4 kB / 465.6 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.5174, allocations: 31.53 kB / 465.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.5175, allocations: 26.5 kB / 465.7 MB, free: 35.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.5176, allocations: 135.3 kB / 465.8 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.5177, allocations: 179.5 kB / 466 MB, free: 35.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005888/0.5183, allocations: 0.8186 MB / 466.8 MB, free: 35.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.5183, allocations: 0 / 466.8 MB, free: 35.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5184, allocations: 1.312 kB / 466.8 MB, free: 35.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.5184, allocations: 0 / 466.8 MB, free: 35.55 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002029/0.5204, allocations: 1.268 MB / 468.1 MB, free: 34.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.5205, allocations: 8.75 kB / 468.1 MB, free: 34.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.5207, allocations: 125.1 kB / 468.2 MB, free: 34.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.5219, allocations: 0.7118 MB / 468.9 MB, free: 34.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.895e-05/0.5221, allocations: 87.53 kB / 469 MB, free: 34.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/0.5222, allocations: 74.22 kB / 469.1 MB, free: 34.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.5234, allocations: 0.7458 MB / 469.8 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.5234, allocations: 2.844 kB / 469.8 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.5235, allocations: 29.66 kB / 469.8 MB, free: 33.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.5235, allocations: 17.8 kB / 469.9 MB, free: 33.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.5246, allocations: 0.5287 MB / 470.4 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/0.5284, allocations: 2.33 MB / 472.7 MB, free: 32.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.5299, allocations: 0.6361 MB / 473.3 MB, free: 32.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.5305, allocations: 279.4 kB / 473.6 MB, free: 31.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.139e-05/0.5306, allocations: 12.34 kB / 473.6 MB, free: 31.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008448/0.5315, allocations: 332.2 kB / 474 MB, free: 31.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.597e-06/0.5315, allocations: 3.469 kB / 474 MB, free: 31.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001883/0.5334, allocations: 0.7712 MB / 474.7 MB, free: 31.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/0.5335, allocations: 83.67 kB / 474.8 MB, free: 31.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.5345, allocations: 0.7608 MB / 475.6 MB, free: 31.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.5346, allocations: 36.77 kB / 475.6 MB, free: 30.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.5349, allocations: 453.1 kB / 476.1 MB, free: 30.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.5351, allocations: 205.8 kB / 476.3 MB, free: 30.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.5351, allocations: 15.72 kB / 476.3 MB, free: 30.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.5352, allocations: 326.3 kB / 476.6 MB, free: 30.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.5356, allocations: 201.6 kB / 476.8 MB, free: 30.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.5361, allocations: 316.2 kB / 477.1 MB, free: 29.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.5365, allocations: 238.5 kB / 477.3 MB, free: 29.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5365, allocations: 0 / 477.3 MB, free: 29.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00116/0.5377, allocations: 0.6663 MB / 478 MB, free: 29.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.5378, allocations: 160.4 kB / 478.1 MB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.5378, allocations: 4.312 kB / 478.2 MB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/0.5379, allocations: 6.844 kB / 478.2 MB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/0.5386, allocations: 151.5 kB / 478.3 MB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-05/0.5386, allocations: 6.531 kB / 478.3 MB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.5391, allocations: 77.02 kB / 478.4 MB, free: 29.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.5392, allocations: 19.81 kB / 478.4 MB, free: 29.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5392, allocations: 6.422 kB / 478.4 MB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000843/0.5401, allocations: 0.4976 MB / 478.9 MB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5401, allocations: 2.875 kB / 478.9 MB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.5401, allocations: 5.906 kB / 478.9 MB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.5406, allocations: 132.2 kB / 479 MB, free: 29.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.5406, allocations: 15.08 kB / 479.1 MB, free: 29.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.541, allocations: 63.7 kB / 479.1 MB, free: 28.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.541, allocations: 22.56 kB / 479.1 MB, free: 28.97 MB / 382.1 MB 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,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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.0004088/0.5414, allocations: 292.2 kB / 479.4 MB, free: 28.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.5416, allocations: 96.09 kB / 479.5 MB, free: 28.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.5418, allocations: 103.6 kB / 479.6 MB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.5418, allocations: 12.19 kB / 479.6 MB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/0.5418, allocations: 4.828 kB / 479.6 MB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.5419, allocations: 3.844 kB / 479.6 MB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.5441, allocations: 1.454 MB / 481.1 MB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.5442, allocations: 0 / 481.1 MB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.5447, allocations: 108.3 kB / 481.2 MB, free: 27.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.5447, allocations: 7.188 kB / 481.2 MB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.5447, allocations: 19.23 kB / 481.2 MB, free: 27.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.5447, allocations: 2.719 kB / 481.2 MB, free: 27.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5448, allocations: 0 / 481.2 MB, free: 27.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.5463, allocations: 0.976 MB / 482.2 MB, free: 27.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/0.5466, allocations: 222.4 kB / 482.4 MB, free: 27.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5467, allocations: 17.66 kB / 482.4 MB, free: 27.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.5471, allocations: 48.47 kB / 482.5 MB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.5472, allocations: 32.61 kB / 482.5 MB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.5473, allocations: 20.91 kB / 482.5 MB, free: 27.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006536/0.5479, allocations: 0.517 MB / 483.1 MB, free: 26.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5479, allocations: 4 kB / 483.1 MB, free: 26.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007905/0.5487, allocations: 279.5 kB / 483.3 MB, free: 26.81 MB / 382.1 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 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0001562/0.5489, allocations: 119.5 kB / 483.5 MB, free: 26.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.5504, allocations: 0.784 MB / 484.2 MB, free: 26.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5504, allocations: 128 / 484.2 MB, free: 26.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.551, allocations: 274 kB / 484.5 MB, free: 26.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.5523, allocations: 251.7 kB / 484.8 MB, free: 26.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.5556, allocations: 1.849 MB / 486.6 MB, free: 25.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.5562, allocations: 1 MB / 487.6 MB, free: 24.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007197/0.5569, allocations: 121.5 kB / 487.7 MB, free: 24.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.5572, allocations: 66.66 kB / 487.8 MB, free: 24.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.5572, allocations: 0 / 487.8 MB, free: 24.45 MB / 382.1 MB Notification: Performance of Templates: time 0.02856/0.5858, allocations: 8.837 MB / 496.6 MB, free: 23.86 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: