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.0008133/0.0008134, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007243/0.007243, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.622/1.622, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4547/0.4547, allocations: 55.01 MB / 325.7 MB, free: 0.5977 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.0005598/0.0005597, allocations: 16.56 kB / 397.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4146, allocations: 60.72 MB / 458 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Validation.LimPIDReset): time 0.004297/0.419, allocations: 3.898 MB / 461.9 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.4224, allocations: 1.638 MB / 463.5 MB, free: 37.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006428/0.423, allocations: 36.16 kB / 463.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.4234, allocations: 120.3 kB / 463.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.424, allocations: 184.3 kB / 463.8 MB, free: 37.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.4256, allocations: 0.6665 MB / 464.5 MB, free: 37.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.4268, allocations: 1.182 MB / 465.7 MB, free: 36.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006834/0.4275, allocations: 484.3 kB / 466.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004724/0.428, allocations: 360.8 kB / 466.5 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.4284, allocations: 361.8 kB / 466.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.772e-05/0.4285, allocations: 26.09 kB / 466.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-05/0.4285, allocations: 28.69 kB / 466.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.4287, allocations: 141.1 kB / 467.1 MB, free: 36.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.4289, allocations: 419.9 kB / 467.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.4296, allocations: 1.029 MB / 468.5 MB, free: 35.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4296, allocations: 4.281 kB / 468.5 MB, free: 35.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4296, allocations: 0 / 468.5 MB, free: 35.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.4296, allocations: 0 / 468.5 MB, free: 35.45 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.0019/0.4315, allocations: 1.253 MB / 469.8 MB, free: 34.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.368e-05/0.4316, allocations: 8.469 kB / 469.8 MB, free: 34.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.4317, allocations: 125.2 kB / 469.9 MB, free: 34.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.4327, allocations: 0.7534 MB / 470.6 MB, free: 34.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.4328, allocations: 81.77 kB / 470.7 MB, free: 34.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.433, allocations: 76.66 kB / 470.8 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.4343, allocations: 0.7557 MB / 471.5 MB, free: 33.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.4343, allocations: 1.828 kB / 471.5 MB, free: 33.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.4344, allocations: 29.03 kB / 471.6 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.4344, allocations: 15.19 kB / 471.6 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.4356, allocations: 0.5397 MB / 472.1 MB, free: 33.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003516/0.4391, allocations: 2.33 MB / 474.5 MB, free: 32.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.4404, allocations: 0.6342 MB / 475.1 MB, free: 31.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/0.4409, allocations: 278.9 kB / 475.4 MB, free: 31.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.441, allocations: 10.25 kB / 475.4 MB, free: 31.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000741/0.4417, allocations: 330.5 kB / 475.7 MB, free: 31.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.226e-06/0.4418, allocations: 0 / 475.7 MB, free: 31.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001657/0.4434, allocations: 0.7856 MB / 476.5 MB, free: 31.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.4435, allocations: 84.67 kB / 476.6 MB, free: 31.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007778/0.4443, allocations: 0.7642 MB / 477.3 MB, free: 30.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.4443, allocations: 37.36 kB / 477.4 MB, free: 30.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.4446, allocations: 455.6 kB / 477.8 MB, free: 30.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.4447, allocations: 203.6 kB / 478 MB, free: 30.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.4448, allocations: 57.09 kB / 478.1 MB, free: 30.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.4449, allocations: 333 kB / 478.4 MB, free: 29.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.4453, allocations: 212.1 kB / 478.6 MB, free: 29.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.4458, allocations: 311.9 kB / 478.9 MB, free: 29.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/0.4467, allocations: 0.5309 MB / 479.4 MB, free: 29.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4467, allocations: 0 / 479.4 MB, free: 29.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00115/0.4478, allocations: 0.6733 MB / 480.1 MB, free: 29.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.729e-05/0.4479, allocations: 163.2 kB / 480.3 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.448, allocations: 2.938 kB / 480.3 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.448, allocations: 6.406 kB / 480.3 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.4486, allocations: 147.6 kB / 480.4 MB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.4487, allocations: 5.844 kB / 480.4 MB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.4491, allocations: 85.89 kB / 480.5 MB, free: 28.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.4492, allocations: 19.25 kB / 480.5 MB, free: 28.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.4492, allocations: 6.281 kB / 480.5 MB, free: 28.81 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007657/0.45, allocations: 0.4956 MB / 481 MB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.45, allocations: 9 kB / 481 MB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.952e-06/0.45, allocations: 6.125 kB / 481 MB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.4505, allocations: 130.3 kB / 481.2 MB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4505, allocations: 14.62 kB / 481.2 MB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.4509, allocations: 66.56 kB / 481.3 MB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.4509, allocations: 22.75 kB / 481.3 MB, free: 28.53 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.000322/0.4512, allocations: 296 kB / 481.6 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4514, allocations: 95.41 kB / 481.7 MB, free: 28.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.4516, allocations: 104.4 kB / 481.8 MB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.4516, allocations: 11.09 kB / 481.8 MB, free: 28.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.4516, allocations: 0 / 481.8 MB, free: 28.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4516, allocations: 4.031 kB / 481.8 MB, free: 28.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.4536, allocations: 1.459 MB / 483.2 MB, free: 27.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4536, allocations: 0 / 483.2 MB, free: 27.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.4541, allocations: 114.1 kB / 483.3 MB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.4541, allocations: 4.562 kB / 483.4 MB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.4542, allocations: 14.97 kB / 483.4 MB, free: 27.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4542, allocations: 3.125 kB / 483.4 MB, free: 27.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4542, allocations: 0.75 kB / 483.4 MB, free: 27.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.4557, allocations: 0.985 MB / 484.4 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.4559, allocations: 222.8 kB / 484.6 MB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.342e-05/0.456, allocations: 14.62 kB / 484.6 MB, free: 26.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.4565, allocations: 41.7 kB / 484.6 MB, free: 26.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.4566, allocations: 44.94 kB / 484.7 MB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.4566, allocations: 17.97 kB / 484.7 MB, free: 26.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005592/0.4572, allocations: 0.5216 MB / 485.2 MB, free: 26.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4572, allocations: 1.031 kB / 485.2 MB, free: 26.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006983/0.4579, allocations: 276.7 kB / 485.5 MB, free: 26.36 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.000126/0.458, allocations: 114.4 kB / 485.6 MB, free: 26.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.4597, allocations: 0.796 MB / 486.4 MB, free: 25.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4597, allocations: 1.281 kB / 486.4 MB, free: 25.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.4603, allocations: 277.4 kB / 486.7 MB, free: 25.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.4616, allocations: 261.9 kB / 486.9 MB, free: 25.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.4643, allocations: 1.955 MB / 488.9 MB, free: 24.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.4647, allocations: 0.9994 MB / 489.9 MB, free: 23.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004971/0.4653, allocations: 120.9 kB / 490 MB, free: 23.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.4655, allocations: 66.64 kB / 490.1 MB, free: 23.87 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4655, allocations: 0 / 490.1 MB, free: 23.87 MB / 382.1 MB Notification: Performance of Templates: time 0.02197/0.4874, allocations: 9.146 MB / 499.2 MB, free: 23.25 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: