Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.909e-05, allocations: 7.938 kB / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3992, allocations: 54.84 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1859/0.5852, allocations: 81.08 MB / 435.4 MB, free: 1.203 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5855, allocations: 63.97 kB / 435.5 MB, free: 1.141 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02722/0.6128, allocations: 3.963 MB / 439.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6128, allocations: 0 / 439.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.6129, allocations: 4 kB / 439.4 MB, free: 13.18 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001094/0.614, allocations: 442 kB / 439.9 MB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.614, allocations: 8.031 kB / 439.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.6142, allocations: 11.91 kB / 439.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.6146, allocations: 220.2 kB / 440.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.6146, allocations: 4 kB / 440.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.6147, allocations: 7.938 kB / 440.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002708/0.615, allocations: 51.98 kB / 440.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.6154, allocations: 112.2 kB / 440.3 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.6155, allocations: 0 / 440.3 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.6155, allocations: 4 kB / 440.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.6155, allocations: 0 / 440.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.6172, allocations: 428.9 kB / 440.7 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.6183, allocations: 162.6 kB / 440.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.6184, allocations: 28.86 kB / 440.9 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.6185, allocations: 7.984 kB / 440.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.6186, allocations: 34.56 kB / 440.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.767e-06/0.6186, allocations: 0 / 440.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004514/0.619, allocations: 81.59 kB / 441 MB, free: 11.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.6191, allocations: 106.8 kB / 441.1 MB, free: 11.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.6194, allocations: 123.8 kB / 441.2 MB, free: 11.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/0.6195, allocations: 25.7 kB / 441.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.6196, allocations: 112.1 kB / 441.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.6197, allocations: 27.64 kB / 441.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.6197, allocations: 0 / 441.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6199, allocations: 326.8 kB / 441.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.62, allocations: 20 kB / 441.7 MB, free: 10.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.6202, allocations: 46.52 kB / 441.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.6204, allocations: 23.98 kB / 441.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6204, allocations: 3.938 kB / 441.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000375/0.6208, allocations: 94 kB / 441.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/0.6209, allocations: 101.1 kB / 442 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6209, allocations: 0 / 442 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.6209, allocations: 3.984 kB / 442 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.6214, allocations: 43.97 kB / 442 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6215, allocations: 0 / 442 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.6219, allocations: 39.83 kB / 442.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.6219, allocations: 0 / 442.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6219, allocations: 8.562 kB / 442.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002002/0.6222, allocations: 39.98 kB / 442.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.6222, allocations: 4 kB / 442.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/0.6222, allocations: 0 / 442.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.6225, allocations: 19.98 kB / 442.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.6225, allocations: 0 / 442.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.6227, allocations: 15.98 kB / 442.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.6227, allocations: 4 kB / 442.2 MB, free: 10.21 MB / 378.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 (8): * Single equations (assignments): 8 * 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.0001662/0.6229, allocations: 109 kB / 442.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003529/0.6233, allocations: 93.47 kB / 442.4 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.6234, allocations: 11.84 kB / 442.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.6235, allocations: 16.61 kB / 442.4 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.6235, allocations: 0 / 442.4 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6235, allocations: 0 / 442.4 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.6236, allocations: 0 / 442.4 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.624, allocations: 190.1 kB / 442.6 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.624, allocations: 3.953 kB / 442.6 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.6245, allocations: 39.97 kB / 442.6 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6246, allocations: 0 / 442.6 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.6246, allocations: 11.98 kB / 442.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6246, allocations: 0 / 442.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.6246, allocations: 0 / 442.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.6252, allocations: 219.4 kB / 442.9 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.6253, allocations: 92.89 kB / 442.9 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.6254, allocations: 4.031 kB / 442.9 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007094/0.6261, allocations: 48.02 kB / 443 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.6262, allocations: 7.938 kB / 443 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.6262, allocations: 7.984 kB / 443 MB, free: 9.285 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.6264, allocations: 99.28 kB / 443.1 MB, free: 9.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6264, allocations: 0 / 443.1 MB, free: 9.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007286/0.6271, allocations: 31.98 kB / 443.1 MB, free: 9.156 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0009903/0.6282, allocations: 0.7591 MB / 443.9 MB, free: 8.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004044/0.6286, allocations: 81.03 kB / 444 MB, free: 8.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6286, allocations: 0 / 444 MB, free: 8.293 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.6288, allocations: 35.92 kB / 444 MB, free: 8.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.6292, allocations: 8 kB / 444 MB, free: 8.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000941/0.6302, allocations: 182.3 kB / 444.2 MB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.6306, allocations: 0.7046 MB / 444.9 MB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.6309, allocations: 20.97 kB / 444.9 MB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.631, allocations: 35.42 kB / 445 MB, free: 7.242 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.631, allocations: 0 / 445 MB, free: 7.242 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/0.6722, allocations: 2.525 MB / 447.5 MB, free: 4.738 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/0.6725, allocations: 128 kB / 447.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.188, allocations: 0 / 447.6 MB, free: 4.535 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat