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.001091/0.001091, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001358/0.001358, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 222.1 MB, free: 5.336 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.4075/0.4075, allocations: 40 MB / 310.4 MB, free: 10.2 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.0009527/0.0009529, allocations: 16 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1637, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004555/0.1683, allocations: 2.976 MB / 439.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.1719, allocations: 1.388 MB / 441.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008609/0.1728, allocations: 23.88 kB / 441.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.1733, allocations: 83.12 kB / 441.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000876/0.1742, allocations: 115 kB / 441.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.1756, allocations: 475.2 kB / 441.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.177, allocations: 0.8156 MB / 442.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000569/0.1776, allocations: 240.2 kB / 442.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.1782, allocations: 282.6 kB / 443.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004851/0.1787, allocations: 278.3 kB / 443.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.1789, allocations: 24 kB / 443.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.822e-05/0.179, allocations: 20 kB / 443.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1791, allocations: 111.4 kB / 443.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.1793, allocations: 137.3 kB / 443.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007501/0.1801, allocations: 0.5728 MB / 444.3 MB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1801, allocations: 0 / 444.3 MB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1801, allocations: 0 / 444.3 MB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.491e-05/0.1802, allocations: 4 kB / 444.3 MB, free: 10.99 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.002661/0.1828, allocations: 1.129 MB / 445.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.1829, allocations: 8.031 kB / 445.4 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.1832, allocations: 98.83 kB / 445.5 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.1842, allocations: 0.5382 MB / 446.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.1843, allocations: 37 kB / 446.1 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.1844, allocations: 59.91 kB / 446.2 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.1861, allocations: 0.7579 MB / 446.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.1861, allocations: 4 kB / 446.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/0.1862, allocations: 16 kB / 446.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.1862, allocations: 12 kB / 446.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.1877, allocations: 0.644 MB / 447.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.1915, allocations: 2.345 MB / 449.9 MB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.1932, allocations: 0.823 MB / 450.8 MB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008507/0.1941, allocations: 378.2 kB / 451.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.1941, allocations: 4.375 kB / 451.1 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.1942, allocations: 42.88 kB / 451.2 MB, free: 3.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.196e-06/0.1942, allocations: 0 / 451.2 MB, free: 3.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004867/0.1991, allocations: 2.171 MB / 453.3 MB, free: 1.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.1992, allocations: 196.3 kB / 453.5 MB, free: 1.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007744/0.2, allocations: 0.5747 MB / 454.1 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.2001, allocations: 37.7 kB / 454.1 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.2005, allocations: 356.8 kB / 454.5 MB, free: 388 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.2007, allocations: 177.4 kB / 454.7 MB, free: 208 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.2007, allocations: 12 kB / 454.7 MB, free: 196 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.2791/0.4798, allocations: 326 kB / 455 MB, free: 48.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.4809, allocations: 342.9 kB / 455.3 MB, free: 48.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/0.4818, allocations: 462.9 kB / 455.8 MB, free: 48.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/0.4825, allocations: 358.1 kB / 456.1 MB, free: 48.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4826, allocations: 0 / 456.1 MB, free: 48.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001818/0.4844, allocations: 0.894 MB / 457 MB, free: 48.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.351e-05/0.4845, allocations: 152 kB / 457.2 MB, free: 47.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4845, allocations: 2.812 kB / 457.2 MB, free: 47.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.4845, allocations: 2.781 kB / 457.2 MB, free: 47.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.4853, allocations: 218.3 kB / 457.4 MB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.4854, allocations: 10.75 kB / 457.4 MB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.4859, allocations: 108.7 kB / 457.5 MB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.4859, allocations: 21.66 kB / 457.5 MB, free: 47.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.4859, allocations: 4.125 kB / 457.5 MB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/0.4871, allocations: 0.6156 MB / 458.2 MB, free: 47.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.4871, allocations: 3.094 kB / 458.2 MB, free: 47.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.4871, allocations: 6.375 kB / 458.2 MB, free: 47.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.4877, allocations: 180.8 kB / 458.3 MB, free: 47.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4877, allocations: 4.078 kB / 458.3 MB, free: 47.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.4881, allocations: 71.5 kB / 458.4 MB, free: 47.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.4881, allocations: 17.22 kB / 458.4 MB, free: 47.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003076/0.4884, allocations: 268.5 kB / 458.7 MB, free: 47.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.4885, allocations: 82.8 kB / 458.8 MB, free: 47.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.4887, allocations: 81.64 kB / 458.9 MB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.4887, allocations: 8.094 kB / 458.9 MB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.4888, allocations: 5.625 kB / 458.9 MB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4888, allocations: 4 kB / 458.9 MB, free: 47.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.4913, allocations: 1.551 MB / 460.4 MB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4913, allocations: 3.344 kB / 460.4 MB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.4919, allocations: 175.2 kB / 460.6 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.492, allocations: 3 kB / 460.6 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.492, allocations: 18.75 kB / 460.6 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.492, allocations: 2.719 kB / 460.6 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.492, allocations: 6.469 kB / 460.6 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.4944, allocations: 1.406 MB / 462 MB, free: 47.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.4946, allocations: 190 kB / 462.2 MB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.771e-05/0.4947, allocations: 8.625 kB / 462.2 MB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.4952, allocations: 109.4 kB / 462.3 MB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.4953, allocations: 46.23 kB / 462.4 MB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.4954, allocations: 18.88 kB / 462.4 MB, free: 46.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003947/0.4958, allocations: 399.6 kB / 462.8 MB, free: 46.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4958, allocations: 0 / 462.8 MB, free: 46.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006304/0.4964, allocations: 182.5 kB / 463 MB, free: 46.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001322/0.4965, allocations: 119.5 kB / 463.1 MB, free: 46.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.4988, allocations: 1.097 MB / 464.2 MB, free: 46.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4988, allocations: 0 / 464.2 MB, free: 46.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007718/0.4996, allocations: 410.4 kB / 464.6 MB, free: 46.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.5007, allocations: 178.8 kB / 464.8 MB, free: 46.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.5039, allocations: 1.802 MB / 466.6 MB, free: 45.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.5043, allocations: 0.9274 MB / 467.5 MB, free: 45.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000449/0.5047, allocations: 95.08 kB / 467.6 MB, free: 45.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.5049, allocations: 62.38 kB / 467.6 MB, free: 45.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5049, allocations: 0.75 kB / 467.6 MB, free: 45.07 MB / 382.1 MB Notification: Performance of Templates: time 0.0123/0.5172, allocations: 7.7 MB / 475.3 MB, free: 44.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: