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_4.0.0_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 270 MB / 283.6 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.2e-05, allocations: 7.984 kB / 348.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 61.88 MB / 410.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.4767, allocations: 91.63 MB / 0.4901 GB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/0.4771, allocations: 67.91 kB / 0.4902 GB, free: 14.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0855/0.5626, allocations: 15.66 MB / 0.5055 GB, free: 15.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.293e-06/0.5627, allocations: 0 / 0.5055 GB, free: 15.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.51e-05/0.5628, allocations: 27.92 kB / 0.5055 GB, free: 15.19 MB / 442.7 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.002442/0.5652, allocations: 1.024 MB / 0.5065 GB, free: 14.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5653, allocations: 12.03 kB / 0.5065 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.5655, allocations: 106.8 kB / 0.5066 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.567, allocations: 0.5937 MB / 0.5072 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/0.5671, allocations: 37 kB / 0.5073 GB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.5673, allocations: 59.98 kB / 0.5073 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5685, allocations: 0.5531 MB / 0.5078 GB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.5686, allocations: 3.938 kB / 0.5079 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.269e-05/0.5687, allocations: 28 kB / 0.5079 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.5687, allocations: 19.94 kB / 0.5079 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009544/0.5697, allocations: 357.8 kB / 0.5082 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.5739, allocations: 2.274 MB / 0.5105 GB, free: 9.906 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.576, allocations: 0.7108 MB / 0.5112 GB, free: 9.152 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.5765, allocations: 189.7 kB / 0.5113 GB, free: 8.961 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-05/0.5765, allocations: 8.062 kB / 0.5113 GB, free: 8.953 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.5766, allocations: 38.56 kB / 0.5114 GB, free: 8.906 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 6.679e-06/0.5766, allocations: 4 kB / 0.5114 GB, free: 8.902 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.001157/0.5778, allocations: 441.6 kB / 0.5118 GB, free: 8.465 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.5779, allocations: 140.5 kB / 0.5119 GB, free: 8.297 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008103/0.5787, allocations: 491.8 kB / 0.5124 GB, free: 7.809 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.5788, allocations: 33.7 kB / 0.5124 GB, free: 7.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.5791, allocations: 356.8 kB / 0.5128 GB, free: 7.418 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.5794, allocations: 157.7 kB / 0.5129 GB, free: 7.262 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.5794, allocations: 12 kB / 0.5129 GB, free: 7.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002412/0.5797, allocations: 382.8 kB / 0.5133 GB, free: 6.867 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.5801, allocations: 157.1 kB / 0.5135 GB, free: 6.715 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.5807, allocations: 251.2 kB / 0.5137 GB, free: 6.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.5811, allocations: 173.9 kB / 0.5139 GB, free: 6.262 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.652e-06/0.5811, allocations: 0 / 0.5139 GB, free: 6.262 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001243/0.5824, allocations: 0.5107 MB / 0.5144 GB, free: 5.742 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000487/0.5829, allocations: 0.8749 MB / 0.5152 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5829, allocations: 4 kB / 0.5152 GB, free: 4.797 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.5829, allocations: 4 kB / 0.5152 GB, free: 4.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.5842, allocations: 203.7 kB / 0.5154 GB, free: 4.594 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.5843, allocations: 11.98 kB / 0.5154 GB, free: 4.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/0.585, allocations: 123.5 kB / 0.5155 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/0.5851, allocations: 24 kB / 0.5156 GB, free: 4.438 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.5851, allocations: 5.562 kB / 0.5156 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001005/0.5861, allocations: 398.2 kB / 0.516 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.646e-06/0.5861, allocations: 4.25 kB / 0.516 GB, free: 4.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.5861, allocations: 8 kB / 0.516 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.5872, allocations: 171.8 kB / 0.5161 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.864e-06/0.5872, allocations: 8 kB / 0.5161 GB, free: 3.855 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.5878, allocations: 83.64 kB / 0.5162 GB, free: 3.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/0.5879, allocations: 23.98 kB / 0.5162 GB, free: 3.75 MB / 442.7 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.0001928/0.5881, allocations: 136.8 kB / 0.5164 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.5883, allocations: 71.06 kB / 0.5164 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.5885, allocations: 78.75 kB / 0.5165 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.034e-06/0.5885, allocations: 7.938 kB / 0.5165 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.568e-06/0.5885, allocations: 4 kB / 0.5165 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.5885, allocations: 3.984 kB / 0.5165 GB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.591, allocations: 1.154 MB / 0.5177 GB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.591, allocations: 7.938 kB / 0.5177 GB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009884/0.592, allocations: 155.8 kB / 0.5178 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/0.5921, allocations: 4 kB / 0.5178 GB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/0.5921, allocations: 11.98 kB / 0.5178 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.5921, allocations: 3.953 kB / 0.5178 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.647e-06/0.5922, allocations: 4 kB / 0.5178 GB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.5939, allocations: 0.8484 MB / 0.5187 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.5942, allocations: 192.1 kB / 0.5188 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.5943, allocations: 11.95 kB / 0.5189 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007496/0.5951, allocations: 95.91 kB / 0.519 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.5952, allocations: 39.94 kB / 0.519 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/0.5953, allocations: 19.98 kB / 0.519 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006113/0.5959, allocations: 379.2 kB / 0.5194 GB, free: 448 kB / 442.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.596, allocations: 0 / 0.5194 GB, free: 448 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009874/0.597, allocations: 227.3 kB / 0.5196 GB, free: 220 kB / 442.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.0001899/0.5972, allocations: 123.2 kB / 0.5197 GB, free: 88 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.278/0.8751, allocations: 0.6315 MB / 0.5203 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.92e-06/0.8752, allocations: 0.5 kB / 0.5203 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006076/0.8758, allocations: 214 kB / 0.5205 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.877, allocations: 169.3 kB / 0.5207 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.8807, allocations: 1.125 MB / 0.5218 GB, free: 106.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.8812, allocations: 0.9336 MB / 0.5227 GB, free: 106.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008409/0.8821, allocations: 136.4 kB / 0.5228 GB, free: 106.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.8823, allocations: 44.05 kB / 0.5229 GB, free: 106.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.743e-06/0.8823, allocations: 2.25 kB / 0.5229 GB, free: 106.1 MB / 442.7 MB Notification: Performance of Templates: time 0.02034/0.9027, allocations: 8.597 MB / 0.5313 GB, free: 105.7 MB / 442.7 MB