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.001362/0.001362, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.623/1.623, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.3348/0.3348, allocations: 39.94 MB / 309.7 MB, free: 9.277 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.001672/0.001672, allocations: 67.84 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1355, allocations: 56.89 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005438/0.141, allocations: 3.538 MB / 438 MB, free: 116 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.144, allocations: 1.434 MB / 439.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.1444, allocations: 31.81 kB / 439.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.1448, allocations: 114.7 kB / 439.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007298/0.1456, allocations: 170.5 kB / 439.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.1472, allocations: 0.589 MB / 440.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.1484, allocations: 0.9405 MB / 441.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.1489, allocations: 304.8 kB / 441.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.1494, allocations: 362.5 kB / 442 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.1498, allocations: 370 kB / 442.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.1499, allocations: 72 kB / 442.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-05/0.15, allocations: 80 kB / 442.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.1502, allocations: 167.3 kB / 442.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.1505, allocations: 377.7 kB / 443 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.1512, allocations: 0.8018 MB / 443.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.1513, allocations: 0 / 443.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1513, allocations: 7.875 kB / 443.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1513, allocations: 0 / 443.8 MB, free: 10.3 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.002161/0.1535, allocations: 1.211 MB / 445 MB, free: 9.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1535, allocations: 15.83 kB / 445 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.1536, allocations: 95.81 kB / 445.1 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007406/0.1544, allocations: 0.5739 MB / 445.7 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.1544, allocations: 37.38 kB / 445.7 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.1545, allocations: 60.03 kB / 445.8 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.156, allocations: 0.7071 MB / 446.5 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.156, allocations: 0 / 446.5 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.797e-05/0.1561, allocations: 23.98 kB / 446.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.1561, allocations: 12 kB / 446.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.1575, allocations: 0.5581 MB / 447.1 MB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.1606, allocations: 2.294 MB / 449.4 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.1624, allocations: 0.7214 MB / 450.1 MB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008556/0.1633, allocations: 326.2 kB / 450.4 MB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.047e-05/0.1633, allocations: 16.3 kB / 450.4 MB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.1634, allocations: 42.92 kB / 450.5 MB, free: 3.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.435e-06/0.1634, allocations: 4 kB / 450.5 MB, free: 3.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004675/0.1681, allocations: 1.936 MB / 452.4 MB, free: 1.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.1682, allocations: 188.4 kB / 452.6 MB, free: 1.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006451/0.1689, allocations: 0.5787 MB / 453.2 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.1689, allocations: 37.7 kB / 453.2 MB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.1692, allocations: 356.8 kB / 453.6 MB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2108/0.38, allocations: 181.4 kB / 453.8 MB, free: 52.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/0.3804, allocations: 108.2 kB / 453.9 MB, free: 52.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.3804, allocations: 329 kB / 454.2 MB, free: 51.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000948/0.3814, allocations: 299.5 kB / 454.5 MB, free: 51.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000862/0.3823, allocations: 417.1 kB / 454.9 MB, free: 51.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.3839, allocations: 0.652 MB / 455.5 MB, free: 51.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3839, allocations: 3.438 kB / 455.5 MB, free: 51.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001949/0.3859, allocations: 0.8001 MB / 456.3 MB, free: 51.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.386, allocations: 9.656 kB / 456.3 MB, free: 51.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.386, allocations: 0 / 456.3 MB, free: 51.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.386, allocations: 10.69 kB / 456.4 MB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008147/0.3868, allocations: 187.2 kB / 456.5 MB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.3868, allocations: 12.03 kB / 456.6 MB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.3875, allocations: 80.84 kB / 456.6 MB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.3875, allocations: 19.03 kB / 456.6 MB, free: 51.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006984/0.3882, allocations: 365.7 kB / 457 MB, free: 51.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005853/0.3888, allocations: 349.9 kB / 457.3 MB, free: 51.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001063/0.3899, allocations: 0.5402 MB / 457.9 MB, free: 51.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/0.3899, allocations: 0 / 457.9 MB, free: 51.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001468/0.3914, allocations: 0.663 MB / 458.6 MB, free: 51.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3914, allocations: 3.125 kB / 458.6 MB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.3914, allocations: 4.406 kB / 458.6 MB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.3914, allocations: 6.438 kB / 458.6 MB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.3921, allocations: 164.4 kB / 458.7 MB, free: 51.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3921, allocations: 9.734 kB / 458.7 MB, free: 51.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.3926, allocations: 59.84 kB / 458.8 MB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.3927, allocations: 19.69 kB / 458.8 MB, free: 51.06 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.0001973/0.3929, allocations: 218.3 kB / 459 MB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.3931, allocations: 78.47 kB / 459.1 MB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.3933, allocations: 84.59 kB / 459.2 MB, free: 50.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3933, allocations: 6.188 kB / 459.2 MB, free: 50.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.3934, allocations: 3.938 kB / 459.2 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3934, allocations: 6.516 kB / 459.2 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.3961, allocations: 1.453 MB / 460.7 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3961, allocations: 3.375 kB / 460.7 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/0.3968, allocations: 151.5 kB / 460.8 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.3968, allocations: 3.406 kB / 460.8 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.3969, allocations: 18.66 kB / 460.8 MB, free: 50.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3969, allocations: 3.375 kB / 460.8 MB, free: 50.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3969, allocations: 0 / 460.8 MB, free: 50.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.3994, allocations: 1.252 MB / 462.1 MB, free: 49.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.3996, allocations: 189.1 kB / 462.3 MB, free: 49.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3998, allocations: 11.38 kB / 462.3 MB, free: 49.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/0.4003, allocations: 75.59 kB / 462.4 MB, free: 49.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.4005, allocations: 46.84 kB / 462.4 MB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.4005, allocations: 24.94 kB / 462.4 MB, free: 49.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004461/0.401, allocations: 410.4 kB / 462.8 MB, free: 49.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.401, allocations: 0 / 462.8 MB, free: 49.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006817/0.4017, allocations: 181.1 kB / 463 MB, free: 49.2 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.0001239/0.4018, allocations: 107.5 kB / 463.1 MB, free: 49.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002464/0.4043, allocations: 1.006 MB / 464.1 MB, free: 48.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4043, allocations: 0 / 464.1 MB, free: 48.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008127/0.4051, allocations: 352 kB / 464.5 MB, free: 48.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4062, allocations: 201.1 kB / 464.7 MB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.4095, allocations: 1.537 MB / 466.2 MB, free: 48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.4099, allocations: 0.9305 MB / 467.1 MB, free: 47.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004558/0.4103, allocations: 91.08 kB / 467.2 MB, free: 47.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.4105, allocations: 54.33 kB / 467.3 MB, free: 47.27 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4105, allocations: 4 kB / 467.3 MB, free: 47.26 MB / 382.1 MB Notification: Performance of Templates: time 0.01528/0.4258, allocations: 8.711 MB / 476 MB, free: 46.71 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)