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.006685/0.006685, allocations: 99.53 kB / 15.73 MB, free: 6.477 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.001339/0.001339, allocations: 189.9 kB / 16.67 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.67/1.67, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3571/0.3571, allocations: 39.94 MB / 309.8 MB, free: 9.48 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.001713/0.001713, allocations: 71.88 kB / 435.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.33, allocations: 56.88 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005222/0.3353, allocations: 3.546 MB / 496.2 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00325/0.3386, allocations: 1.453 MB / 497.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.3392, allocations: 24.97 kB / 497.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.3396, allocations: 113.8 kB / 497.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000556/0.3402, allocations: 164.6 kB / 497.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3416, allocations: 0.597 MB / 498.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.3426, allocations: 0.9473 MB / 499.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/0.3431, allocations: 301.2 kB / 499.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005217/0.3436, allocations: 373.9 kB / 0.4884 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/0.3441, allocations: 373.6 kB / 0.4888 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.3443, allocations: 71.16 kB / 0.4889 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3444, allocations: 72.16 kB / 0.4889 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.3446, allocations: 174.8 kB / 0.4891 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.3449, allocations: 367.4 kB / 0.4894 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.3461, allocations: 0.8486 MB / 0.4903 GB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3461, allocations: 4 kB / 0.4903 GB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3462, allocations: 1.062 kB / 0.4903 GB, free: 13.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.3462, allocations: 0 / 0.4903 GB, free: 13.52 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.002592/0.3488, allocations: 1.207 MB / 0.4915 GB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.3488, allocations: 14.67 kB / 0.4915 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.349, allocations: 93.44 kB / 0.4916 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009553/0.35, allocations: 0.6148 MB / 0.4922 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.35, allocations: 40.22 kB / 0.4922 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.507e-05/0.3501, allocations: 56.84 kB / 0.4922 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3516, allocations: 0.7061 MB / 0.4929 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.3517, allocations: 1.156 kB / 0.4929 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.3517, allocations: 20.81 kB / 0.493 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.3517, allocations: 13.41 kB / 0.493 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.3534, allocations: 0.5581 MB / 0.4935 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.3563, allocations: 2.274 MB / 0.4957 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.3581, allocations: 0.7141 MB / 0.4964 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008486/0.359, allocations: 326 kB / 0.4967 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-05/0.3591, allocations: 18.61 kB / 0.4968 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.3591, allocations: 46.06 kB / 0.4968 GB, free: 9.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.034e-06/0.3591, allocations: 3.938 kB / 0.4968 GB, free: 9.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.00473/0.3638, allocations: 1.933 MB / 0.4987 GB, free: 8.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.3639, allocations: 185.8 kB / 0.4989 GB, free: 7.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.3645, allocations: 0.5804 MB / 0.4994 GB, free: 7.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.3646, allocations: 36.64 kB / 0.4995 GB, free: 7.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.3648, allocations: 362.9 kB / 0.4998 GB, free: 7.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.3649, allocations: 185.4 kB / 0.5 GB, free: 7.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.365, allocations: 103.7 kB / 0.5001 GB, free: 6.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.58e-05/0.3651, allocations: 327.4 kB / 0.5004 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008083/0.3659, allocations: 301.1 kB / 0.5007 GB, free: 6.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/0.3668, allocations: 412.2 kB / 0.5011 GB, free: 6.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.3684, allocations: 0.66 MB / 0.5017 GB, free: 5.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3684, allocations: 1 kB / 0.5017 GB, free: 5.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001955/0.3703, allocations: 0.7948 MB / 0.5025 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.3704, allocations: 11.12 kB / 0.5025 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3704, allocations: 2.125 kB / 0.5025 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.3704, allocations: 5.75 kB / 0.5025 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008891/0.3713, allocations: 192.8 kB / 0.5027 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.3713, allocations: 4.531 kB / 0.5027 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.3719, allocations: 82.28 kB / 0.5028 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.372, allocations: 17.78 kB / 0.5028 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007194/0.3727, allocations: 365.3 kB / 0.5032 GB, free: 5.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006044/0.3733, allocations: 354.6 kB / 0.5035 GB, free: 4.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001108/0.3744, allocations: 0.5402 MB / 0.504 GB, free: 4.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.3744, allocations: 1.188 kB / 0.504 GB, free: 4.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001393/0.3758, allocations: 0.6571 MB / 0.5047 GB, free: 4.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3759, allocations: 9.906 kB / 0.5047 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3759, allocations: 6.312 kB / 0.5047 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.3759, allocations: 10.03 kB / 0.5047 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.3766, allocations: 168.1 kB / 0.5049 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3766, allocations: 12.73 kB / 0.5049 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.3771, allocations: 62.66 kB / 0.5049 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.3771, allocations: 18.09 kB / 0.5049 GB, free: 4.168 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.0001726/0.3773, allocations: 209 kB / 0.5051 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.3774, allocations: 79.62 kB / 0.5052 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.3776, allocations: 88.64 kB / 0.5053 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3776, allocations: 11.97 kB / 0.5053 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.3777, allocations: 1.344 kB / 0.5053 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3777, allocations: 0 / 0.5053 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.3804, allocations: 1.459 MB / 0.5067 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3804, allocations: 1.156 kB / 0.5067 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.3811, allocations: 146.1 kB / 0.5069 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3811, allocations: 1.812 kB / 0.5069 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.3812, allocations: 17.36 kB / 0.5069 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3812, allocations: 3.562 kB / 0.5069 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3812, allocations: 4 kB / 0.5069 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.3837, allocations: 1.254 MB / 0.5081 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.384, allocations: 190.2 kB / 0.5083 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.384, allocations: 12.06 kB / 0.5083 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.3846, allocations: 77.55 kB / 0.5084 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.3847, allocations: 49.7 kB / 0.5084 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.3847, allocations: 18.98 kB / 0.5085 GB, free: 1.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004317/0.3852, allocations: 405.2 kB / 0.5089 GB, free: 1.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3852, allocations: 0 / 0.5089 GB, free: 1.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007076/0.3859, allocations: 182.1 kB / 0.509 GB, free: 1.555 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.0001262/0.386, allocations: 116.1 kB / 0.5091 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002506/0.3885, allocations: 0.9895 MB / 0.5101 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3886, allocations: 0.9375 kB / 0.5101 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009228/0.3895, allocations: 352.5 kB / 0.5104 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3906, allocations: 207.1 kB / 0.5106 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.3943, allocations: 1.51 MB / 0.5121 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.3948, allocations: 0.9219 MB / 0.513 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004652/0.3953, allocations: 93.08 kB / 0.5131 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.3955, allocations: 55.41 kB / 0.5132 GB, free: 14.76 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3955, allocations: 3.938 kB / 0.5132 GB, free: 14.76 MB / 398.1 MB Notification: Performance of Templates: time 0.01588/0.4114, allocations: 9.042 MB / 0.522 GB, free: 5.727 MB / 398.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)