Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00129/0.00129, allocations: 187.6 kB / 16.14 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.698/1.698, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3813/0.3813, allocations: 39.94 MB / 309.3 MB, free: 9.316 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: ModelicaTest 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.001534/0.001534, allocations: 67.89 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1418, allocations: 56.87 MB / 433.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005672/0.1476, allocations: 3.561 MB / 437.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003632/0.1513, allocations: 1.411 MB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.1523, allocations: 31.81 kB / 438.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.1528, allocations: 83.17 kB / 438.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008075/0.1537, allocations: 135 kB / 439 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.1552, allocations: 0.5423 MB / 439.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.1563, allocations: 0.8858 MB / 440.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004786/0.1568, allocations: 300.8 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/0.1572, allocations: 322.4 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.1575, allocations: 345.9 kB / 441.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.1576, allocations: 36 kB / 441.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.1577, allocations: 36 kB / 441.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.1579, allocations: 139.4 kB / 441.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.1582, allocations: 333.7 kB / 441.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007273/0.159, allocations: 0.7667 MB / 442.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.159, allocations: 0 / 442.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.159, allocations: 4 kB / 442.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.159, allocations: 0 / 442.7 MB, free: 11.2 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002703/0.1617, allocations: 1.211 MB / 443.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1618, allocations: 8.031 kB / 443.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.162, allocations: 95.81 kB / 444 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007849/0.1628, allocations: 0.57 MB / 444.6 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.1629, allocations: 41.38 kB / 444.6 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.163, allocations: 60.03 kB / 444.7 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.1645, allocations: 0.7032 MB / 445.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1645, allocations: 4 kB / 445.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.1646, allocations: 20 kB / 445.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1646, allocations: 12 kB / 445.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.1662, allocations: 0.5542 MB / 446 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00362/0.1698, allocations: 2.294 MB / 448.2 MB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.1719, allocations: 0.7329 MB / 449 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008283/0.1728, allocations: 326.2 kB / 449.3 MB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.1728, allocations: 12.38 kB / 449.3 MB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.1729, allocations: 38.94 kB / 449.4 MB, free: 4.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/0.1729, allocations: 0 / 449.4 MB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004551/0.1774, allocations: 1.948 MB / 451.3 MB, free: 2.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.1776, allocations: 192.4 kB / 451.5 MB, free: 1.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/0.1783, allocations: 0.5787 MB / 452.1 MB, free: 1.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.1784, allocations: 33.7 kB / 452.1 MB, free: 1.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.1787, allocations: 356.8 kB / 452.4 MB, free: 1.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.1788, allocations: 181.3 kB / 452.6 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.179, allocations: 106.2 kB / 452.7 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1792, allocations: 334 kB / 453.1 MB, free: 404 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007642/0.1799, allocations: 298.9 kB / 453.3 MB, free: 100 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.24/0.42, allocations: 411.4 kB / 453.7 MB, free: 51.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.4215, allocations: 0.6567 MB / 454.4 MB, free: 51.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4215, allocations: 0 / 454.4 MB, free: 51.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001795/0.4233, allocations: 0.7922 MB / 455.2 MB, free: 51.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.4233, allocations: 9.406 kB / 455.2 MB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4234, allocations: 2.938 kB / 455.2 MB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.4234, allocations: 5.625 kB / 455.2 MB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.4242, allocations: 196.2 kB / 455.4 MB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.4242, allocations: 7.312 kB / 455.4 MB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.4247, allocations: 74.91 kB / 455.5 MB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.4248, allocations: 30.34 kB / 455.5 MB, free: 51.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006894/0.4255, allocations: 355 kB / 455.9 MB, free: 51.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005359/0.426, allocations: 356.9 kB / 456.2 MB, free: 51.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001049/0.4271, allocations: 0.5381 MB / 456.7 MB, free: 51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.4271, allocations: 7.281 kB / 456.8 MB, free: 51 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001301/0.4284, allocations: 0.6561 MB / 457.4 MB, free: 50.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.4284, allocations: 6.281 kB / 457.4 MB, free: 50.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4285, allocations: 5.438 kB / 457.4 MB, free: 50.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.4285, allocations: 10.47 kB / 457.4 MB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.4291, allocations: 162.7 kB / 457.6 MB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4291, allocations: 6.219 kB / 457.6 MB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.4296, allocations: 62.19 kB / 457.7 MB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.4296, allocations: 20.59 kB / 457.7 MB, free: 50.95 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: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002248/0.4299, allocations: 212.7 kB / 457.9 MB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.43, allocations: 71.66 kB / 458 MB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.4302, allocations: 87.62 kB / 458 MB, free: 50.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4303, allocations: 3.25 kB / 458 MB, free: 50.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.4303, allocations: 3.234 kB / 458 MB, free: 50.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4303, allocations: 8.25 kB / 458.1 MB, free: 50.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.4328, allocations: 1.46 MB / 459.5 MB, free: 50.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4328, allocations: 3.938 kB / 459.5 MB, free: 50.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/0.4334, allocations: 154 kB / 459.7 MB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4335, allocations: 0 / 459.7 MB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.4335, allocations: 13.97 kB / 459.7 MB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4335, allocations: 7.625 kB / 459.7 MB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4335, allocations: 0 / 459.7 MB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.4358, allocations: 1.257 MB / 461 MB, free: 49.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.436, allocations: 192.1 kB / 461.1 MB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.4361, allocations: 11.25 kB / 461.1 MB, free: 49.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.4366, allocations: 82.09 kB / 461.2 MB, free: 49.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/0.4367, allocations: 37.42 kB / 461.3 MB, free: 49.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.4367, allocations: 20.48 kB / 461.3 MB, free: 49.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003715/0.4371, allocations: 405.9 kB / 461.7 MB, free: 49.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4371, allocations: 0 / 461.7 MB, free: 49.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006171/0.4378, allocations: 182 kB / 461.9 MB, free: 49.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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 Backend phase and start with SimCode phase: time 0.0001175/0.4379, allocations: 118.4 kB / 462 MB, free: 49.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.44, allocations: 0.9776 MB / 463 MB, free: 48.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.44, allocations: 0 / 463 MB, free: 48.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007593/0.4408, allocations: 356.1 kB / 463.3 MB, free: 48.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4419, allocations: 190.5 kB / 463.5 MB, free: 48.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.445, allocations: 1.793 MB / 465.3 MB, free: 47.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.4453, allocations: 0.9205 MB / 466.2 MB, free: 47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004406/0.4457, allocations: 97.11 kB / 466.3 MB, free: 46.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.4459, allocations: 60.36 kB / 466.4 MB, free: 46.98 MB / 382.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4459, allocations: 0 / 466.4 MB, free: 46.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01307/0.459, allocations: 8.048 MB / 474.4 MB, free: 46.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)