Running command: translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadModel(Modelica): time 2.125/2.125, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.675e-05, allocations: 4 kB / 292.1 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 50.41 MB / 342.5 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.4891, allocations: 77.45 MB / 420 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.4893, allocations: 64.97 kB / 420.1 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009306/0.4986, allocations: 2.389 MB / 422.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.969e-06/0.4987, allocations: 4 kB / 422.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.4987, allocations: 0 / 422.5 MB, free: 14.66 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00056/0.4993, allocations: 401.9 kB / 422.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4994, allocations: 12.03 kB / 422.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.4994, allocations: 19.75 kB / 422.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.4997, allocations: 207 kB / 423.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.4998, allocations: 4 kB / 423.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.4998, allocations: 15.69 kB / 423.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.5, allocations: 109.5 kB / 423.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.5001, allocations: 7.844 kB / 423.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.5001, allocations: 7.422 kB / 423.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.28e-06/0.5001, allocations: 4 kB / 423.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.5003, allocations: 35.31 kB / 423.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/0.5012, allocations: 0.5453 MB / 423.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.5014, allocations: 73.58 kB / 423.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.5015, allocations: 32.05 kB / 423.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.5015, allocations: 4.438 kB / 423.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.5016, allocations: 34.55 kB / 423.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.619e-06/0.5016, allocations: 0 / 423.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007313/0.5023, allocations: 352.9 kB / 424.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.5024, allocations: 55.34 kB / 424.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.5026, allocations: 144.3 kB / 424.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5026, allocations: 25.7 kB / 424.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.5027, allocations: 123 kB / 424.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.5028, allocations: 35.39 kB / 424.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-06/0.5028, allocations: 3.562 kB / 424.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.5029, allocations: 322.6 kB / 425 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.503, allocations: 23.69 kB / 425 MB, free: 12.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.5031, allocations: 62.98 kB / 425.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.196e-05/0.5032, allocations: 28.23 kB / 425.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-06/0.5033, allocations: 0 / 425.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002661/0.5035, allocations: 112.7 kB / 425.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5036, allocations: 7.938 kB / 425.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5036, allocations: 4 kB / 425.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.5036, allocations: 12.02 kB / 425.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.5039, allocations: 43.78 kB / 425.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.5039, allocations: 0 / 425.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.504, allocations: 15.98 kB / 425.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.504, allocations: 7.953 kB / 425.3 MB, free: 11.78 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001018/0.5041, allocations: 121.6 kB / 425.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.5042, allocations: 11.81 kB / 425.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.5043, allocations: 20.17 kB / 425.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-06/0.5043, allocations: 0 / 425.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.17e-06/0.5043, allocations: 0 / 425.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.74e-06/0.5043, allocations: 0 / 425.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007145/0.505, allocations: 414.1 kB / 425.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.308e-06/0.5051, allocations: 4.094 kB / 425.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.5053, allocations: 43.72 kB / 425.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.864e-06/0.5053, allocations: 3.938 kB / 425.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.5054, allocations: 0 / 425.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.975e-06/0.5054, allocations: 4 kB / 425.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.229e-06/0.5054, allocations: 3.984 kB / 425.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.5058, allocations: 245 kB / 426.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.5059, allocations: 81.02 kB / 426.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.5059, allocations: 7.812 kB / 426.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.5061, allocations: 23.98 kB / 426.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.5062, allocations: 7.984 kB / 426.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.5062, allocations: 3.625 kB / 426.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.5063, allocations: 113.6 kB / 426.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.5063, allocations: 0 / 426.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003446/0.5067, allocations: 19.94 kB / 426.4 MB, free: 10.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (v.u,limit_a.y,positionSmoothed.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000148/0.5068, allocations: 99.89 kB / 426.5 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.5071, allocations: 79.05 kB / 426.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.57e-06/0.5071, allocations: 0 / 426.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.372e-05/0.5072, allocations: 35.5 kB / 426.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.5076, allocations: 30.91 kB / 426.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.5081, allocations: 204.1 kB / 426.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.5085, allocations: 0.7131 MB / 427.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.96e-05/0.5086, allocations: 13.2 kB / 427.6 MB, free: 9.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.5087, allocations: 15.44 kB / 427.6 MB, free: 9.496 MB / 346.7 MB Notification: Performance of SimCode: time 1.488e-06/0.5087, allocations: 3.938 kB / 427.6 MB, free: 9.492 MB / 346.7 MB Notification: Performance of Templates: time 0.005236/0.5139, allocations: 1.34 MB / 428.9 MB, free: 8.172 MB / 346.7 MB