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.005944/0.005944, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001251/0.001251, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.629/1.629, allocations: 205.1 MB / 222.6 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4593/0.4593, allocations: 54.94 MB / 324.8 MB, free: 12 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.002086/0.002087, allocations: 64.3 kB / 456.2 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1821, allocations: 59.59 MB / 0.5037 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Validation.LimPIDReset): time 0.005425/0.1876, allocations: 4.339 MB / 0.5079 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.1915, allocations: 1.695 MB / 0.5096 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006654/0.1922, allocations: 39.81 kB / 0.5096 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.1927, allocations: 162.2 kB / 0.5098 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007157/0.1934, allocations: 234 kB / 0.51 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1948, allocations: 0.7226 MB / 0.5107 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1959, allocations: 1.273 MB / 0.5119 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006683/0.1966, allocations: 0.4924 MB / 0.5124 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.197, allocations: 473.9 kB / 0.5129 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/0.1974, allocations: 473.4 kB / 0.5133 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.1975, allocations: 104 kB / 0.5134 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1977, allocations: 104 kB / 0.5135 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.1978, allocations: 235.1 kB / 0.5137 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.1981, allocations: 0.4931 MB / 0.5142 GB, free: 168 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1993, allocations: 1.171 MB / 0.5154 GB, free: 14.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.1993, allocations: 4 kB / 0.5154 GB, free: 14.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1994, allocations: 0 / 0.5154 GB, free: 14.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1994, allocations: 0 / 0.5154 GB, free: 14.98 MB / 398.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.002586/0.202, allocations: 1.46 MB / 0.5168 GB, free: 13.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.202, allocations: 12.03 kB / 0.5168 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.2022, allocations: 128.1 kB / 0.5169 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.2036, allocations: 0.7868 MB / 0.5177 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.2038, allocations: 96.19 kB / 0.5178 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.2039, allocations: 75.89 kB / 0.5179 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.2052, allocations: 0.7406 MB / 0.5186 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.2052, allocations: 0 / 0.5186 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.108e-05/0.2053, allocations: 31.98 kB / 0.5186 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.2053, allocations: 16 kB / 0.5186 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.2064, allocations: 0.5321 MB / 0.5192 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.2097, allocations: 2.278 MB / 0.5214 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.2112, allocations: 0.6205 MB / 0.522 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.2117, allocations: 282.3 kB / 0.5223 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.2118, allocations: 4.562 kB / 0.5223 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007561/0.2126, allocations: 331 kB / 0.5226 GB, free: 7.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 2.144e-06/0.2126, allocations: 0 / 0.5226 GB, free: 7.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.001724/0.2143, allocations: 0.7679 MB / 0.5233 GB, free: 6.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.2144, allocations: 81.67 kB / 0.5234 GB, free: 6.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009946/0.2154, allocations: 0.764 MB / 0.5242 GB, free: 5.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.2155, allocations: 37.7 kB / 0.5242 GB, free: 5.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.2159, allocations: 461 kB / 0.5246 GB, free: 5.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.2161, allocations: 222.1 kB / 0.5248 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.2163, allocations: 110.3 kB / 0.5249 GB, free: 4.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2165, allocations: 326 kB / 0.5253 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.2169, allocations: 219.2 kB / 0.5255 GB, free: 4.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.2175, allocations: 308.5 kB / 0.5258 GB, free: 4.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.2185, allocations: 0.5153 MB / 0.5263 GB, free: 3.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2186, allocations: 0 / 0.5263 GB, free: 3.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001326/0.2199, allocations: 0.6662 MB / 0.5269 GB, free: 2.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.2199, allocations: 11.94 kB / 0.5269 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2199, allocations: 0 / 0.5269 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.22, allocations: 11.94 kB / 0.5269 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/0.2207, allocations: 147.8 kB / 0.5271 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.2207, allocations: 7.984 kB / 0.5271 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.2212, allocations: 75.69 kB / 0.5272 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.2212, allocations: 23.98 kB / 0.5272 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005818/0.2218, allocations: 341.4 kB / 0.5275 GB, free: 2.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003962/0.2222, allocations: 276.5 kB / 0.5278 GB, free: 1.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007135/0.2229, allocations: 471.7 kB / 0.5282 GB, free: 1.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.223, allocations: 0 / 0.5282 GB, free: 1.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009412/0.2239, allocations: 0.6115 MB / 0.5288 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2239, allocations: 8.25 kB / 0.5288 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2239, allocations: 4 kB / 0.5288 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.2239, allocations: 7.938 kB / 0.5288 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.2245, allocations: 135.8 kB / 0.529 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.2245, allocations: 8 kB / 0.529 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.2248, allocations: 43.72 kB / 0.529 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.2249, allocations: 20 kB / 0.529 GB, free: 0.543 MB / 398.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.0002495/0.2251, allocations: 216.1 kB / 0.5292 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.2253, allocations: 107.3 kB / 0.5293 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.2255, allocations: 113.3 kB / 0.5294 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2256, allocations: 4 kB / 0.5295 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.2256, allocations: 0 / 0.5295 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.2256, allocations: 0 / 0.5295 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.2279, allocations: 1.458 MB / 0.5309 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.228, allocations: 4 kB / 0.5309 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.2285, allocations: 103.8 kB / 0.531 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.2285, allocations: 4 kB / 0.531 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.2286, allocations: 15.98 kB / 0.531 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2286, allocations: 0 / 0.531 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2286, allocations: 0 / 0.531 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.2303, allocations: 0.9679 MB / 0.5319 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.2306, allocations: 228.2 kB / 0.5322 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.245e-05/0.2307, allocations: 20 kB / 0.5322 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.2311, allocations: 23.97 kB / 0.5322 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.2312, allocations: 40.52 kB / 0.5322 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.2313, allocations: 19.98 kB / 0.5323 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008174/0.2321, allocations: 0.5189 MB / 0.5328 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2321, allocations: 0 / 0.5328 GB, free: 12.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008239/0.233, allocations: 287.3 kB / 0.533 GB, free: 12.32 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.0002007/0.2332, allocations: 119.1 kB / 0.5332 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.2348, allocations: 0.7802 MB / 0.5339 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2348, allocations: 4 kB / 0.5339 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005506/0.2354, allocations: 267.1 kB / 0.5342 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.2367, allocations: 285.2 kB / 0.5344 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.2396, allocations: 1.596 MB / 0.536 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.2403, allocations: 1.006 MB / 0.537 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004695/0.2408, allocations: 118.6 kB / 0.5371 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.241, allocations: 63.42 kB / 0.5372 GB, free: 8.031 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.241, allocations: 0 / 0.5372 GB, free: 8.031 MB / 414.1 MB Notification: Performance of Templates: time 0.01962/0.2606, allocations: 9.87 MB / 0.5468 GB, free: 14.25 MB / 430.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)