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.00374/0.00374, allocations: 348.2 kB / 15.94 MB, free: 6.219 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.74/3.74, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003887/0.003887, allocations: 217.4 kB / 397.9 MB, free: 4.977 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.5308/0.5308, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006854/0.0006857, allocations: 19.98 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1024, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4895/0.592, allocations: 78.58 MB / 0.6835 GB, free: 34.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.5924, allocations: 67.97 kB / 0.6835 GB, free: 34.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1285/0.7208, allocations: 18.35 MB / 0.7015 GB, free: 16.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.7209, allocations: 0 / 0.7015 GB, free: 16.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.455e-05/0.721, allocations: 15.94 kB / 0.7015 GB, free: 16.06 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.003867/0.7249, allocations: 1.126 MB / 0.7026 GB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.7249, allocations: 12.03 kB / 0.7026 GB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/0.7255, allocations: 91.02 kB / 0.7027 GB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.728, allocations: 0.6125 MB / 0.7033 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.811e-05/0.7281, allocations: 29 kB / 0.7033 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.7283, allocations: 55.84 kB / 0.7033 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.7304, allocations: 0.6202 MB / 0.704 GB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.7305, allocations: 7.922 kB / 0.704 GB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/0.7306, allocations: 24.52 kB / 0.704 GB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.7306, allocations: 8 kB / 0.704 GB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.733, allocations: 0.5348 MB / 0.7045 GB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/0.7371, allocations: 1.482 MB / 0.706 GB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.7406, allocations: 0.96 MB / 0.7069 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.742, allocations: 333.5 kB / 0.7072 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.792e-05/0.7421, allocations: 7.984 kB / 0.7072 GB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.7422, allocations: 45.73 kB / 0.7073 GB, free: 9.871 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 4.498e-06/0.7422, allocations: 0.7031 kB / 0.7073 GB, free: 9.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.004281/0.7465, allocations: 0.9275 MB / 0.7082 GB, free: 8.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.7466, allocations: 140.4 kB / 0.7083 GB, free: 8.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/0.7474, allocations: 487.2 kB / 0.7088 GB, free: 8.285 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.7476, allocations: 29.7 kB / 0.7088 GB, free: 8.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.7478, allocations: 304.6 kB / 0.7091 GB, free: 7.949 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.748, allocations: 161.5 kB / 0.7092 GB, free: 7.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.7481, allocations: 12 kB / 0.7093 GB, free: 7.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7482, allocations: 378.7 kB / 0.7096 GB, free: 7.398 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.7495, allocations: 276.7 kB / 0.7099 GB, free: 7.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.7508, allocations: 332 kB / 0.7102 GB, free: 6.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.7521, allocations: 284.5 kB / 0.7105 GB, free: 6.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.7522, allocations: 0 / 0.7105 GB, free: 6.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002964/0.7551, allocations: 0.7022 MB / 0.7112 GB, free: 5.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.7552, allocations: 8 kB / 0.7112 GB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.7552, allocations: 7.312 kB / 0.7112 GB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.7553, allocations: 0 / 0.7112 GB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.757, allocations: 183.8 kB / 0.7113 GB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.757, allocations: 3.984 kB / 0.7113 GB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009508/0.758, allocations: 99.62 kB / 0.7114 GB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.758, allocations: 19.98 kB / 0.7115 GB, free: 5.5 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 (54): * Single equations (assignments): 54 * 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.0003899/0.7584, allocations: 179.7 kB / 0.7116 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.7587, allocations: 59.25 kB / 0.7117 GB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.7612, allocations: 0.6353 MB / 0.7123 GB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.7613, allocations: 4 kB / 0.7123 GB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7613, allocations: 3.938 kB / 0.7123 GB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.7613, allocations: 4 kB / 0.7123 GB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/0.7652, allocations: 1.315 MB / 0.7136 GB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.7653, allocations: 4 kB / 0.7136 GB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.7666, allocations: 151.8 kB / 0.7138 GB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.7666, allocations: 0 / 0.7138 GB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.7667, allocations: 17.48 kB / 0.7138 GB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.7667, allocations: 7.953 kB / 0.7138 GB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.45e-05/0.7667, allocations: 0 / 0.7138 GB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004369/0.7711, allocations: 1.206 MB / 0.715 GB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.7716, allocations: 184.2 kB / 0.7151 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.7717, allocations: 12 kB / 0.7151 GB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.7728, allocations: 87.92 kB / 0.7152 GB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.773, allocations: 39.89 kB / 0.7153 GB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-05/0.7731, allocations: 12 kB / 0.7153 GB, free: 1.484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000771/0.7739, allocations: 342.8 kB / 0.7156 GB, free: 1.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.774, allocations: 0 / 0.7156 GB, free: 1.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007453/0.7747, allocations: 111.7 kB / 0.7157 GB, free: 1.043 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,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 (46): * Single equations (assignments): 46 * 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 Backend phase and start with SimCode phase: time 0.0002199/0.7749, allocations: 111.2 kB / 0.7158 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002929/0.7779, allocations: 0.6271 MB / 0.7164 GB, free: 308 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.7779, allocations: 4 kB / 0.7164 GB, free: 304 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.7795, allocations: 344.3 kB / 0.7168 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.781, allocations: 134.5 kB / 0.7169 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005917/0.787, allocations: 1.595 MB / 0.7184 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/0.7877, allocations: 0.9022 MB / 0.7193 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006806/0.7884, allocations: 77.12 kB / 0.7194 GB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.7887, allocations: 47.42 kB / 0.7194 GB, free: 13.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.7887, allocations: 0 / 0.7194 GB, free: 13.18 MB / 378.7 MB Notification: Performance of Templates: time 0.02023/0.8089, allocations: 5.641 MB / 0.725 GB, free: 7.684 MB / 378.7 MB