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.3_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.448e-05/5.485e-05, allocations: 4 kB / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3835, allocations: 58.84 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.5235, allocations: 90.76 MB / 473 MB, free: 1.734 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.5238, allocations: 67.97 kB / 473 MB, free: 1.668 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.06607/0.5899, allocations: 15.77 MB / 488.8 MB, free: 1.863 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.207e-06/0.5899, allocations: 0 / 488.8 MB, free: 1.863 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.441e-05/0.59, allocations: 35.86 kB / 488.8 MB, free: 1.828 MB / 410.8 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.002436/0.5925, allocations: 1.036 MB / 489.9 MB, free: 0.7422 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5925, allocations: 8.031 kB / 489.9 MB, free: 0.7344 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.5928, allocations: 98.78 kB / 490 MB, free: 0.6367 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.5945, allocations: 0.6209 MB / 490.6 MB, free: 15.97 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/0.5945, allocations: 41 kB / 490.6 MB, free: 15.93 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.5947, allocations: 51.91 kB / 490.7 MB, free: 15.88 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.596, allocations: 0.5726 MB / 491.3 MB, free: 15.26 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.596, allocations: 7.938 kB / 491.3 MB, free: 15.25 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-05/0.5961, allocations: 24 kB / 491.3 MB, free: 15.23 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.5962, allocations: 12 kB / 491.3 MB, free: 15.21 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009519/0.5971, allocations: 357.8 kB / 491.7 MB, free: 14.86 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.6017, allocations: 2.282 MB / 493.9 MB, free: 12.5 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.6038, allocations: 0.6998 MB / 494.6 MB, free: 11.75 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.6043, allocations: 201.6 kB / 494.8 MB, free: 11.55 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.6043, allocations: 8.078 kB / 494.8 MB, free: 11.54 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.6044, allocations: 46.48 kB / 494.9 MB, free: 11.49 MB / 426.8 MB Notification: Performance of pre-optimization done (n=46): time 3.387e-06/0.6044, allocations: 0 / 494.9 MB, free: 11.49 MB / 426.8 MB Notification: Performance of matching and sorting (n=46): time 0.00123/0.6057, allocations: 433.6 kB / 495.3 MB, free: 11.06 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/0.6058, allocations: 132.5 kB / 495.4 MB, free: 10.9 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008703/0.6066, allocations: 0.4999 MB / 495.9 MB, free: 10.39 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 7.222e-05/0.6067, allocations: 33.7 kB / 496 MB, free: 10.35 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.6071, allocations: 368.7 kB / 496.3 MB, free: 9.988 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.6073, allocations: 161.6 kB / 496.5 MB, free: 9.828 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.6074, allocations: 19.94 kB / 496.5 MB, free: 9.809 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6076, allocations: 325.9 kB / 496.8 MB, free: 9.484 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.608, allocations: 161 kB / 497 MB, free: 9.328 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.6086, allocations: 247.2 kB / 497.2 MB, free: 9.047 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.609, allocations: 173.7 kB / 497.4 MB, free: 8.879 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.381e-06/0.6091, allocations: 3.938 kB / 497.4 MB, free: 8.875 MB / 426.8 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001311/0.6104, allocations: 0.4991 MB / 497.9 MB, free: 8.367 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005155/0.6109, allocations: 0.8788 MB / 498.8 MB, free: 7.422 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.6109, allocations: 4 kB / 498.8 MB, free: 7.418 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.611, allocations: 4 kB / 498.8 MB, free: 7.414 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.6123, allocations: 203.7 kB / 499 MB, free: 7.215 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.6123, allocations: 8 kB / 499 MB, free: 7.207 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.6131, allocations: 123.5 kB / 499.1 MB, free: 7.086 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.6132, allocations: 19.94 kB / 499.1 MB, free: 7.066 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.6132, allocations: 6.5 kB / 499.1 MB, free: 7.062 MB / 426.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/0.6143, allocations: 406.5 kB / 499.5 MB, free: 6.664 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.9e-06/0.6143, allocations: 0 / 499.5 MB, free: 6.664 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.6143, allocations: 8 kB / 499.5 MB, free: 6.656 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.6154, allocations: 171.8 kB / 499.7 MB, free: 6.488 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.6154, allocations: 8 kB / 499.7 MB, free: 6.48 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.616, allocations: 91.53 kB / 499.8 MB, free: 6.391 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/0.6161, allocations: 27.92 kB / 499.8 MB, free: 6.363 MB / 426.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0002073/0.6163, allocations: 120.9 kB / 499.9 MB, free: 6.238 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.6166, allocations: 75.06 kB / 0.4883 GB, free: 6.164 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.6168, allocations: 79 kB / 0.4884 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6168, allocations: 4 kB / 0.4884 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.707e-06/0.6169, allocations: 4 kB / 0.4884 GB, free: 6.074 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.6169, allocations: 11.94 kB / 0.4884 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.6195, allocations: 1.162 MB / 0.4895 GB, free: 4.844 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.458e-06/0.6195, allocations: 0 / 0.4895 GB, free: 4.844 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/0.6205, allocations: 159.8 kB / 0.4897 GB, free: 4.688 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.863e-06/0.6205, allocations: 144 / 0.4897 GB, free: 4.688 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/0.6206, allocations: 15.89 kB / 0.4897 GB, free: 4.672 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.386e-06/0.6206, allocations: 4 kB / 0.4897 GB, free: 4.668 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.6206, allocations: 7.984 kB / 0.4897 GB, free: 4.66 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.6224, allocations: 0.8601 MB / 0.4906 GB, free: 3.773 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.6228, allocations: 196.1 kB / 0.4907 GB, free: 3.562 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.623, allocations: 8 kB / 0.4907 GB, free: 3.555 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007587/0.6237, allocations: 99.92 kB / 0.4908 GB, free: 3.457 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.6239, allocations: 35.94 kB / 0.4909 GB, free: 3.422 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.624, allocations: 19.98 kB / 0.4909 GB, free: 3.402 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0006993/0.6247, allocations: 395.2 kB / 0.4913 GB, free: 3.023 MB / 426.8 MB Notification: Performance of sort global known variables: time 9.48e-07/0.6247, allocations: 0 / 0.4913 GB, free: 3.023 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00101/0.6257, allocations: 227.2 kB / 0.4915 GB, free: 2.801 MB / 426.8 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 () * 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.0002109/0.6259, allocations: 111.2 kB / 0.4916 GB, free: 2.684 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.6277, allocations: 0.6518 MB / 0.4922 GB, free: 2.031 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.6277, allocations: 0 / 0.4922 GB, free: 2.031 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.6282, allocations: 211.8 kB / 0.4924 GB, free: 1.824 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.6293, allocations: 163.3 kB / 0.4926 GB, free: 1.668 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.6328, allocations: 1.137 MB / 0.4937 GB, free: 0.4961 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/0.6337, allocations: 0.9431 MB / 0.4946 GB, free: 15.52 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0009969/0.6347, allocations: 143.7 kB / 0.4948 GB, free: 15.38 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.6349, allocations: 43.42 kB / 0.4948 GB, free: 15.34 MB / 442.8 MB Notification: Performance of SimCode: time 1.657e-06/0.6349, allocations: 0 / 0.4948 GB, free: 15.34 MB / 442.8 MB Notification: Performance of Templates: time 0.02426/0.6592, allocations: 8.71 MB / 0.5033 GB, free: 6.688 MB / 442.8 MB