Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007917/0.007917, allocations: 103.7 kB / 15.73 MB, free: 6.047 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.001391/0.001391, allocations: 188.1 kB / 16.67 MB, free: 5.969 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.815/1.815, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.375/0.375, allocations: 38 MB / 307.9 MB, free: 10.01 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.1. 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.001707/0.001707, allocations: 75.89 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4104, allocations: 56.47 MB / 489.4 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.007234/0.4177, allocations: 3.553 MB / 493 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003791/0.4215, allocations: 1.435 MB / 494.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.4226, allocations: 25.12 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.4232, allocations: 116.4 kB / 494.6 MB, free: 16.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.4244, allocations: 163.4 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.4265, allocations: 0.5982 MB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.4285, allocations: 0.9551 MB / 496.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000766/0.4293, allocations: 300.6 kB / 496.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008866/0.4302, allocations: 374.5 kB / 496.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007703/0.431, allocations: 361.3 kB / 497.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.4313, allocations: 71.12 kB / 497.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.4316, allocations: 77.53 kB / 497.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.4318, allocations: 175.9 kB / 497.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005331/0.4323, allocations: 373.8 kB / 498 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.4337, allocations: 0.8475 MB / 498.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4337, allocations: 1.375 kB / 498.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4337, allocations: 4 kB / 498.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.096e-05/0.4338, allocations: 0 / 498.8 MB, free: 13.91 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.003518/0.4373, allocations: 1.199 MB / 0.4883 GB, free: 13.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4374, allocations: 14.17 kB / 0.4883 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.4377, allocations: 102.3 kB / 0.4884 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.4394, allocations: 0.6116 MB / 0.489 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-05/0.4395, allocations: 39.38 kB / 0.4891 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.4397, allocations: 53.38 kB / 0.4891 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.4421, allocations: 0.7101 MB / 0.4898 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/0.4421, allocations: 1.5 kB / 0.4898 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/0.4422, allocations: 17.72 kB / 0.4898 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.4423, allocations: 12.62 kB / 0.4898 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.4445, allocations: 0.5574 MB / 0.4904 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004389/0.4489, allocations: 2.285 MB / 0.4926 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.4508, allocations: 0.7129 MB / 0.4933 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009651/0.4518, allocations: 324.7 kB / 0.4936 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.731e-05/0.4519, allocations: 15.42 kB / 0.4936 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.4519, allocations: 46.5 kB / 0.4937 GB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.667e-06/0.4519, allocations: 0 / 0.4937 GB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.005765/0.4577, allocations: 1.934 MB / 0.4956 GB, free: 9.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.4578, allocations: 195.6 kB / 0.4957 GB, free: 9.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.459, allocations: 0.5799 MB / 0.4963 GB, free: 8.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.4591, allocations: 35.98 kB / 0.4963 GB, free: 8.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.4594, allocations: 366.5 kB / 0.4967 GB, free: 8.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.4597, allocations: 176.8 kB / 0.4969 GB, free: 8.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003052/0.46, allocations: 107 kB / 0.497 GB, free: 8.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4601, allocations: 330.3 kB / 0.4973 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.4612, allocations: 298 kB / 0.4976 GB, free: 7.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.4622, allocations: 421 kB / 0.498 GB, free: 7.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.464, allocations: 0.6526 MB / 0.4986 GB, free: 7.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.464, allocations: 1.156 kB / 0.4986 GB, free: 7.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002331/0.4663, allocations: 0.7981 MB / 0.4994 GB, free: 6.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.4664, allocations: 6.656 kB / 0.4994 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.4664, allocations: 2.094 kB / 0.4994 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.984e-05/0.4664, allocations: 8.344 kB / 0.4994 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009425/0.4674, allocations: 193.2 kB / 0.4996 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.768e-05/0.4674, allocations: 9.141 kB / 0.4996 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/0.4682, allocations: 73.83 kB / 0.4997 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/0.4683, allocations: 26.55 kB / 0.4997 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009321/0.4692, allocations: 360.5 kB / 0.5 GB, free: 6.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006424/0.4699, allocations: 354.9 kB / 0.5004 GB, free: 6.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001152/0.471, allocations: 0.5396 MB / 0.5009 GB, free: 5.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.698e-06/0.4711, allocations: 1.156 kB / 0.5009 GB, free: 5.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001727/0.4728, allocations: 0.6537 MB / 0.5015 GB, free: 5.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4728, allocations: 10.47 kB / 0.5016 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4728, allocations: 7.141 kB / 0.5016 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4729, allocations: 5.531 kB / 0.5016 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/0.4736, allocations: 163.4 kB / 0.5017 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.4736, allocations: 13.22 kB / 0.5017 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/0.4742, allocations: 62.59 kB / 0.5018 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/0.4743, allocations: 18.19 kB / 0.5018 GB, free: 5.547 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.0002577/0.4746, allocations: 209.9 kB / 0.502 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.4748, allocations: 82.77 kB / 0.5021 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.4751, allocations: 79.59 kB / 0.5022 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.4751, allocations: 9.594 kB / 0.5022 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.4751, allocations: 4 kB / 0.5022 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4751, allocations: 9.016 kB / 0.5022 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/0.4783, allocations: 1.451 MB / 0.5036 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.4783, allocations: 1.375 kB / 0.5036 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007173/0.479, allocations: 158.1 kB / 0.5038 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/0.4791, allocations: 2.562 kB / 0.5038 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.4791, allocations: 12.16 kB / 0.5038 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.4791, allocations: 7.016 kB / 0.5038 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4791, allocations: 1.812 kB / 0.5038 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.482, allocations: 1.249 MB / 0.505 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.4823, allocations: 194 kB / 0.5052 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.4825, allocations: 7.781 kB / 0.5052 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/0.4831, allocations: 77.58 kB / 0.5053 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.4833, allocations: 45.56 kB / 0.5053 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.4833, allocations: 18.92 kB / 0.5053 GB, free: 3.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005681/0.4839, allocations: 405.7 kB / 0.5057 GB, free: 2.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4839, allocations: 3.938 kB / 0.5057 GB, free: 2.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001014/0.4849, allocations: 182.3 kB / 0.5059 GB, free: 2.934 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.0001529/0.4851, allocations: 119.6 kB / 0.506 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002765/0.4879, allocations: 0.9831 MB / 0.507 GB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4879, allocations: 0 / 0.507 GB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.4889, allocations: 351.7 kB / 0.5073 GB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.4902, allocations: 206.4 kB / 0.5075 GB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.494, allocations: 1.504 MB / 0.509 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.4945, allocations: 0.9267 MB / 0.5099 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005652/0.4951, allocations: 100 kB / 0.51 GB, free: 432 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.4953, allocations: 55.98 kB / 0.51 GB, free: 420 kB / 382.1 MB Notification: Performance of SimCode: time 2.555e-06/0.4953, allocations: 3.938 kB / 0.51 GB, free: 416 kB / 382.1 MB Notification: Performance of Templates: time 0.02132/0.5166, allocations: 9.04 MB / 0.5189 GB, free: 8.922 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)