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_cpp_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadModel(ModelicaTest): time 1.787/1.787, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.472e-05, allocations: 4 kB / 273 MB, free: 3.672 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0848/0.08486, allocations: 48.7 MB / 321.7 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3796/0.4645, allocations: 78.49 MB / 400.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.4647, allocations: 57.55 kB / 400.3 MB, free: 6.914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07162/0.5363, allocations: 18.29 MB / 418.6 MB, free: 80 kB / 314.7 MB Notification: Performance of FrontEnd: time 3.207e-06/0.5364, allocations: 0 / 418.6 MB, free: 80 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.274e-05/0.5365, allocations: 15.44 kB / 418.6 MB, free: 76 kB / 314.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.002538/0.539, allocations: 1.026 MB / 419.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.5391, allocations: 8.031 kB / 419.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/0.5394, allocations: 98.86 kB / 419.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.5412, allocations: 0.601 MB / 420.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/0.5413, allocations: 31.56 kB / 420.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.5414, allocations: 41.31 kB / 420.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.5425, allocations: 0.493 MB / 420.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.5426, allocations: 3.938 kB / 420.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.5427, allocations: 21.06 kB / 420.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.5427, allocations: 12 kB / 420.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/0.5436, allocations: 320.5 kB / 421.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.5471, allocations: 1.475 MB / 422.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.5486, allocations: 0.697 MB / 423.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/0.5491, allocations: 194.6 kB / 423.6 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.5491, allocations: 11.83 kB / 423.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.5492, allocations: 42.36 kB / 423.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 3.504e-06/0.5492, allocations: 0 / 423.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001167/0.5504, allocations: 422.9 kB / 424.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.5505, allocations: 136.5 kB / 424.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006922/0.5512, allocations: 412.6 kB / 424.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.5513, allocations: 31.64 kB / 424.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.5515, allocations: 331.4 kB / 425 MB, free: 10.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.5517, allocations: 158.2 kB / 425.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.5518, allocations: 6.75 kB / 425.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.552, allocations: 333.5 kB / 425.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.5524, allocations: 145.2 kB / 425.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.5528, allocations: 197.5 kB / 425.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.5533, allocations: 145.1 kB / 425.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.058e-06/0.5533, allocations: 4.031 kB / 425.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001041/0.5543, allocations: 422.3 kB / 426.3 MB, free: 9.805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.5544, allocations: 4 kB / 426.3 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.848e-06/0.5544, allocations: 0 / 426.3 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.5544, allocations: 4 kB / 426.4 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.5557, allocations: 179 kB / 426.5 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.5557, allocations: 0 / 426.5 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006769/0.5564, allocations: 103.2 kB / 426.6 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/0.5565, allocations: 19.23 kB / 426.6 MB, free: 9.516 MB / 330.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 () * 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.0001778/0.5566, allocations: 132 kB / 426.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.5568, allocations: 59.25 kB / 426.8 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.558, allocations: 439.3 kB / 427.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.646e-06/0.558, allocations: 4 kB / 427.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.304e-06/0.558, allocations: 0 / 427.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.558, allocations: 4 kB / 427.3 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.5604, allocations: 1.123 MB / 428.4 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.947e-06/0.5605, allocations: 4 kB / 428.4 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009556/0.5614, allocations: 143.4 kB / 428.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.5615, allocations: 7.938 kB / 428.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.5615, allocations: 17.36 kB / 428.6 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.329e-06/0.5616, allocations: 0 / 428.6 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.336e-06/0.5616, allocations: 11.89 kB / 428.6 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.5632, allocations: 0.8262 MB / 429.4 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.5636, allocations: 184.6 kB / 429.6 MB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.5637, allocations: 10.92 kB / 429.6 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/0.5644, allocations: 79.27 kB / 429.7 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.5646, allocations: 37.56 kB / 429.7 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/0.5646, allocations: 22.3 kB / 429.7 MB, free: 7.055 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005519/0.5652, allocations: 331.2 kB / 430 MB, free: 6.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.5652, allocations: 0 / 430 MB, free: 6.809 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000635/0.5659, allocations: 118 kB / 430.2 MB, free: 6.703 MB / 330.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 () * 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.0001915/0.5661, allocations: 109.7 kB / 430.3 MB, free: 6.594 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009754/0.5671, allocations: 375.3 kB / 430.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5671, allocations: 0 / 430.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.5676, allocations: 205.6 kB / 430.8 MB, free: 6.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.5684, allocations: 121.8 kB / 431 MB, free: 6.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.5717, allocations: 1.062 MB / 432 MB, free: 5.141 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.5724, allocations: 0.8983 MB / 432.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.5728, allocations: 54.91 kB / 433 MB, free: 4.168 MB / 330.7 MB Notification: Performance of SimCode: time 1.842e-06/0.5728, allocations: 0 / 433 MB, free: 4.168 MB / 330.7 MB Notification: Performance of Templates: time 0.0144/0.5872, allocations: 7.133 MB / 440.1 MB, free: 13.16 MB / 346.7 MB