Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.452e-05/4.471e-05, allocations: 4 kB / 292.7 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 50.42 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.5689, allocations: 77.47 MB / 420.6 MB, free: 380 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.5692, allocations: 66.72 kB / 420.7 MB, free: 348 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0102/0.5795, allocations: 2.388 MB / 423.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5795, allocations: 0 / 423.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.5795, allocations: 4 kB / 423.1 MB, free: 14.29 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.0006535/0.5802, allocations: 409.7 kB / 423.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.5803, allocations: 12.03 kB / 423.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.5803, allocations: 38.39 kB / 423.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.5804, allocations: 19.75 kB / 423.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.5807, allocations: 206.8 kB / 423.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.5808, allocations: 11.56 kB / 423.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.5808, allocations: 11.81 kB / 423.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.5811, allocations: 111.3 kB / 423.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5811, allocations: 0 / 423.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.5811, allocations: 4 kB / 423.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.5811, allocations: 0 / 423.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.5813, allocations: 39.36 kB / 423.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009635/0.5823, allocations: 0.55 MB / 424.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.5825, allocations: 85.7 kB / 424.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.5826, allocations: 28.3 kB / 424.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.5826, allocations: 448 / 424.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.5826, allocations: 34.56 kB / 424.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/0.5827, allocations: 0 / 424.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007434/0.5834, allocations: 353.3 kB / 425 MB, free: 12.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.5835, allocations: 67.3 kB / 425 MB, free: 12.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.5836, allocations: 135.8 kB / 425.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.5837, allocations: 25.7 kB / 425.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.5838, allocations: 115.3 kB / 425.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.5838, allocations: 39.39 kB / 425.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.5838, allocations: 3.75 kB / 425.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.584, allocations: 318.8 kB / 425.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.5841, allocations: 23.62 kB / 425.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.5842, allocations: 62.67 kB / 425.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.976e-05/0.5843, allocations: 27.69 kB / 425.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5843, allocations: 0 / 425.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002768/0.5846, allocations: 120.4 kB / 425.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5846, allocations: 7.938 kB / 425.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5846, allocations: 4.094 kB / 425.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.5847, allocations: 4 kB / 425.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.585, allocations: 35.97 kB / 425.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.585, allocations: 4 kB / 425.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.5852, allocations: 19.94 kB / 426 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.5852, allocations: 7.875 kB / 426 MB, free: 11.36 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 8.852e-05/0.5853, allocations: 113.8 kB / 426.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.5853, allocations: 19.69 kB / 426.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.5854, allocations: 8.5 kB / 426.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.5854, allocations: 4 kB / 426.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.5854, allocations: 3.984 kB / 426.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.5855, allocations: 3.984 kB / 426.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007281/0.5862, allocations: 421.1 kB / 426.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5862, allocations: 0 / 426.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.5865, allocations: 31.92 kB / 426.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5866, allocations: 0 / 426.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.5866, allocations: 7.984 kB / 426.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5866, allocations: 0 / 426.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5866, allocations: 7.984 kB / 426.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.587, allocations: 240.8 kB / 426.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.5871, allocations: 92.86 kB / 426.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.5871, allocations: 0 / 426.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.5873, allocations: 23.94 kB / 426.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.5874, allocations: 11.67 kB / 426.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.5874, allocations: 4 kB / 426.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.5875, allocations: 110.5 kB / 427 MB, free: 10.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5876, allocations: 4 kB / 427.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003413/0.5879, allocations: 16 kB / 427.1 MB, free: 10.25 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.0007043/0.5886, allocations: 0.8483 MB / 427.9 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.5889, allocations: 67.19 kB / 428 MB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5889, allocations: 0 / 428 MB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.589, allocations: 39.44 kB / 428 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.5895, allocations: 40.14 kB / 428.1 MB, free: 9.297 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000764/0.5903, allocations: 241.8 kB / 428.3 MB, free: 9.047 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.5906, allocations: 0.7126 MB / 429 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.124e-05/0.5907, allocations: 17.2 kB / 429 MB, free: 8.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.5908, allocations: 35.73 kB / 429.1 MB, free: 8.277 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5908, allocations: 0 / 429.1 MB, free: 8.277 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.6141, allocations: 2.68 MB / 431.7 MB, free: 5.684 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003362/0.6145, allocations: 149 kB / 431.9 MB, free: 5.453 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.011, allocations: 0 / 431.9 MB, free: 5.453 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat