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 loadModel(ModelicaTest): time 2.237/2.237, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.931e-05, allocations: 0 / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.331, allocations: 54.85 MB / 359.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4639, allocations: 84.33 MB / 444.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.4641, allocations: 64.75 kB / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0597/0.5238, allocations: 13.52 MB / 457.7 MB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.391e-06/0.5239, allocations: 4 kB / 457.7 MB, free: 15.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.171e-05/0.524, allocations: 20 kB / 457.7 MB, free: 15.01 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.00231/0.5263, allocations: 0.9545 MB / 458.7 MB, free: 14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5264, allocations: 8.031 kB / 458.7 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.5267, allocations: 79.06 kB / 458.7 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.5286, allocations: 0.5307 MB / 459.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.5287, allocations: 36.95 kB / 459.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.5288, allocations: 47.91 kB / 459.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.53, allocations: 463.2 kB / 459.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.53, allocations: 4 kB / 459.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.5301, allocations: 16 kB / 459.8 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.5301, allocations: 8 kB / 459.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000858/0.531, allocations: 309.5 kB / 460.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003683/0.5347, allocations: 1.461 MB / 461.6 MB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.5367, allocations: 0.6923 MB / 462.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.5373, allocations: 177.7 kB / 462.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.575e-05/0.5373, allocations: 19.91 kB / 462.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.5374, allocations: 50.52 kB / 462.5 MB, free: 9.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.789e-06/0.5374, allocations: 0 / 462.5 MB, free: 9.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.00119/0.5386, allocations: 401.6 kB / 462.9 MB, free: 9.555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.5387, allocations: 136.3 kB / 463.1 MB, free: 9.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007061/0.5395, allocations: 409 kB / 463.5 MB, free: 8.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.5395, allocations: 38.27 kB / 463.5 MB, free: 8.941 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.5399, allocations: 296.5 kB / 463.8 MB, free: 8.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.5401, allocations: 153.8 kB / 463.9 MB, free: 8.496 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.5401, allocations: 12 kB / 463.9 MB, free: 8.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.5404, allocations: 362.8 kB / 464.3 MB, free: 8.121 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.5408, allocations: 144.9 kB / 464.4 MB, free: 7.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.5413, allocations: 196.4 kB / 464.6 MB, free: 7.777 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.5417, allocations: 141.6 kB / 464.8 MB, free: 7.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.5417, allocations: 0 / 464.8 MB, free: 7.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001172/0.5429, allocations: 451.2 kB / 465.2 MB, free: 7.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.543, allocations: 187.7 kB / 465.4 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.559e-06/0.5431, allocations: 0 / 465.4 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.5431, allocations: 4.094 kB / 465.4 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.5443, allocations: 191.8 kB / 465.6 MB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.5444, allocations: 11.94 kB / 465.6 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/0.5451, allocations: 111.6 kB / 465.7 MB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/0.5452, allocations: 18.02 kB / 465.7 MB, free: 6.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5452, allocations: 6.906 kB / 465.7 MB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008951/0.5461, allocations: 334.4 kB / 466.1 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.249e-06/0.5461, allocations: 4 kB / 466.1 MB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.822e-06/0.5462, allocations: 0 / 466.1 MB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009849/0.5472, allocations: 171.7 kB / 466.2 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.835e-06/0.5472, allocations: 0 / 466.2 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.5477, allocations: 79.64 kB / 466.3 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.5478, allocations: 12 kB / 466.3 MB, free: 6.078 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.0001954/0.548, allocations: 129.3 kB / 466.4 MB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.5482, allocations: 59.25 kB / 466.5 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.5484, allocations: 69.78 kB / 466.6 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.704e-06/0.5484, allocations: 7.938 kB / 466.6 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.369e-06/0.5485, allocations: 3.953 kB / 466.6 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.5485, allocations: 7.984 kB / 466.6 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.5509, allocations: 1.08 MB / 467.7 MB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.236e-06/0.5509, allocations: 4 kB / 467.7 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009589/0.5519, allocations: 156.7 kB / 467.8 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.5519, allocations: 4 kB / 467.8 MB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.552, allocations: 15.98 kB / 467.8 MB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.275e-06/0.552, allocations: 4 kB / 467.9 MB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.473e-06/0.552, allocations: 0 / 467.9 MB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.5538, allocations: 0.8139 MB / 468.7 MB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.5541, allocations: 188.1 kB / 468.9 MB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.5542, allocations: 12 kB / 468.9 MB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000736/0.555, allocations: 87.92 kB / 468.9 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.5551, allocations: 35.94 kB / 469 MB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.5552, allocations: 28.83 kB / 469 MB, free: 3.277 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005614/0.5558, allocations: 317.6 kB / 469.3 MB, free: 2.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.64e-07/0.5558, allocations: 0 / 469.3 MB, free: 2.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009379/0.5568, allocations: 203.3 kB / 469.5 MB, free: 2.77 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.0001968/0.557, allocations: 111.2 kB / 469.6 MB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.5585, allocations: 0.5769 MB / 470.2 MB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.922e-06/0.5585, allocations: 0 / 470.2 MB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006358/0.5591, allocations: 199.8 kB / 470.4 MB, free: 1.875 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/0.56, allocations: 119.4 kB / 470.5 MB, free: 1.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.5633, allocations: 1.038 MB / 471.6 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.564, allocations: 0.8917 MB / 472.4 MB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008119/0.5648, allocations: 126.1 kB / 472.6 MB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.565, allocations: 39.41 kB / 472.6 MB, free: 15.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.941e-06/0.5651, allocations: 4 kB / 472.6 MB, free: 15.61 MB / 410.7 MB Notification: Performance of Templates: time 0.021/0.5861, allocations: 7.354 MB / 480 MB, free: 8.297 MB / 410.7 MB