Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.047/2.047, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.541e-05, allocations: 4 kB / 267.6 MB, free: 4.973 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 48.7 MB / 316.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.5109, allocations: 75.22 MB / 391.5 MB, free: 1.266 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5112, allocations: 66.2 kB / 391.6 MB, free: 1.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01902/0.5303, allocations: 3.677 MB / 395.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5303, allocations: 0 / 395.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.5303, allocations: 4 kB / 395.3 MB, free: 14.11 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.0009611/0.5313, allocations: 461.7 kB / 395.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.5314, allocations: 8.031 kB / 395.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.463e-05/0.5315, allocations: 15.81 kB / 395.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007803/0.5323, allocations: 262.6 kB / 396 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.5324, allocations: 81.11 kB / 396.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.5325, allocations: 4 kB / 396.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002095/0.5327, allocations: 55.23 kB / 396.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.533, allocations: 138.7 kB / 396.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5331, allocations: 0 / 396.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.5331, allocations: 3.938 kB / 396.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5331, allocations: 4 kB / 396.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.5347, allocations: 458.4 kB / 396.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.5349, allocations: 69.08 kB / 396.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/0.535, allocations: 35.44 kB / 396.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.5351, allocations: 0 / 396.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.5351, allocations: 42.52 kB / 396.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.5351, allocations: 0 / 396.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003608/0.5355, allocations: 78.56 kB / 397 MB, free: 12.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.5356, allocations: 106.8 kB / 397.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.5358, allocations: 135.9 kB / 397.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.5358, allocations: 29.7 kB / 397.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.946e-05/0.5359, allocations: 114.2 kB / 397.3 MB, free: 12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.536, allocations: 18.91 kB / 397.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.536, allocations: 0 / 397.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5362, allocations: 322.1 kB / 397.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.5362, allocations: 23.19 kB / 397.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.5364, allocations: 53.12 kB / 397.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.964e-05/0.5365, allocations: 26.77 kB / 397.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.5365, allocations: 0 / 397.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002678/0.5368, allocations: 98.53 kB / 397.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.5368, allocations: 4 kB / 397.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.5368, allocations: 0 / 397.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5369, allocations: 3.953 kB / 397.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.5373, allocations: 47.64 kB / 397.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5373, allocations: 8.281 kB / 397.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.5375, allocations: 19.83 kB / 398 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.5375, allocations: 4 kB / 398 MB, free: 11.42 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.0001237/0.5377, allocations: 108.9 kB / 398.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002394/0.5379, allocations: 79.53 kB / 398.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.538, allocations: 19.84 kB / 398.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.538, allocations: 8.438 kB / 398.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5381, allocations: 8 kB / 398.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5381, allocations: 0 / 398.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5381, allocations: 0 / 398.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.5384, allocations: 192.5 kB / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5384, allocations: 4 kB / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.5388, allocations: 51.95 kB / 398.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.5389, allocations: 0 / 398.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.5389, allocations: 3.984 kB / 398.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.5389, allocations: 7.953 kB / 398.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.5389, allocations: 0 / 398.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.5393, allocations: 205.8 kB / 398.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.5395, allocations: 104.9 kB / 398.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.5395, allocations: 4.25 kB / 398.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005093/0.54, allocations: 47.95 kB / 398.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.5401, allocations: 15.94 kB / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.5402, allocations: 7.062 kB / 398.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.5403, allocations: 106.1 kB / 398.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5403, allocations: 0 / 398.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004179/0.5407, allocations: 23.94 kB / 398.9 MB, free: 10.45 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.0007143/0.5415, allocations: 0.7337 MB / 399.7 MB, free: 9.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.5417, allocations: 51.73 kB / 399.7 MB, free: 9.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5417, allocations: 7.938 kB / 399.7 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.737e-05/0.5418, allocations: 27.06 kB / 399.8 MB, free: 9.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.5422, allocations: 11.45 kB / 399.8 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/0.5429, allocations: 182 kB / 399.9 MB, free: 9.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.5432, allocations: 0.7041 MB / 400.6 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.5434, allocations: 16.42 kB / 400.7 MB, free: 8.695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.5435, allocations: 36.23 kB / 400.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5435, allocations: 0 / 400.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04098/0.5845, allocations: 2.277 MB / 403 MB, free: 6.418 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003299/0.5849, allocations: 119.3 kB / 403.1 MB, free: 6.223 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/2.829, allocations: 3.984 kB / 403.1 MB, free: 6.219 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat