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.001588/0.001588, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002665/0.002665, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.666/1.666, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4818/0.4818, allocations: 54.93 MB / 324.4 MB, free: 8 kB / 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.00139/0.00139, allocations: 67.91 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1464, allocations: 59.6 MB / 454.5 MB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Validation.LimPIDReset): time 0.2888/0.4352, allocations: 4.328 MB / 458.8 MB, free: 37.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.439, allocations: 1.651 MB / 460.4 MB, free: 37.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007229/0.4398, allocations: 38.31 kB / 460.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.4404, allocations: 126.6 kB / 460.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006661/0.4411, allocations: 179 kB / 460.8 MB, free: 36.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.4424, allocations: 0.6577 MB / 461.4 MB, free: 36.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009752/0.4433, allocations: 1.269 MB / 462.7 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006676/0.444, allocations: 0.4944 MB / 463.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.4444, allocations: 481.7 kB / 463.7 MB, free: 35.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.4448, allocations: 476.7 kB / 464.1 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.4449, allocations: 102.2 kB / 464.2 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.4451, allocations: 105.4 kB / 464.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.4452, allocations: 235.7 kB / 464.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.4455, allocations: 0.4891 MB / 465.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009126/0.4465, allocations: 1.119 MB / 466.2 MB, free: 34.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4465, allocations: 0.625 kB / 466.2 MB, free: 34.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4465, allocations: 3.219 kB / 466.2 MB, free: 34.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.4465, allocations: 0 / 466.2 MB, free: 34.4 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.002104/0.4486, allocations: 1.421 MB / 467.6 MB, free: 33.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.4487, allocations: 8.625 kB / 467.6 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.4489, allocations: 130.5 kB / 467.7 MB, free: 33.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.4499, allocations: 0.7464 MB / 468.5 MB, free: 32.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.45, allocations: 84.22 kB / 468.6 MB, free: 32.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.4501, allocations: 79.62 kB / 468.6 MB, free: 32.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.4514, allocations: 0.7431 MB / 469.4 MB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.4514, allocations: 0 / 469.4 MB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.117e-05/0.4515, allocations: 29.66 kB / 469.4 MB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.4515, allocations: 18.78 kB / 469.4 MB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.4526, allocations: 0.5269 MB / 470 MB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.4558, allocations: 2.295 MB / 472.3 MB, free: 30.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.4572, allocations: 0.6262 MB / 472.9 MB, free: 30.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004617/0.4576, allocations: 271.1 kB / 473.2 MB, free: 30.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.92e-05/0.4577, allocations: 9.344 kB / 473.2 MB, free: 30.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006577/0.4584, allocations: 335.4 kB / 473.5 MB, free: 30.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.705e-06/0.4584, allocations: 0 / 473.5 MB, free: 30.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001488/0.4599, allocations: 0.7469 MB / 474.2 MB, free: 30.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.46, allocations: 91.28 kB / 474.3 MB, free: 30 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008098/0.4608, allocations: 0.7677 MB / 475.1 MB, free: 29.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.4608, allocations: 42.33 kB / 475.1 MB, free: 29.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.4611, allocations: 446.9 kB / 475.6 MB, free: 29.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.4613, allocations: 202.7 kB / 475.8 MB, free: 29.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.4615, allocations: 120.2 kB / 475.9 MB, free: 29.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4616, allocations: 326.7 kB / 476.2 MB, free: 28.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.462, allocations: 220.6 kB / 476.4 MB, free: 28.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.4625, allocations: 311.1 kB / 476.7 MB, free: 28.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008586/0.4634, allocations: 0.5071 MB / 477.2 MB, free: 28.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4634, allocations: 2.562 kB / 477.2 MB, free: 28.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001113/0.4645, allocations: 0.6653 MB / 477.9 MB, free: 27.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4645, allocations: 9.844 kB / 477.9 MB, free: 27.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4645, allocations: 3.281 kB / 477.9 MB, free: 27.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.4646, allocations: 8.688 kB / 477.9 MB, free: 27.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/0.4652, allocations: 144.5 kB / 478.1 MB, free: 27.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.4652, allocations: 8.719 kB / 478.1 MB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.4656, allocations: 68.5 kB / 478.1 MB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.4657, allocations: 24.64 kB / 478.2 MB, free: 27.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004488/0.4661, allocations: 338.1 kB / 478.5 MB, free: 27.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002991/0.4665, allocations: 277.1 kB / 478.8 MB, free: 27.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005758/0.467, allocations: 471.8 kB / 479.2 MB, free: 27.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.467, allocations: 0 / 479.2 MB, free: 27.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0008177/0.4679, allocations: 0.611 MB / 479.8 MB, free: 26.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.4679, allocations: 6.797 kB / 479.8 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4679, allocations: 2.625 kB / 479.8 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.4679, allocations: 9.188 kB / 479.9 MB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.4684, allocations: 129.1 kB / 480 MB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4684, allocations: 9.594 kB / 480 MB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.4688, allocations: 57.02 kB / 480 MB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.4688, allocations: 19.53 kB / 480.1 MB, free: 26.83 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.0001858/0.469, allocations: 213 kB / 480.3 MB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4691, allocations: 96.67 kB / 480.4 MB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.4693, allocations: 108.1 kB / 480.5 MB, free: 26.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4693, allocations: 6.344 kB / 480.5 MB, free: 26.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.4693, allocations: 3.938 kB / 480.5 MB, free: 26.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.4693, allocations: 4 kB / 480.5 MB, free: 26.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.4713, allocations: 1.449 MB / 481.9 MB, free: 25.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4713, allocations: 0.5 kB / 481.9 MB, free: 25.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.4718, allocations: 105 kB / 482 MB, free: 25.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4718, allocations: 9.188 kB / 482 MB, free: 25.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.4719, allocations: 16.84 kB / 482.1 MB, free: 25.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4719, allocations: 0 / 482.1 MB, free: 25.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4719, allocations: 0 / 482.1 MB, free: 25.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.4733, allocations: 0.959 MB / 483 MB, free: 25.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.4736, allocations: 226.5 kB / 483.2 MB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.092e-05/0.4737, allocations: 12.47 kB / 483.3 MB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.4741, allocations: 30.14 kB / 483.3 MB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4742, allocations: 38.11 kB / 483.3 MB, free: 25.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.4743, allocations: 20.84 kB / 483.3 MB, free: 25.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007052/0.475, allocations: 0.5269 MB / 483.9 MB, free: 24.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.475, allocations: 0 / 483.9 MB, free: 24.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007698/0.4758, allocations: 276.8 kB / 484.1 MB, free: 24.71 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.0001484/0.4759, allocations: 124.8 kB / 484.3 MB, free: 24.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.4777, allocations: 0.807 MB / 485.1 MB, free: 24.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4777, allocations: 1.5 kB / 485.1 MB, free: 24.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005574/0.4783, allocations: 268.5 kB / 485.3 MB, free: 24.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.4797, allocations: 284.9 kB / 485.6 MB, free: 24.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.4827, allocations: 1.933 MB / 487.5 MB, free: 22.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.4832, allocations: 1.002 MB / 488.5 MB, free: 22.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006227/0.4839, allocations: 119.1 kB / 488.7 MB, free: 22.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.4841, allocations: 66.31 kB / 488.7 MB, free: 22.21 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4841, allocations: 1.469 kB / 488.7 MB, free: 22.21 MB / 382.1 MB Notification: Performance of Templates: time 0.02291/0.507, allocations: 9.644 MB / 498.4 MB, free: 21.59 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)