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.001602/0.001602, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4231/0.4231, allocations: 54.95 MB / 324.7 MB, free: 15.93 MB / 270.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.002976/0.002976, allocations: 71.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1633, allocations: 59.59 MB / 454.9 MB, free: 148 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Validation.LimPIDReset): time 0.2521/0.4155, allocations: 4.325 MB / 459.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004052/0.4196, allocations: 1.691 MB / 460.9 MB, free: 37.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009449/0.4206, allocations: 35.66 kB / 461 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004742/0.4211, allocations: 169 kB / 461.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007386/0.4219, allocations: 231.1 kB / 461.4 MB, free: 37.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.4233, allocations: 0.717 MB / 462.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.4246, allocations: 1.258 MB / 463.3 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008035/0.4254, allocations: 0.5011 MB / 463.8 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006781/0.4261, allocations: 470 kB / 464.3 MB, free: 35.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.4265, allocations: 470.3 kB / 464.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.4267, allocations: 103.4 kB / 464.9 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.4268, allocations: 103.6 kB / 465 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.427, allocations: 243 kB / 465.2 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.4273, allocations: 495.6 kB / 465.7 MB, free: 34.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008123/0.4281, allocations: 1.129 MB / 466.8 MB, free: 34.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4282, allocations: 0 / 466.8 MB, free: 34.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4282, allocations: 0 / 466.8 MB, free: 34.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.4282, allocations: 0 / 466.8 MB, free: 34.3 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.002156/0.4304, allocations: 1.42 MB / 468.2 MB, free: 33.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4304, allocations: 14.03 kB / 468.2 MB, free: 33.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.4306, allocations: 121.8 kB / 468.4 MB, free: 33.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.4316, allocations: 0.7468 MB / 469.1 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.191e-05/0.4317, allocations: 81.16 kB / 469.2 MB, free: 32.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/0.4318, allocations: 82.31 kB / 469.3 MB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.4329, allocations: 0.7454 MB / 470 MB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.433, allocations: 0 / 470 MB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-05/0.433, allocations: 27.44 kB / 470 MB, free: 32.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.433, allocations: 19.08 kB / 470.1 MB, free: 32.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.4341, allocations: 0.5348 MB / 470.6 MB, free: 32.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.4374, allocations: 2.297 MB / 472.9 MB, free: 30.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.4388, allocations: 0.6219 MB / 473.5 MB, free: 30.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/0.4392, allocations: 275.2 kB / 473.8 MB, free: 30.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.4393, allocations: 10.41 kB / 473.8 MB, free: 30.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006637/0.44, allocations: 323.7 kB / 474.1 MB, free: 30.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.054e-06/0.44, allocations: 0 / 474.1 MB, free: 30.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001455/0.4414, allocations: 0.7571 MB / 474.9 MB, free: 30 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.4415, allocations: 86.72 kB / 475 MB, free: 29.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009111/0.4424, allocations: 0.7682 MB / 475.7 MB, free: 29.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.4425, allocations: 41.05 kB / 475.8 MB, free: 29.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.4428, allocations: 454.8 kB / 476.2 MB, free: 29.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.443, allocations: 205 kB / 476.4 MB, free: 29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.4431, allocations: 112.9 kB / 476.5 MB, free: 28.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.4432, allocations: 330 kB / 476.8 MB, free: 28.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.4437, allocations: 215 kB / 477 MB, free: 28.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.4442, allocations: 301.7 kB / 477.3 MB, free: 28.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/0.4451, allocations: 0.5191 MB / 477.9 MB, free: 28.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4451, allocations: 0 / 477.9 MB, free: 28.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00121/0.4463, allocations: 0.6669 MB / 478.5 MB, free: 27.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.4463, allocations: 9.719 kB / 478.5 MB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4464, allocations: 2.938 kB / 478.5 MB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.4464, allocations: 2.938 kB / 478.5 MB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.447, allocations: 148.2 kB / 478.7 MB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.4471, allocations: 6.906 kB / 478.7 MB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.4475, allocations: 75.05 kB / 478.8 MB, free: 27.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.4476, allocations: 21 kB / 478.8 MB, free: 27.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004788/0.4481, allocations: 345.6 kB / 479.1 MB, free: 27.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003372/0.4484, allocations: 274 kB / 479.4 MB, free: 27.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005997/0.449, allocations: 475.5 kB / 479.9 MB, free: 27.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.449, allocations: 0 / 479.9 MB, free: 27.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0008096/0.4498, allocations: 0.6007 MB / 480.5 MB, free: 26.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.4499, allocations: 5.406 kB / 480.5 MB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.4499, allocations: 2.719 kB / 480.5 MB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.4499, allocations: 13.25 kB / 480.5 MB, free: 26.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.4504, allocations: 133.1 kB / 480.6 MB, free: 26.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4504, allocations: 6.719 kB / 480.6 MB, free: 26.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.4507, allocations: 55.28 kB / 480.7 MB, free: 26.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.4508, allocations: 21.19 kB / 480.7 MB, free: 26.73 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.4509, allocations: 216.4 kB / 480.9 MB, free: 26.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.4511, allocations: 96.44 kB / 481 MB, free: 26.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.4513, allocations: 103.8 kB / 481.1 MB, free: 26.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.4513, allocations: 9.531 kB / 481.1 MB, free: 26.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.4513, allocations: 1.5 kB / 481.1 MB, free: 26.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.4513, allocations: 6.578 kB / 481.1 MB, free: 26.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.4534, allocations: 1.451 MB / 482.6 MB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4534, allocations: 0 / 482.6 MB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.4539, allocations: 102 kB / 482.7 MB, free: 25.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.4539, allocations: 3.469 kB / 482.7 MB, free: 25.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.454, allocations: 16.48 kB / 482.7 MB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.454, allocations: 4.703 kB / 482.7 MB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.454, allocations: 2.625 kB / 482.7 MB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.4554, allocations: 0.9596 MB / 483.7 MB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.4557, allocations: 224.9 kB / 483.9 MB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.4558, allocations: 13.91 kB / 483.9 MB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.4562, allocations: 32.27 kB / 483.9 MB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.4563, allocations: 37.33 kB / 484 MB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.4564, allocations: 18.45 kB / 484 MB, free: 24.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008214/0.4572, allocations: 0.5293 MB / 484.5 MB, free: 24.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4572, allocations: 0.5625 kB / 484.5 MB, free: 24.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009786/0.4582, allocations: 280.7 kB / 484.8 MB, free: 24.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001948/0.4584, allocations: 117.8 kB / 484.9 MB, free: 24.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.4604, allocations: 0.8104 MB / 485.7 MB, free: 24.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4605, allocations: 0 / 485.7 MB, free: 24.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.461, allocations: 266.5 kB / 486 MB, free: 24.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.4623, allocations: 281.2 kB / 486.2 MB, free: 24.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.465, allocations: 1.595 MB / 487.8 MB, free: 23.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.4655, allocations: 0.9981 MB / 488.8 MB, free: 22.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005074/0.466, allocations: 120.2 kB / 488.9 MB, free: 22.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.4662, allocations: 65.7 kB / 489 MB, free: 22.45 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4662, allocations: 1.375 kB / 489 MB, free: 22.45 MB / 382.1 MB Notification: Performance of Templates: time 0.02191/0.4881, allocations: 9.747 MB / 498.8 MB, free: 21.8 MB / 382.1 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)