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.001016/0.001016, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001442/0.001441, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.534/1.534, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.3625/0.3625, allocations: 40 MB / 310.7 MB, free: 9.594 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.0005583/0.0005583, allocations: 16 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1328, allocations: 57.96 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003744/0.1366, allocations: 3.152 MB / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.1395, allocations: 1.403 MB / 442 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.14, allocations: 27.81 kB / 442 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.1403, allocations: 71.25 kB / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005739/0.1409, allocations: 134.9 kB / 442.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1421, allocations: 0.5462 MB / 442.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009613/0.1431, allocations: 0.8819 MB / 443.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.1435, allocations: 296.8 kB / 443.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.144, allocations: 282.5 kB / 444.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.1443, allocations: 302 kB / 444.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.436e-05/0.1444, allocations: 24 kB / 444.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-05/0.1444, allocations: 20 kB / 444.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.1445, allocations: 115.3 kB / 444.6 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.1448, allocations: 331.3 kB / 445 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.1454, allocations: 0.7352 MB / 445.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1454, allocations: 8 kB / 445.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1454, allocations: 0 / 445.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1454, allocations: 0 / 445.7 MB, free: 9.555 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.002034/0.1474, allocations: 1.133 MB / 446.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1475, allocations: 8.031 kB / 446.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.1476, allocations: 95.81 kB / 446.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007411/0.1484, allocations: 0.5661 MB / 447.5 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.1485, allocations: 41.38 kB / 447.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-05/0.1485, allocations: 52.12 kB / 447.6 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.1501, allocations: 0.754 MB / 448.3 MB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.1501, allocations: 0 / 448.3 MB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.1502, allocations: 24 kB / 448.4 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.1502, allocations: 15.98 kB / 448.4 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.1517, allocations: 0.6401 MB / 449 MB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.1549, allocations: 2.352 MB / 451.4 MB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.1568, allocations: 0.819 MB / 452.2 MB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/0.1577, allocations: 382.2 kB / 452.6 MB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.1577, allocations: 8.438 kB / 452.6 MB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.1578, allocations: 42.94 kB / 452.6 MB, free: 2.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.417e-06/0.1578, allocations: 0 / 452.6 MB, free: 2.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.005108/0.1629, allocations: 2.175 MB / 454.8 MB, free: 124 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2249/0.3878, allocations: 184.9 kB / 455 MB, free: 48.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008571/0.3887, allocations: 0.5839 MB / 455.6 MB, free: 48.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001909/0.3889, allocations: 39.27 kB / 455.6 MB, free: 48.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.3892, allocations: 360 kB / 456 MB, free: 48.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.3894, allocations: 180.7 kB / 456.1 MB, free: 48.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.3894, allocations: 51.81 kB / 456.2 MB, free: 48.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.3895, allocations: 325.9 kB / 456.5 MB, free: 48.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008644/0.3904, allocations: 354.1 kB / 456.8 MB, free: 48.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000847/0.3913, allocations: 466.7 kB / 457.3 MB, free: 48.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.3928, allocations: 0.76 MB / 458.1 MB, free: 47.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3929, allocations: 0 / 458.1 MB, free: 47.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001937/0.3948, allocations: 0.8964 MB / 459 MB, free: 47.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.3949, allocations: 163.9 kB / 459.1 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.3949, allocations: 3.125 kB / 459.1 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3949, allocations: 3.188 kB / 459.1 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008181/0.3958, allocations: 215.9 kB / 459.3 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3958, allocations: 10.06 kB / 459.3 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.3963, allocations: 109.8 kB / 459.4 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.3964, allocations: 25.25 kB / 459.5 MB, free: 47.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.3964, allocations: 3.031 kB / 459.5 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001195/0.3976, allocations: 0.6146 MB / 460.1 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3976, allocations: 7 kB / 460.1 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.3976, allocations: 6.344 kB / 460.1 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.3983, allocations: 176.3 kB / 460.3 MB, free: 47.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3983, allocations: 7.125 kB / 460.3 MB, free: 47.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.3987, allocations: 76.45 kB / 460.4 MB, free: 47.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.3987, allocations: 19.86 kB / 460.4 MB, free: 47.58 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.0002575/0.399, allocations: 272 kB / 460.6 MB, free: 47.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.3991, allocations: 77.06 kB / 460.7 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.3993, allocations: 84.72 kB / 460.8 MB, free: 47.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3993, allocations: 6.5 kB / 460.8 MB, free: 47.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.3993, allocations: 6.453 kB / 460.8 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3993, allocations: 3.281 kB / 460.8 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.402, allocations: 1.548 MB / 462.4 MB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.402, allocations: 2.969 kB / 462.4 MB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/0.4027, allocations: 171.2 kB / 462.5 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4027, allocations: 2.969 kB / 462.5 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.4028, allocations: 19.08 kB / 462.6 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4028, allocations: 3.25 kB / 462.6 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4028, allocations: 4 kB / 462.6 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.4053, allocations: 1.412 MB / 464 MB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.4055, allocations: 192.3 kB / 464.2 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.4056, allocations: 9.875 kB / 464.2 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005539/0.4061, allocations: 110.3 kB / 464.3 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4063, allocations: 40 kB / 464.3 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.4063, allocations: 15.91 kB / 464.3 MB, free: 46.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004868/0.4068, allocations: 410.7 kB / 464.7 MB, free: 46.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4068, allocations: 0 / 464.7 MB, free: 46.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00066/0.4075, allocations: 182.7 kB / 464.9 MB, free: 46.42 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.0001366/0.4076, allocations: 130.8 kB / 465 MB, free: 46.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002425/0.41, allocations: 1.103 MB / 466.1 MB, free: 46.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.41, allocations: 0 / 466.1 MB, free: 46.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008468/0.4109, allocations: 413.7 kB / 466.5 MB, free: 46.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.4121, allocations: 185.5 kB / 466.7 MB, free: 46.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.4153, allocations: 1.894 MB / 468.6 MB, free: 45.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.4156, allocations: 0.9256 MB / 469.5 MB, free: 44.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004054/0.416, allocations: 102.9 kB / 469.6 MB, free: 44.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.4162, allocations: 51.2 kB / 469.7 MB, free: 44.33 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4162, allocations: 0 / 469.7 MB, free: 44.33 MB / 382.1 MB Notification: Performance of Templates: time 0.01262/0.4289, allocations: 7.962 MB / 477.7 MB, free: 43.82 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: