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.005261/0.005261, allocations: 100.8 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.001258/0.001258, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.604/1.604, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.3639/0.3639, allocations: 39.94 MB / 309.8 MB, free: 9.551 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.001435/0.001435, allocations: 67.89 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3879, allocations: 56.88 MB / 492.7 MB, free: 19.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005125/0.3931, allocations: 3.542 MB / 496.2 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.3966, allocations: 1.448 MB / 497.6 MB, free: 16.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006972/0.3974, allocations: 29.91 kB / 497.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.3979, allocations: 113 kB / 497.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007404/0.3987, allocations: 163.9 kB / 497.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.4003, allocations: 0.6016 MB / 498.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.4016, allocations: 0.9473 MB / 499.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005523/0.4022, allocations: 300.2 kB / 499.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006531/0.4028, allocations: 367.5 kB / 0.4884 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.4033, allocations: 369.1 kB / 0.4888 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.4034, allocations: 71.88 kB / 0.4888 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.4036, allocations: 73.16 kB / 0.4889 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.4038, allocations: 175.5 kB / 0.4891 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.4041, allocations: 370 kB / 0.4894 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.4052, allocations: 0.8522 MB / 0.4903 GB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4052, allocations: 0 / 0.4903 GB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4053, allocations: 1.062 kB / 0.4903 GB, free: 13.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.4053, allocations: 0 / 0.4903 GB, free: 13.7 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.002515/0.4078, allocations: 1.203 MB / 0.4914 GB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.4079, allocations: 13.67 kB / 0.4915 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.4081, allocations: 93.16 kB / 0.4915 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009712/0.409, allocations: 0.609 MB / 0.4921 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.4091, allocations: 42 kB / 0.4922 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.4092, allocations: 62.78 kB / 0.4922 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.411, allocations: 0.7057 MB / 0.4929 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.411, allocations: 1.375 kB / 0.4929 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.4111, allocations: 21.34 kB / 0.4929 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.4111, allocations: 11.97 kB / 0.493 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.4128, allocations: 0.5569 MB / 0.4935 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/0.4162, allocations: 2.282 MB / 0.4957 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.418, allocations: 0.7176 MB / 0.4964 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009084/0.419, allocations: 329 kB / 0.4967 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.396e-05/0.419, allocations: 15.09 kB / 0.4968 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.4191, allocations: 41.67 kB / 0.4968 GB, free: 9.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.906e-06/0.4191, allocations: 4 kB / 0.4968 GB, free: 9.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.00518/0.4243, allocations: 1.933 MB / 0.4987 GB, free: 8.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.4244, allocations: 191 kB / 0.4989 GB, free: 8.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008279/0.4252, allocations: 0.5793 MB / 0.4994 GB, free: 7.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.4253, allocations: 32.98 kB / 0.4995 GB, free: 7.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.4255, allocations: 362.2 kB / 0.4998 GB, free: 7.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.4257, allocations: 178.3 kB / 0.5 GB, free: 7.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.4259, allocations: 99.42 kB / 0.5001 GB, free: 7.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.426, allocations: 335.4 kB / 0.5004 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000844/0.4268, allocations: 297.2 kB / 0.5007 GB, free: 6.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009246/0.4277, allocations: 423.2 kB / 0.5011 GB, free: 6.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.4294, allocations: 0.6458 MB / 0.5017 GB, free: 6.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4294, allocations: 0 / 0.5017 GB, free: 6.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002265/0.4317, allocations: 0.8005 MB / 0.5025 GB, free: 5.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.4318, allocations: 13.44 kB / 0.5025 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.4318, allocations: 5.328 kB / 0.5025 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/0.4318, allocations: 4.875 kB / 0.5025 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/0.4327, allocations: 193.2 kB / 0.5027 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.4328, allocations: 4.438 kB / 0.5027 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/0.4334, allocations: 81.61 kB / 0.5028 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.4335, allocations: 23.27 kB / 0.5028 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000808/0.4343, allocations: 363.7 kB / 0.5032 GB, free: 5.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006379/0.4349, allocations: 359.5 kB / 0.5035 GB, free: 5.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001158/0.4361, allocations: 0.533 MB / 0.504 GB, free: 4.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.4361, allocations: 1.375 kB / 0.504 GB, free: 4.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001651/0.4378, allocations: 0.6685 MB / 0.5047 GB, free: 4.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4378, allocations: 6.562 kB / 0.5047 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.4378, allocations: 6.469 kB / 0.5047 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4378, allocations: 9.438 kB / 0.5047 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.4385, allocations: 163.9 kB / 0.5049 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.4386, allocations: 9.531 kB / 0.5049 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.4391, allocations: 65.97 kB / 0.5049 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.4391, allocations: 21.89 kB / 0.5049 GB, free: 4.367 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.0002418/0.4394, allocations: 214.3 kB / 0.5052 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4395, allocations: 78.66 kB / 0.5052 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.4398, allocations: 79.19 kB / 0.5053 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.4398, allocations: 5.25 kB / 0.5053 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.4398, allocations: 1.688 kB / 0.5053 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4398, allocations: 3.984 kB / 0.5053 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.4427, allocations: 1.452 MB / 0.5067 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4427, allocations: 0 / 0.5067 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.4435, allocations: 150.3 kB / 0.5069 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.4435, allocations: 2.906 kB / 0.5069 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.4435, allocations: 20.52 kB / 0.5069 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.4435, allocations: 3 kB / 0.5069 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4435, allocations: 1.344 kB / 0.5069 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.4464, allocations: 1.249 MB / 0.5081 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.4467, allocations: 197.2 kB / 0.5083 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/0.4468, allocations: 7.656 kB / 0.5083 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.4474, allocations: 77.59 kB / 0.5084 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4475, allocations: 49.72 kB / 0.5084 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.4476, allocations: 19.94 kB / 0.5085 GB, free: 2.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000505/0.4481, allocations: 409.6 kB / 0.5088 GB, free: 1.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4481, allocations: 0 / 0.5088 GB, free: 1.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008942/0.449, allocations: 181 kB / 0.509 GB, free: 1.762 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.0001608/0.4491, allocations: 116.1 kB / 0.5091 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002774/0.4519, allocations: 0.9829 MB / 0.5101 GB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4519, allocations: 8 kB / 0.5101 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000894/0.4528, allocations: 351.9 kB / 0.5104 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.454, allocations: 203.6 kB / 0.5106 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.4575, allocations: 1.514 MB / 0.5121 GB, free: 20 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.458, allocations: 0.9258 MB / 0.513 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000542/0.4586, allocations: 96.88 kB / 0.5131 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.4588, allocations: 59.41 kB / 0.5132 GB, free: 14.91 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4588, allocations: 0 / 0.5132 GB, free: 14.91 MB / 398.1 MB Notification: Performance of Templates: time 0.01619/0.475, allocations: 8.804 MB / 0.5218 GB, free: 6.113 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)