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_cpp_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadModel(ModelicaTest): time 2.175/2.175, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.856e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3267, allocations: 54.85 MB / 359.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.4601, allocations: 84.32 MB / 444.1 MB, free: 12.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.4604, allocations: 67.97 kB / 444.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0596/0.52, allocations: 13.52 MB / 457.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.247e-06/0.5201, allocations: 4 kB / 457.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.349e-05/0.5202, allocations: 16 kB / 457.7 MB, free: 15.08 MB / 394.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.002321/0.5225, allocations: 0.9505 MB / 458.6 MB, free: 14.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.5226, allocations: 12.03 kB / 458.6 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.5229, allocations: 79.06 kB / 458.7 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.5243, allocations: 0.5345 MB / 459.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.888e-05/0.5244, allocations: 40.95 kB / 459.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.5245, allocations: 51.91 kB / 459.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.5256, allocations: 463.1 kB / 459.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.5257, allocations: 0 / 459.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.5257, allocations: 16 kB / 459.8 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.5258, allocations: 12 kB / 459.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.5267, allocations: 301.5 kB / 460.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.5305, allocations: 1.468 MB / 461.6 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.5326, allocations: 0.6807 MB / 462.3 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.5331, allocations: 181.7 kB / 462.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/0.5332, allocations: 15.92 kB / 462.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.5333, allocations: 50.45 kB / 462.5 MB, free: 10.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.721e-06/0.5333, allocations: 0 / 462.5 MB, free: 10.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001214/0.5345, allocations: 401.7 kB / 462.9 MB, free: 9.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5346, allocations: 140.3 kB / 463 MB, free: 9.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/0.5354, allocations: 401 kB / 463.4 MB, free: 9.062 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.248e-05/0.5355, allocations: 46.19 kB / 463.5 MB, free: 9.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.5357, allocations: 314.9 kB / 463.8 MB, free: 8.703 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.536, allocations: 161.7 kB / 463.9 MB, free: 8.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.536, allocations: 8 kB / 463.9 MB, free: 8.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5362, allocations: 326.8 kB / 464.3 MB, free: 8.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.5366, allocations: 144.9 kB / 464.4 MB, free: 8.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.5371, allocations: 192.4 kB / 464.6 MB, free: 7.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.5375, allocations: 141.6 kB / 464.7 MB, free: 7.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.932e-06/0.5376, allocations: 4 kB / 464.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001075/0.5386, allocations: 399.8 kB / 465.1 MB, free: 7.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.5388, allocations: 187.7 kB / 465.3 MB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.889e-06/0.5388, allocations: 4 kB / 465.3 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.5389, allocations: 0 / 465.3 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.5401, allocations: 191.8 kB / 465.5 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.5402, allocations: 8 kB / 465.5 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007368/0.5409, allocations: 107.6 kB / 465.6 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.541, allocations: 19.98 kB / 465.6 MB, free: 6.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5411, allocations: 6.906 kB / 465.6 MB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009284/0.542, allocations: 342.3 kB / 466 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.332e-06/0.542, allocations: 0 / 466 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.542, allocations: 4 kB / 466 MB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.5431, allocations: 155.8 kB / 466.1 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5431, allocations: 4 kB / 466.1 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.5436, allocations: 83.64 kB / 466.2 MB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.5437, allocations: 19.98 kB / 466.2 MB, free: 6.211 MB / 394.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 (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.0002233/0.5439, allocations: 129.2 kB / 466.4 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.5442, allocations: 63.25 kB / 466.4 MB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.5444, allocations: 69.92 kB / 466.5 MB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5444, allocations: 11.92 kB / 466.5 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.5444, allocations: 3.953 kB / 466.5 MB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.5445, allocations: 0 / 466.5 MB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.5469, allocations: 1.076 MB / 467.6 MB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-06/0.547, allocations: 4 kB / 467.6 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.548, allocations: 156.7 kB / 467.7 MB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/0.548, allocations: 7.938 kB / 467.8 MB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.5481, allocations: 15.98 kB / 467.8 MB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.788e-06/0.5481, allocations: 0 / 467.8 MB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.824e-06/0.5481, allocations: 0 / 467.8 MB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.55, allocations: 0.8139 MB / 468.6 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/0.5504, allocations: 180.2 kB / 468.8 MB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.5505, allocations: 8 kB / 468.8 MB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007994/0.5513, allocations: 95.92 kB / 468.9 MB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.5515, allocations: 39.92 kB / 468.9 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.5515, allocations: 12.84 kB / 468.9 MB, free: 3.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005718/0.5521, allocations: 329.6 kB / 469.2 MB, free: 3.109 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.5521, allocations: 0 / 469.2 MB, free: 3.109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009065/0.553, allocations: 203.3 kB / 469.4 MB, free: 2.91 MB / 394.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 (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.0002056/0.5533, allocations: 115.1 kB / 469.5 MB, free: 2.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.5548, allocations: 0.55 MB / 470.1 MB, free: 2.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.932e-06/0.5548, allocations: 0 / 470.1 MB, free: 2.234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005144/0.5553, allocations: 199.8 kB / 470.3 MB, free: 2.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009438/0.5563, allocations: 119.4 kB / 470.4 MB, free: 1.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.5597, allocations: 1.063 MB / 471.5 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007102/0.5605, allocations: 0.8902 MB / 472.4 MB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/0.5608, allocations: 59.34 kB / 472.4 MB, free: 15.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.92e-06/0.5609, allocations: 0 / 472.4 MB, free: 15.85 MB / 410.7 MB Notification: Performance of Templates: time 0.01522/0.5761, allocations: 7.207 MB / 479.6 MB, free: 8.672 MB / 410.7 MB