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.00812/0.00812, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001549/0.001549, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.543/1.543, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2724/0.2724, allocations: 54.97 MB / 324.9 MB, free: 4.848 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.001505/0.001505, allocations: 79.81 kB / 456.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1649, allocations: 59.6 MB / 0.5037 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Validation.LimPIDReset): time 0.005737/0.1707, allocations: 4.326 MB / 0.5079 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0037/0.1744, allocations: 1.699 MB / 0.5096 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006655/0.1751, allocations: 35.81 kB / 0.5096 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.1756, allocations: 174.1 kB / 0.5098 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006863/0.1763, allocations: 226.1 kB / 0.51 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1779, allocations: 0.7207 MB / 0.5107 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.1793, allocations: 1.265 MB / 0.5119 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007525/0.18, allocations: 0.5118 MB / 0.5124 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005765/0.1806, allocations: 469.9 kB / 0.5129 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.1811, allocations: 465.4 kB / 0.5133 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.1813, allocations: 104 kB / 0.5134 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1814, allocations: 104 kB / 0.5135 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.1816, allocations: 243 kB / 0.5137 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.1821, allocations: 0.4892 MB / 0.5142 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.1833, allocations: 1.175 MB / 0.5154 GB, free: 11.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1833, allocations: 0 / 0.5154 GB, free: 11.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1833, allocations: 3.938 kB / 0.5154 GB, free: 11.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.1833, allocations: 0 / 0.5154 GB, free: 11.07 MB / 414.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.002473/0.1858, allocations: 1.43 MB / 0.5168 GB, free: 9.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1859, allocations: 8.031 kB / 0.5168 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.1861, allocations: 123.4 kB / 0.5169 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.1874, allocations: 0.7782 MB / 0.5177 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.1876, allocations: 84.2 kB / 0.5177 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.1877, allocations: 75.94 kB / 0.5178 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.189, allocations: 0.7445 MB / 0.5185 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.1891, allocations: 0 / 0.5185 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/0.1891, allocations: 32 kB / 0.5186 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.1892, allocations: 20 kB / 0.5186 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.1903, allocations: 0.5165 MB / 0.5191 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003482/0.1938, allocations: 2.289 MB / 0.5213 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.1953, allocations: 0.6193 MB / 0.5219 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005336/0.1958, allocations: 278.3 kB / 0.5222 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.1959, allocations: 8.562 kB / 0.5222 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006672/0.1965, allocations: 323.1 kB / 0.5225 GB, free: 3.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 3.607e-06/0.1966, allocations: 0 / 0.5225 GB, free: 3.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001766/0.1983, allocations: 0.7593 MB / 0.5233 GB, free: 2.746 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.1984, allocations: 89.67 kB / 0.5233 GB, free: 2.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008885/0.1993, allocations: 0.7639 MB / 0.5241 GB, free: 1.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.1994, allocations: 41.69 kB / 0.5241 GB, free: 1.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.1997, allocations: 456.4 kB / 0.5246 GB, free: 1.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.1999, allocations: 201 kB / 0.5248 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.2001, allocations: 110.3 kB / 0.5249 GB, free: 1.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2002, allocations: 330 kB / 0.5252 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.2007, allocations: 215.4 kB / 0.5254 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.2013, allocations: 312.4 kB / 0.5257 GB, free: 168 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3368/0.5381, allocations: 0.5091 MB / 0.5262 GB, free: 24.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.5382, allocations: 0 / 0.5262 GB, free: 24.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001456/0.5396, allocations: 0.6645 MB / 0.5268 GB, free: 24.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.5397, allocations: 12.31 kB / 0.5268 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5397, allocations: 2.156 kB / 0.5268 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.5397, allocations: 6.219 kB / 0.5268 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.5404, allocations: 146 kB / 0.527 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.5404, allocations: 8.406 kB / 0.527 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004461/0.5409, allocations: 69.27 kB / 0.5271 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.5409, allocations: 20.3 kB / 0.5271 GB, free: 24.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005714/0.5415, allocations: 344.2 kB / 0.5274 GB, free: 24.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003738/0.5419, allocations: 278 kB / 0.5277 GB, free: 24.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006311/0.5425, allocations: 469.7 kB / 0.5281 GB, free: 24.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.5425, allocations: 1.625 kB / 0.5281 GB, free: 24.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009117/0.5434, allocations: 0.6038 MB / 0.5287 GB, free: 24.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5435, allocations: 6.062 kB / 0.5287 GB, free: 24.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.5435, allocations: 8.359 kB / 0.5287 GB, free: 24.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.5435, allocations: 9.734 kB / 0.5287 GB, free: 24.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.544, allocations: 135.2 kB / 0.5289 GB, free: 24.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5441, allocations: 5.312 kB / 0.5289 GB, free: 24.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.5444, allocations: 52.23 kB / 0.5289 GB, free: 24.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.5445, allocations: 23.98 kB / 0.5289 GB, free: 24.61 MB / 414.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.0001661/0.5446, allocations: 220 kB / 0.5291 GB, free: 24.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.5447, allocations: 97.47 kB / 0.5292 GB, free: 24.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.545, allocations: 104 kB / 0.5293 GB, free: 24.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.545, allocations: 5.469 kB / 0.5293 GB, free: 24.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.545, allocations: 5.062 kB / 0.5293 GB, free: 24.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.545, allocations: 2.766 kB / 0.5293 GB, free: 24.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.5472, allocations: 1.444 MB / 0.5308 GB, free: 24.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5473, allocations: 0.9375 kB / 0.5308 GB, free: 24.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.5478, allocations: 106.2 kB / 0.5309 GB, free: 24.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.5478, allocations: 1.094 kB / 0.5309 GB, free: 24.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.5479, allocations: 21.03 kB / 0.5309 GB, free: 24.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.5479, allocations: 2.625 kB / 0.5309 GB, free: 24.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5479, allocations: 0 / 0.5309 GB, free: 24.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.5496, allocations: 0.9646 MB / 0.5318 GB, free: 23.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.5499, allocations: 223.2 kB / 0.532 GB, free: 23.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.55, allocations: 16 kB / 0.5321 GB, free: 23.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.5504, allocations: 31.53 kB / 0.5321 GB, free: 23.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5505, allocations: 38.73 kB / 0.5321 GB, free: 23.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.5505, allocations: 19.58 kB / 0.5321 GB, free: 23.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006699/0.5512, allocations: 0.5214 MB / 0.5326 GB, free: 23.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5512, allocations: 0 / 0.5326 GB, free: 23.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007584/0.552, allocations: 282.6 kB / 0.5329 GB, free: 23.21 MB / 414.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.0001487/0.5521, allocations: 114.4 kB / 0.533 GB, free: 23.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.5537, allocations: 0.7885 MB / 0.5338 GB, free: 22.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5537, allocations: 0 / 0.5338 GB, free: 22.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005626/0.5543, allocations: 271 kB / 0.5341 GB, free: 22.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.5556, allocations: 286.1 kB / 0.5343 GB, free: 22.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.5584, allocations: 1.558 MB / 0.5359 GB, free: 21.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.5591, allocations: 0.9979 MB / 0.5368 GB, free: 21.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005605/0.5596, allocations: 122.2 kB / 0.5369 GB, free: 21.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.5599, allocations: 66.69 kB / 0.537 GB, free: 21.16 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5599, allocations: 0 / 0.537 GB, free: 21.16 MB / 414.1 MB Notification: Performance of Templates: time 0.02443/0.5843, allocations: 9.877 MB / 0.5467 GB, free: 19.48 MB / 414.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)