Running command: translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.902e-05, allocations: 6.188 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.08865, allocations: 50.42 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3946/0.4834, allocations: 77.51 MB / 420.1 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.4836, allocations: 65.41 kB / 420.1 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009119/0.4927, allocations: 2.388 MB / 422.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.885e-06/0.4928, allocations: 0 / 422.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.4928, allocations: 4 kB / 422.5 MB, free: 14.47 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.0005279/0.4933, allocations: 404.1 kB / 422.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4934, allocations: 8.031 kB / 422.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.4934, allocations: 19.77 kB / 422.9 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.4937, allocations: 207.4 kB / 423.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.4938, allocations: 10 kB / 423.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.4938, allocations: 15.44 kB / 423.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.494, allocations: 101.7 kB / 423.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.494, allocations: 3.906 kB / 423.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4941, allocations: 4 kB / 423.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.543e-06/0.4941, allocations: 0 / 423.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.4942, allocations: 44.69 kB / 423.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008521/0.4951, allocations: 0.5474 MB / 423.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.4953, allocations: 71.94 kB / 423.9 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/0.4954, allocations: 38.92 kB / 424 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.4954, allocations: 4 kB / 424 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.4954, allocations: 34.5 kB / 424 MB, free: 12.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.31e-06/0.4954, allocations: 0 / 424 MB, free: 12.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006841/0.4961, allocations: 344.3 kB / 424.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.4962, allocations: 59.39 kB / 424.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.4964, allocations: 146.2 kB / 424.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.4964, allocations: 29.58 kB / 424.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4965, allocations: 174.2 kB / 424.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.4966, allocations: 46.31 kB / 424.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-06/0.4966, allocations: 0 / 424.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4968, allocations: 322.5 kB / 425.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.4969, allocations: 23.25 kB / 425.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.497, allocations: 57.19 kB / 425.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.29e-05/0.4971, allocations: 31.11 kB / 425.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4971, allocations: 0 / 425.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002464/0.4973, allocations: 112.1 kB / 425.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4974, allocations: 8 kB / 425.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4974, allocations: 3.938 kB / 425.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4974, allocations: 4.094 kB / 425.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.4976, allocations: 39.92 kB / 425.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.411e-06/0.4976, allocations: 0 / 425.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.4978, allocations: 19.67 kB / 425.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.4978, allocations: 7.953 kB / 425.4 MB, free: 11.54 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.0001038/0.4979, allocations: 125 kB / 425.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.498, allocations: 11.81 kB / 425.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.498, allocations: 15.81 kB / 425.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-06/0.498, allocations: 0 / 425.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.498, allocations: 0 / 425.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.864e-06/0.4981, allocations: 0 / 425.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.4988, allocations: 419.5 kB / 426 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4988, allocations: 0 / 426 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.499, allocations: 31.98 kB / 426 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.121e-06/0.499, allocations: 0 / 426 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.499, allocations: 7.562 kB / 426 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.956e-06/0.4991, allocations: 3.938 kB / 426 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.876e-06/0.4991, allocations: 7.953 kB / 426 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.4994, allocations: 242.6 kB / 426.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.4995, allocations: 88.23 kB / 426.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.4996, allocations: 7.969 kB / 426.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.4998, allocations: 23.94 kB / 426.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.4998, allocations: 11.36 kB / 426.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4998, allocations: 4 kB / 426.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.5, allocations: 108.5 kB / 426.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.5, allocations: 0 / 426.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.5003, allocations: 23.36 kB / 426.5 MB, free: 10.43 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.0001374/0.5005, allocations: 103 kB / 426.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.5007, allocations: 69.56 kB / 426.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5007, allocations: 0 / 426.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.101e-05/0.5008, allocations: 37.88 kB / 426.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.5012, allocations: 30.34 kB / 426.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.5017, allocations: 233.8 kB / 427 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.5021, allocations: 0.7128 MB / 427.7 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.5021, allocations: 15.44 kB / 427.7 MB, free: 9.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.398e-06/0.5021, allocations: 0 / 427.7 MB, free: 9.23 MB / 346.7 MB Notification: Performance of Templates: time 0.003857/0.506, allocations: 1.584 MB / 429.3 MB, free: 7.664 MB / 346.7 MB