Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.323/2.323, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.391e-05, allocations: 4 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1496, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.6162, allocations: 76.43 MB / 393.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.6164, allocations: 64.59 kB / 393.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009741/0.6262, allocations: 2.333 MB / 395.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6263, allocations: 0 / 395.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.6263, allocations: 7.938 kB / 395.9 MB, free: 9.156 MB / 314.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.0006808/0.627, allocations: 410.8 kB / 396.3 MB, free: 8.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.6271, allocations: 12.03 kB / 396.3 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/0.6271, allocations: 33.88 kB / 396.3 MB, free: 8.668 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.6272, allocations: 11.91 kB / 396.3 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.6275, allocations: 213.3 kB / 396.5 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.6275, allocations: 7.953 kB / 396.5 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.6276, allocations: 19.03 kB / 396.5 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.6278, allocations: 103 kB / 396.6 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.6279, allocations: 0 / 396.6 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.6279, allocations: 7.5 kB / 396.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.6279, allocations: 0 / 396.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.6281, allocations: 46.48 kB / 396.7 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009649/0.629, allocations: 0.5468 MB / 397.2 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.6293, allocations: 68.7 kB / 397.3 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.6293, allocations: 34.48 kB / 397.3 MB, free: 7.613 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.6294, allocations: 4 kB / 397.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.6294, allocations: 42.33 kB / 397.4 MB, free: 7.562 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.204e-06/0.6294, allocations: 0 / 397.4 MB, free: 7.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007623/0.6302, allocations: 347 kB / 397.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.6303, allocations: 55.41 kB / 397.8 MB, free: 7.137 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.6305, allocations: 139.8 kB / 397.9 MB, free: 7.008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.6305, allocations: 33.58 kB / 398 MB, free: 6.973 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.6306, allocations: 113.7 kB / 398.1 MB, free: 6.863 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.6306, allocations: 38.58 kB / 398.1 MB, free: 6.832 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.6307, allocations: 0 / 398.1 MB, free: 6.832 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.6308, allocations: 325.5 kB / 398.4 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.6309, allocations: 25.88 kB / 398.4 MB, free: 6.496 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.631, allocations: 55.92 kB / 398.5 MB, free: 6.441 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.028e-05/0.6311, allocations: 31 kB / 398.5 MB, free: 6.422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.6312, allocations: 4 kB / 398.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002765/0.6314, allocations: 114.8 kB / 398.6 MB, free: 6.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.6315, allocations: 7.953 kB / 398.7 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.6315, allocations: 3.984 kB / 398.7 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.6315, allocations: 8.094 kB / 398.7 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.6318, allocations: 43.91 kB / 398.7 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.6319, allocations: 4 kB / 398.7 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.632, allocations: 15.98 kB / 398.7 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.6321, allocations: 7.25 kB / 398.7 MB, free: 6.234 MB / 314.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 9.176e-05/0.6322, allocations: 108.7 kB / 398.8 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.6322, allocations: 15.81 kB / 398.9 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.6323, allocations: 15.14 kB / 398.9 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.6323, allocations: 4 kB / 398.9 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.6323, allocations: 3.984 kB / 398.9 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6323, allocations: 3.938 kB / 398.9 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007488/0.6331, allocations: 416.1 kB / 399.3 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.6331, allocations: 3.953 kB / 399.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.6334, allocations: 35.78 kB / 399.3 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6334, allocations: 4 kB / 399.3 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.6335, allocations: 288 / 399.3 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.6335, allocations: 0 / 399.3 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6335, allocations: 8.031 kB / 399.3 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.6339, allocations: 246.2 kB / 399.6 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.634, allocations: 85.02 kB / 399.7 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.634, allocations: 4 kB / 399.7 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.6342, allocations: 23.55 kB / 399.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.6343, allocations: 11.92 kB / 399.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.6343, allocations: 0 / 399.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.6344, allocations: 116.2 kB / 399.8 MB, free: 5.145 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6345, allocations: 0 / 399.8 MB, free: 5.145 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.6348, allocations: 22.81 kB / 399.8 MB, free: 5.125 MB / 314.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.0007793/0.6356, allocations: 0.85 MB / 400.7 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.6359, allocations: 70.94 kB / 400.8 MB, free: 4.227 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6359, allocations: 0 / 400.8 MB, free: 4.227 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.636, allocations: 38.06 kB / 400.8 MB, free: 4.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.6365, allocations: 35.84 kB / 400.8 MB, free: 4.172 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/0.6373, allocations: 247 kB / 401.1 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.6377, allocations: 0.7125 MB / 401.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.359e-05/0.6378, allocations: 29.12 kB / 401.8 MB, free: 3.148 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.6379, allocations: 35.11 kB / 401.8 MB, free: 3.133 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6379, allocations: 7.938 kB / 401.9 MB, free: 3.125 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.6625, allocations: 2.662 MB / 404.5 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000346/0.6629, allocations: 144.9 kB / 404.7 MB, free: 312 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.189, allocations: 3.938 kB / 404.7 MB, free: 308 kB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat