Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.372e-05, allocations: 4 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 50.4 MB / 342.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5516, allocations: 77.48 MB / 420.1 MB, free: 356 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.5519, allocations: 62.91 kB / 420.2 MB, free: 324 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01049/0.5624, allocations: 2.392 MB / 422.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5624, allocations: 0 / 422.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.5625, allocations: 4 kB / 422.6 MB, free: 14.26 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.0006554/0.5631, allocations: 413 kB / 423 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5632, allocations: 8.031 kB / 423 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.829e-05/0.5633, allocations: 42.27 kB / 423 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.5633, allocations: 15.81 kB / 423 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.5637, allocations: 212.9 kB / 423.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.5637, allocations: 11.94 kB / 423.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.5637, allocations: 4 kB / 423.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.564, allocations: 116.8 kB / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.564, allocations: 0 / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.564, allocations: 0 / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.5641, allocations: 4 kB / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.5642, allocations: 40.86 kB / 423.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000976/0.5652, allocations: 0.5438 MB / 424 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.5654, allocations: 79.12 kB / 424 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.156e-05/0.5655, allocations: 31.3 kB / 424.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.5656, allocations: 4.422 kB / 424.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.5656, allocations: 30.56 kB / 424.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.455e-06/0.5656, allocations: 0 / 424.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007984/0.5664, allocations: 355.8 kB / 424.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.5665, allocations: 63.3 kB / 424.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.5667, allocations: 135.6 kB / 424.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.5667, allocations: 26.17 kB / 424.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.5668, allocations: 117.8 kB / 424.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.5669, allocations: 34.7 kB / 424.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-06/0.5669, allocations: 3 kB / 424.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5671, allocations: 322.3 kB / 425.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.5672, allocations: 29.25 kB / 425.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.5673, allocations: 60.3 kB / 425.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.5674, allocations: 29.98 kB / 425.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.5674, allocations: 0 / 425.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002923/0.5677, allocations: 120.5 kB / 425.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5677, allocations: 16.03 kB / 425.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5678, allocations: 0 / 425.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5678, allocations: 0 / 425.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.5681, allocations: 39.97 kB / 425.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5681, allocations: 0 / 425.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.5683, allocations: 19.94 kB / 425.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.5683, allocations: 11.25 kB / 425.5 MB, free: 11.33 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.0001066/0.5684, allocations: 117.4 kB / 425.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.5685, allocations: 11.81 kB / 425.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.5686, allocations: 15.5 kB / 425.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5686, allocations: 0 / 425.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5686, allocations: 0 / 425.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5686, allocations: 3.984 kB / 425.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008272/0.5694, allocations: 414.8 kB / 426 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5695, allocations: 0 / 426 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.5698, allocations: 35.92 kB / 426 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.5698, allocations: 0 / 426 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.5699, allocations: 7.984 kB / 426.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.5699, allocations: 4.031 kB / 426.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.5699, allocations: 7.953 kB / 426.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.5703, allocations: 243 kB / 426.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.5704, allocations: 89.05 kB / 426.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.5704, allocations: 0 / 426.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.5706, allocations: 27.81 kB / 426.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.5707, allocations: 7.984 kB / 426.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.5707, allocations: 7.938 kB / 426.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.5709, allocations: 113.1 kB / 426.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5709, allocations: 0 / 426.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003636/0.5712, allocations: 19.06 kB / 426.6 MB, free: 10.23 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.0007583/0.572, allocations: 0.8523 MB / 427.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.5723, allocations: 68.25 kB / 427.5 MB, free: 9.328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5723, allocations: 0 / 427.5 MB, free: 9.328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.5724, allocations: 32.94 kB / 427.5 MB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.5729, allocations: 37.34 kB / 427.5 MB, free: 9.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/0.5737, allocations: 247.9 kB / 427.8 MB, free: 9.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.5741, allocations: 0.7165 MB / 428.5 MB, free: 8.277 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.782e-05/0.5742, allocations: 9.203 kB / 428.5 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-05/0.5743, allocations: 39.23 kB / 428.6 MB, free: 8.25 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5743, allocations: 0 / 428.6 MB, free: 8.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.6012, allocations: 2.679 MB / 431.2 MB, free: 5.656 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/0.6016, allocations: 147.6 kB / 431.4 MB, free: 5.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.23, allocations: 3.938 kB / 431.4 MB, free: 5.426 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat