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.936/1.936, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.343e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09729, allocations: 48.7 MB / 321.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/0.5048, allocations: 75.67 MB / 397.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.5051, allocations: 59.97 kB / 397.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.5239, allocations: 3.693 MB / 401.3 MB, free: 10.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5239, allocations: 0 / 401.3 MB, free: 10.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.5239, allocations: 4 kB / 401.3 MB, free: 10.52 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.0009799/0.5249, allocations: 454.2 kB / 401.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.525, allocations: 11.97 kB / 401.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.5251, allocations: 50.48 kB / 401.8 MB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.459e-05/0.5252, allocations: 15.81 kB / 401.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007788/0.526, allocations: 255.3 kB / 402 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.5261, allocations: 81.11 kB / 402.1 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.5261, allocations: 8 kB / 402.1 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.5266, allocations: 144.2 kB / 402.3 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5266, allocations: 0 / 402.3 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.5266, allocations: 0 / 402.3 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.5266, allocations: 4 kB / 402.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.5269, allocations: 59.98 kB / 402.3 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.5285, allocations: 496.4 kB / 402.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.5287, allocations: 78.5 kB / 402.9 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-05/0.5289, allocations: 29.08 kB / 402.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.5289, allocations: 0 / 402.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.5289, allocations: 38.55 kB / 403 MB, free: 8.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.5289, allocations: 0 / 403 MB, free: 8.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003342/0.5293, allocations: 97.38 kB / 403.1 MB, free: 8.531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.5294, allocations: 106.8 kB / 403.2 MB, free: 8.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.5296, allocations: 142.5 kB / 403.3 MB, free: 8.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.5296, allocations: 33.7 kB / 403.3 MB, free: 8.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5298, allocations: 170.6 kB / 403.5 MB, free: 8.043 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.5298, allocations: 19.7 kB / 403.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.5298, allocations: 4 kB / 403.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.53, allocations: 314.8 kB / 403.8 MB, free: 7.703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/0.5301, allocations: 32 kB / 403.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.5302, allocations: 46.56 kB / 403.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.5303, allocations: 31.92 kB / 403.9 MB, free: 7.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5303, allocations: 0 / 403.9 MB, free: 7.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002744/0.5306, allocations: 97.55 kB / 404 MB, free: 7.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5306, allocations: 7.938 kB / 404 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5307, allocations: 0 / 404 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5307, allocations: 0 / 404 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.5311, allocations: 51.92 kB / 404.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.5311, allocations: 4 kB / 404.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.5313, allocations: 15.92 kB / 404.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.5313, allocations: 8 kB / 404.1 MB, free: 7.398 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 0.0001125/0.5314, allocations: 109 kB / 404.2 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.5315, allocations: 11.86 kB / 404.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.5316, allocations: 13.53 kB / 404.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5316, allocations: 288 / 404.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5316, allocations: 0 / 404.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.5316, allocations: 7.984 kB / 404.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.532, allocations: 229.4 kB / 404.5 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.532, allocations: 0 / 404.5 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.5324, allocations: 51.95 kB / 404.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5325, allocations: 4.047 kB / 404.5 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.5325, allocations: 15.95 kB / 404.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.5325, allocations: 0 / 404.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5325, allocations: 3.938 kB / 404.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.533, allocations: 207.5 kB / 404.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.5331, allocations: 101 kB / 404.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.5332, allocations: 7.984 kB / 404.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.5337, allocations: 47.98 kB / 404.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.5337, allocations: 3.984 kB / 404.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.5338, allocations: 8 kB / 404.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.5339, allocations: 124.9 kB / 405 MB, free: 6.383 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5339, allocations: 0 / 405 MB, free: 6.383 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.5343, allocations: 27.91 kB / 405.1 MB, free: 6.355 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.0007242/0.5351, allocations: 0.748 MB / 405.8 MB, free: 5.582 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.5353, allocations: 51.98 kB / 405.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5353, allocations: 0 / 405.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.882e-05/0.5354, allocations: 31.94 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.0003123/0.5357, allocations: 23.88 kB / 405.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007162/0.5365, allocations: 210.9 kB / 406.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.5368, allocations: 0.7043 MB / 406.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.5369, allocations: 39.42 kB / 406.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5369, allocations: 0 / 406.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.329/2.866, allocations: 2.027 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