Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.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.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Annex60.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006252/0.006252, 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.001156/0.001156, allocations: 191.3 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.396/1.396, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2629/0.2629, allocations: 54.98 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.001384/0.001384, allocations: 68.41 kB / 456.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1729, allocations: 59.6 MB / 0.5037 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPIDWithReset): time 0.006093/0.179, allocations: 4.121 MB / 0.5077 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.182, allocations: 1.438 MB / 0.5091 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004237/0.1824, allocations: 27.88 kB / 0.5091 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.1829, allocations: 122.7 kB / 0.5093 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.1833, allocations: 190.3 kB / 0.5094 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1843, allocations: 462 kB / 0.5099 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1854, allocations: 0.9868 MB / 0.5108 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000788/0.1862, allocations: 474 kB / 0.5113 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.1867, allocations: 342.7 kB / 0.5116 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.1871, allocations: 342.3 kB / 0.5119 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.1872, allocations: 92 kB / 0.512 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1873, allocations: 92 kB / 0.5121 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.1875, allocations: 183.3 kB / 0.5123 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.1879, allocations: 394.1 kB / 0.5127 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.189, allocations: 1.074 MB / 0.5137 GB, free: 12.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.189, allocations: 0 / 0.5137 GB, free: 12.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.189, allocations: 4 kB / 0.5137 GB, free: 12.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.189, allocations: 4 kB / 0.5137 GB, free: 12.79 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.00217/0.1912, allocations: 1.085 MB / 0.5148 GB, free: 11.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.1913, allocations: 12.02 kB / 0.5148 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.1914, allocations: 87.91 kB / 0.5149 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009938/0.1925, allocations: 0.5728 MB / 0.5154 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.1925, allocations: 49.67 kB / 0.5155 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.95e-05/0.1926, allocations: 60.12 kB / 0.5155 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.1937, allocations: 0.6192 MB / 0.5162 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1938, allocations: 0 / 0.5162 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.1938, allocations: 24 kB / 0.5162 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.1939, allocations: 16 kB / 0.5162 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009719/0.1948, allocations: 465 kB / 0.5166 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002842/0.1977, allocations: 2.012 MB / 0.5186 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1987, allocations: 449.7 kB / 0.519 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.1992, allocations: 242.9 kB / 0.5193 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.1993, allocations: 8.438 kB / 0.5193 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005685/0.1998, allocations: 269.2 kB / 0.5195 GB, free: 6.637 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.304e-06/0.1999, allocations: 0 / 0.5195 GB, free: 6.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.001394/0.2013, allocations: 0.5805 MB / 0.5201 GB, free: 6.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.2013, allocations: 55.84 kB / 0.5201 GB, free: 5.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005783/0.2019, allocations: 446.1 kB / 0.5206 GB, free: 5.539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.202, allocations: 37.7 kB / 0.5206 GB, free: 5.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.2023, allocations: 336.9 kB / 0.5209 GB, free: 5.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.2024, allocations: 161.7 kB / 0.5211 GB, free: 5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.2026, allocations: 98.14 kB / 0.5212 GB, free: 4.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2028, allocations: 362.8 kB / 0.5215 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.2032, allocations: 179 kB / 0.5217 GB, free: 4.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.2037, allocations: 261.7 kB / 0.5219 GB, free: 4.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/0.2045, allocations: 467.9 kB / 0.5224 GB, free: 3.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2046, allocations: 3.938 kB / 0.5224 GB, free: 3.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00103/0.2056, allocations: 0.5624 MB / 0.5229 GB, free: 3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.2057, allocations: 41.69 kB / 0.523 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2057, allocations: 0 / 0.523 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.2057, allocations: 8 kB / 0.523 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.2062, allocations: 111.8 kB / 0.5231 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.2062, allocations: 4 kB / 0.5231 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.2066, allocations: 55.77 kB / 0.5231 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.2066, allocations: 23.98 kB / 0.5232 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005158/0.2071, allocations: 317.2 kB / 0.5235 GB, free: 2.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003738/0.2075, allocations: 241.8 kB / 0.5237 GB, free: 2.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006528/0.2082, allocations: 440 kB / 0.5241 GB, free: 1.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.724e-06/0.2082, allocations: 0 / 0.5241 GB, free: 1.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.000877/0.2091, allocations: 0.5506 MB / 0.5247 GB, free: 1.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.2091, allocations: 29.7 kB / 0.5247 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2091, allocations: 4.25 kB / 0.5247 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/0.2091, allocations: 8 kB / 0.5247 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.2096, allocations: 115.8 kB / 0.5248 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.2096, allocations: 4 kB / 0.5248 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.2099, allocations: 47.58 kB / 0.5249 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.2099, allocations: 20 kB / 0.5249 GB, free: 0.9219 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0001749/0.2101, allocations: 217.9 kB / 0.5251 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.2102, allocations: 55.33 kB / 0.5251 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.2103, allocations: 69.59 kB / 0.5252 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2103, allocations: 4 kB / 0.5252 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2104, allocations: 0 / 0.5252 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.2104, allocations: 3.984 kB / 0.5252 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3247/0.535, allocations: 1.179 MB / 0.5264 GB, free: 25.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5351, allocations: 1.484 kB / 0.5264 GB, free: 25.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.5356, allocations: 95.02 kB / 0.5265 GB, free: 25.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5356, allocations: 1.812 kB / 0.5265 GB, free: 25.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.5356, allocations: 9.375 kB / 0.5265 GB, free: 25.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5356, allocations: 2.906 kB / 0.5265 GB, free: 25.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5357, allocations: 3.344 kB / 0.5265 GB, free: 25.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.537, allocations: 0.7678 MB / 0.5272 GB, free: 25.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.5372, allocations: 166.4 kB / 0.5274 GB, free: 24.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.5373, allocations: 8.234 kB / 0.5274 GB, free: 24.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.5376, allocations: 25.8 kB / 0.5274 GB, free: 24.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.5377, allocations: 36.55 kB / 0.5275 GB, free: 24.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.5377, allocations: 15.86 kB / 0.5275 GB, free: 24.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003302/0.5381, allocations: 314.6 kB / 0.5278 GB, free: 24.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5381, allocations: 0.7812 kB / 0.5278 GB, free: 24.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007346/0.5388, allocations: 258.2 kB / 0.528 GB, free: 24.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001303/0.539, allocations: 114.3 kB / 0.5281 GB, free: 24.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.5406, allocations: 0.7728 MB / 0.5289 GB, free: 24.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5406, allocations: 0 / 0.5289 GB, free: 24.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.5411, allocations: 222 kB / 0.5291 GB, free: 24.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009604/0.5421, allocations: 169 kB / 0.5293 GB, free: 24.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.545, allocations: 1.356 MB / 0.5306 GB, free: 24.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.5454, allocations: 0.891 MB / 0.5314 GB, free: 23.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003436/0.5457, allocations: 71.8 kB / 0.5315 GB, free: 23.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.5459, allocations: 42.11 kB / 0.5316 GB, free: 23.35 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5459, allocations: 4 kB / 0.5316 GB, free: 23.35 MB / 414.1 MB Notification: Performance of Templates: time 0.01456/0.5604, allocations: 6.595 MB / 0.538 GB, free: 22.97 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)