Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002578/0.002582, allocations: 345.9 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.748/3.748, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003479/0.003479, allocations: 221.2 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5662/0.5662, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004888, allocations: 15.98 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/0.0879, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003602/0.09156, allocations: 2.702 MB / 0.6094 GB, free: 1.941 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3131/0.4047, allocations: 1.281 MB / 0.6106 GB, free: 88.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005664/0.4054, allocations: 19.47 kB / 0.6106 GB, free: 88.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.4055, allocations: 41.2 kB / 0.6107 GB, free: 88.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007055/0.4062, allocations: 126.7 kB / 0.6108 GB, free: 88.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.4089, allocations: 0.6449 MB / 0.6114 GB, free: 88.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.4108, allocations: 0.8038 MB / 0.6122 GB, free: 88.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000667/0.4115, allocations: 205.5 kB / 0.6124 GB, free: 88.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009257/0.4125, allocations: 308.4 kB / 0.6127 GB, free: 88.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000497/0.413, allocations: 256.5 kB / 0.613 GB, free: 88.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.4131, allocations: 21.72 kB / 0.613 GB, free: 88.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.4132, allocations: 18.59 kB / 0.613 GB, free: 88.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.4134, allocations: 98.84 kB / 0.6131 GB, free: 88.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.4136, allocations: 121.2 kB / 0.6132 GB, free: 88.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009248/0.4145, allocations: 0.4957 MB / 0.6137 GB, free: 88.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.4145, allocations: 3.438 kB / 0.6137 GB, free: 88.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4145, allocations: 1.5 kB / 0.6137 GB, free: 88.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.677e-05/0.4146, allocations: 0 / 0.6137 GB, free: 88.03 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003587/0.4182, allocations: 1.014 MB / 0.6147 GB, free: 87.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.4183, allocations: 7.984 kB / 0.6147 GB, free: 87.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.4186, allocations: 79.25 kB / 0.6148 GB, free: 87.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.4197, allocations: 483.1 kB / 0.6152 GB, free: 87.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-05/0.4198, allocations: 30.19 kB / 0.6153 GB, free: 87.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.42, allocations: 46.64 kB / 0.6153 GB, free: 87.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.4232, allocations: 0.6118 MB / 0.6159 GB, free: 87.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.4233, allocations: 0.75 kB / 0.6159 GB, free: 87.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.4234, allocations: 18.25 kB / 0.6159 GB, free: 87.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.4234, allocations: 12.19 kB / 0.6159 GB, free: 87.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/0.4269, allocations: 0.5784 MB / 0.6165 GB, free: 87.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006181/0.4331, allocations: 1.524 MB / 0.618 GB, free: 86.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005173/0.4383, allocations: 0.979 MB / 0.6189 GB, free: 86.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00224/0.4406, allocations: 353.9 kB / 0.6193 GB, free: 86.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.887e-05/0.4408, allocations: 17.22 kB / 0.6193 GB, free: 86.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.4409, allocations: 42.14 kB / 0.6193 GB, free: 86.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 4.94e-06/0.4409, allocations: 4 kB / 0.6193 GB, free: 86.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.01093/0.4518, allocations: 1.978 MB / 0.6213 GB, free: 85.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/0.4519, allocations: 186.8 kB / 0.6214 GB, free: 85.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.4532, allocations: 484.2 kB / 0.6219 GB, free: 85.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.4535, allocations: 37 kB / 0.6219 GB, free: 85.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.4538, allocations: 298.2 kB / 0.6222 GB, free: 85.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.4541, allocations: 172.5 kB / 0.6224 GB, free: 84.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.4542, allocations: 11.41 kB / 0.6224 GB, free: 84.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4544, allocations: 371.2 kB / 0.6228 GB, free: 84.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.4565, allocations: 303 kB / 0.623 GB, free: 84.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.4586, allocations: 381.6 kB / 0.6234 GB, free: 84.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.4605, allocations: 305.9 kB / 0.6237 GB, free: 84.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4605, allocations: 0 / 0.6237 GB, free: 84.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004377/0.4649, allocations: 0.7715 MB / 0.6245 GB, free: 84.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.465, allocations: 9.453 kB / 0.6245 GB, free: 84.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.465, allocations: 3.234 kB / 0.6245 GB, free: 84.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.4651, allocations: 2.75 kB / 0.6245 GB, free: 84.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.4672, allocations: 193.8 kB / 0.6247 GB, free: 84.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.4672, allocations: 5.906 kB / 0.6247 GB, free: 84.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.4686, allocations: 92.44 kB / 0.6247 GB, free: 84.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/0.4687, allocations: 16.33 kB / 0.6248 GB, free: 84.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0005383/0.4692, allocations: 178.9 kB / 0.6249 GB, free: 83.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.4695, allocations: 63.97 kB / 0.625 GB, free: 83.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003829/0.4734, allocations: 0.693 MB / 0.6257 GB, free: 83.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.4734, allocations: 1.219 kB / 0.6257 GB, free: 83.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.4734, allocations: 2.688 kB / 0.6257 GB, free: 83.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005164/0.474, allocations: 184.7 kB / 0.6259 GB, free: 83.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.4742, allocations: 14.75 kB / 0.6259 GB, free: 83.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.4755, allocations: 97.27 kB / 0.626 GB, free: 83.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.4758, allocations: 39.36 kB / 0.626 GB, free: 83.44 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007096/0.4829, allocations: 1.146 MB / 0.6271 GB, free: 83.06 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006606/0.4895, allocations: 1.397 MB / 0.6285 GB, free: 82.45 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002/0.4916, allocations: 363.1 kB / 0.6288 GB, free: 82.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008597/0.4924, allocations: 329.7 kB / 0.6291 GB, free: 82.19 MB / 362.7 MB Notification: Performance of Backend: time 9.02e-07/0.4925, allocations: 0 / 0.6291 GB, free: 82.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003309/0.4958, allocations: 485.6 kB / 0.6296 GB, free: 82.02 MB / 362.7 MB Notification: Performance of SimCode: time 0.00389/0.4997, allocations: 1.736 MB / 0.6313 GB, free: 80.78 MB / 362.7 MB Notification: Performance of Templates: time 0.02439/0.5242, allocations: 7.55 MB / 0.6387 GB, free: 78.02 MB / 362.7 MB