Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.905/1.905, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.677e-05/4.695e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1382, allocations: 48.69 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.398/0.5362, allocations: 75.67 MB / 397.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5365, allocations: 63.97 kB / 397.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0186/0.5551, allocations: 3.694 MB / 401.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5552, allocations: 0 / 401.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.5552, allocations: 0 / 401.2 MB, free: 10.54 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000947/0.5562, allocations: 458.1 kB / 401.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.5562, allocations: 12.03 kB / 401.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.692e-05/0.5563, allocations: 38.56 kB / 401.7 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.5564, allocations: 23.8 kB / 401.8 MB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000736/0.5572, allocations: 255.3 kB / 402 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.5573, allocations: 89.09 kB / 402.1 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.5573, allocations: 8 kB / 402.1 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.5577, allocations: 132.2 kB / 402.2 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.5577, allocations: 0 / 402.2 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.5578, allocations: 7.938 kB / 402.2 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5578, allocations: 0 / 402.2 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.558, allocations: 71.92 kB / 402.3 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.5596, allocations: 496.4 kB / 402.8 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.5598, allocations: 86.45 kB / 402.9 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/0.5599, allocations: 25.08 kB / 402.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.5599, allocations: 0 / 402.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.56, allocations: 38.56 kB / 402.9 MB, free: 8.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.56, allocations: 0 / 402.9 MB, free: 8.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003096/0.5603, allocations: 81.58 kB / 403 MB, free: 8.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.5604, allocations: 114.8 kB / 403.1 MB, free: 8.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.5606, allocations: 138.5 kB / 403.3 MB, free: 8.262 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.5606, allocations: 33.7 kB / 403.3 MB, free: 8.223 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.5608, allocations: 178.6 kB / 403.5 MB, free: 8.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.5608, allocations: 15.72 kB / 403.5 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.5608, allocations: 0 / 403.5 MB, free: 8.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.561, allocations: 318.8 kB / 403.8 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/0.5611, allocations: 28 kB / 403.8 MB, free: 7.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.5612, allocations: 42.58 kB / 403.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.384e-05/0.5613, allocations: 32.02 kB / 403.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5613, allocations: 0 / 403.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002736/0.5616, allocations: 109.4 kB / 404 MB, free: 7.488 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5616, allocations: 4.281 kB / 404 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5616, allocations: 0 / 404 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5617, allocations: 0 / 404 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.562, allocations: 55.84 kB / 404.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.562, allocations: 0 / 404.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.5622, allocations: 23.92 kB / 404.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.5623, allocations: 0 / 404.1 MB, free: 7.406 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.988e-05/0.5624, allocations: 109 kB / 404.2 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.5625, allocations: 23.75 kB / 404.2 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.5625, allocations: 9.531 kB / 404.2 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.5625, allocations: 4 kB / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5625, allocations: 4 kB / 404.2 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5626, allocations: 0 / 404.2 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.5629, allocations: 221.6 kB / 404.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5629, allocations: 0 / 404.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.5633, allocations: 51.95 kB / 404.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.5634, allocations: 7.984 kB / 404.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.5634, allocations: 3.953 kB / 404.5 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5634, allocations: 0 / 404.5 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5634, allocations: 0 / 404.5 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.5638, allocations: 215.5 kB / 404.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.5639, allocations: 97.02 kB / 404.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.564, allocations: 8 kB / 404.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/0.5645, allocations: 55.97 kB / 404.9 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.5645, allocations: 4 kB / 404.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.5646, allocations: 7.984 kB / 404.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.5647, allocations: 124.9 kB / 405 MB, free: 6.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5647, allocations: 0 / 405 MB, free: 6.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.5651, allocations: 27.91 kB / 405 MB, free: 6.363 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006794/0.5658, allocations: 0.748 MB / 405.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.566, allocations: 56.06 kB / 405.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.566, allocations: 0 / 405.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.5661, allocations: 35.86 kB / 405.9 MB, free: 5.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.5664, allocations: 15.95 kB / 405.9 MB, free: 5.484 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006816/0.5671, allocations: 214.8 kB / 406.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.5674, allocations: 0.7083 MB / 406.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.5675, allocations: 35.61 kB / 406.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5676, allocations: 0 / 406.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.262/2.83, allocations: 2.028 MB / 408.9 MB, free: 2.449 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat