Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004635/0.004642, allocations: 363.2 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.2+maint.om/package.mo): time 4.109/4.109, allocations: 388.9 MB / 405.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003585/0.003585, allocations: 228.4 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5132/0.5132, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004787, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/0.09363, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5203/0.614, allocations: 84.41 MB / 0.7625 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.6144, allocations: 71.91 kB / 0.7626 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1412/0.7556, allocations: 13.55 MB / 0.7758 GB, free: 5.371 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.7557, allocations: 0 / 0.7758 GB, free: 5.371 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.88e-05/0.7558, allocations: 20 kB / 0.7758 GB, free: 5.352 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.004613/0.7604, allocations: 1.063 MB / 0.7769 GB, free: 4.285 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.7605, allocations: 8.031 kB / 0.7769 GB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.7609, allocations: 83.06 kB / 0.777 GB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.7632, allocations: 0.529 MB / 0.7775 GB, free: 3.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9e-05/0.7633, allocations: 36.7 kB / 0.7775 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.7635, allocations: 47.41 kB / 0.7776 GB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003279/0.7668, allocations: 0.6189 MB / 0.7782 GB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.7669, allocations: 0 / 0.7782 GB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.7671, allocations: 30.11 kB / 0.7782 GB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.7671, allocations: 8 kB / 0.7782 GB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.7706, allocations: 0.545 MB / 0.7787 GB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004875/0.7755, allocations: 1.467 MB / 0.7802 GB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005319/0.7809, allocations: 1.035 MB / 0.7812 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.7825, allocations: 350.8 kB / 0.7815 GB, free: 304 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.61e-05/0.7826, allocations: 4 kB / 0.7815 GB, free: 300 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.7827, allocations: 41.77 kB / 0.7815 GB, free: 252 kB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.176e-06/0.7827, allocations: 0 / 0.7815 GB, free: 252 kB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.005076/0.7878, allocations: 0.992 MB / 0.7825 GB, free: 15.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.7879, allocations: 140 kB / 0.7826 GB, free: 15.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009432/0.7889, allocations: 474.6 kB / 0.7831 GB, free: 14.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.7891, allocations: 32.27 kB / 0.7831 GB, free: 14.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.7894, allocations: 305.8 kB / 0.7834 GB, free: 14.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.7897, allocations: 156.8 kB / 0.7836 GB, free: 14.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.7898, allocations: 10.94 kB / 0.7836 GB, free: 14.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.79, allocations: 365.6 kB / 0.7839 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.7916, allocations: 307.2 kB / 0.7842 GB, free: 13.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.7932, allocations: 355.2 kB / 0.7846 GB, free: 13.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.7947, allocations: 308.7 kB / 0.7849 GB, free: 13.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.7948, allocations: 0 / 0.7849 GB, free: 13.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.003443/0.7982, allocations: 0.7511 MB / 0.7856 GB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/0.7984, allocations: 107.4 kB / 0.7857 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.7984, allocations: 7.922 kB / 0.7857 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.7984, allocations: 4 kB / 0.7857 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.8002, allocations: 187.7 kB / 0.7859 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.8002, allocations: 4 kB / 0.7859 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.8013, allocations: 115.4 kB / 0.786 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.8014, allocations: 15.81 kB / 0.786 GB, free: 12.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.8014, allocations: 4 kB / 0.786 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002245/0.8037, allocations: 0.5356 MB / 0.7865 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.8037, allocations: 0 / 0.7865 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-06/0.8037, allocations: 3.938 kB / 0.7865 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.8052, allocations: 159.8 kB / 0.7867 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8053, allocations: 0 / 0.7867 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/0.8061, allocations: 94.62 kB / 0.7868 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.8062, allocations: 15.88 kB / 0.7868 GB, free: 11.7 MB / 378.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 (52): * Single equations (assignments): 52 * 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.0004699/0.8067, allocations: 247.3 kB / 0.787 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.8069, allocations: 59.25 kB / 0.7871 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.8071, allocations: 71.44 kB / 0.7872 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.8071, allocations: 4 kB / 0.7872 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/0.8071, allocations: 7.984 kB / 0.7872 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.8072, allocations: 3.953 kB / 0.7872 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004152/0.8113, allocations: 1.334 MB / 0.7885 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.8114, allocations: 0 / 0.7885 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.8128, allocations: 151.4 kB / 0.7886 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.8128, allocations: 7.953 kB / 0.7886 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/0.8129, allocations: 15.61 kB / 0.7886 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.8129, allocations: 4 kB / 0.7887 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.8129, allocations: 3.938 kB / 0.7887 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/0.818, allocations: 1.255 MB / 0.7899 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.8184, allocations: 179.2 kB / 0.7901 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.8186, allocations: 11.83 kB / 0.7901 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.8196, allocations: 95.55 kB / 0.7902 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.8198, allocations: 35.75 kB / 0.7902 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.8198, allocations: 15.92 kB / 0.7902 GB, free: 8.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005839/0.8204, allocations: 327.8 kB / 0.7905 GB, free: 8.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8204, allocations: 0 / 0.7905 GB, free: 8.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009608/0.8214, allocations: 202.3 kB / 0.7907 GB, free: 8.332 MB / 378.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 (44): * Single equations (assignments): 44 * 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.0002156/0.8216, allocations: 123 kB / 0.7908 GB, free: 8.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004485/0.8261, allocations: 0.9805 MB / 0.7918 GB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.8262, allocations: 0 / 0.7918 GB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.8279, allocations: 359.6 kB / 0.7921 GB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.8294, allocations: 140.5 kB / 0.7923 GB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/0.8351, allocations: 1.587 MB / 0.7938 GB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.8358, allocations: 0.8941 MB / 0.7947 GB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008292/0.8366, allocations: 76.52 kB / 0.7948 GB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.837, allocations: 50.09 kB / 0.7948 GB, free: 4.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.837, allocations: 4 kB / 0.7948 GB, free: 4.477 MB / 378.7 MB Notification: Performance of Templates: time 0.02056/0.8576, allocations: 6.217 MB / 0.8009 GB, free: 14.33 MB / 394.7 MB