Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.288e-05, allocations: 0 / 292.2 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 50.41 MB / 342.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.234, allocations: 273.8 MB / 0.602 GB, free: 84.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/1.234, allocations: 62.72 kB / 0.6021 GB, free: 84.37 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03408/1.268, allocations: 9.587 MB / 0.6115 GB, free: 76.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.268, allocations: 0 / 0.6115 GB, free: 76.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/1.268, allocations: 8 kB / 0.6115 GB, free: 76.48 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001088/1.269, allocations: 449.6 kB / 0.6119 GB, free: 76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.269, allocations: 12.03 kB / 0.6119 GB, free: 75.99 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/1.269, allocations: 53.81 kB / 0.612 GB, free: 75.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/1.27, allocations: 23.69 kB / 0.612 GB, free: 75.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/1.27, allocations: 202.5 kB / 0.6122 GB, free: 75.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/1.27, allocations: 15.84 kB / 0.6122 GB, free: 75.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/1.27, allocations: 15.59 kB / 0.6122 GB, free: 75.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/1.271, allocations: 194.5 kB / 0.6124 GB, free: 75.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/1.271, allocations: 4 kB / 0.6124 GB, free: 75.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/1.271, allocations: 3.75 kB / 0.6124 GB, free: 75.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/1.271, allocations: 11.89 kB / 0.6124 GB, free: 75.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/1.271, allocations: 130.5 kB / 0.6125 GB, free: 75.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/1.273, allocations: 0.9355 MB / 0.6134 GB, free: 74.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/1.273, allocations: 127 kB / 0.6136 GB, free: 74.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/1.273, allocations: 47.53 kB / 0.6136 GB, free: 74.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006485/1.274, allocations: 0.5123 MB / 0.6141 GB, free: 73.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/1.274, allocations: 34.56 kB / 0.6141 GB, free: 73.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.736e-06/1.274, allocations: 0 / 0.6141 GB, free: 73.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.002609/1.276, allocations: 0.6295 MB / 0.6148 GB, free: 73.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/1.277, allocations: 55.41 kB / 0.6148 GB, free: 73.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/1.277, allocations: 147.2 kB / 0.615 GB, free: 72.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/1.277, allocations: 29.27 kB / 0.615 GB, free: 72.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/1.277, allocations: 142.8 kB / 0.6151 GB, free: 72.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/1.277, allocations: 77.98 kB / 0.6152 GB, free: 72.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/1.277, allocations: 3.375 kB / 0.6152 GB, free: 72.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.477e-05/1.277, allocations: 330 kB / 0.6155 GB, free: 72.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/1.277, allocations: 66.11 kB / 0.6156 GB, free: 72.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/1.277, allocations: 166.2 kB / 0.6157 GB, free: 72.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/1.278, allocations: 92.33 kB / 0.6158 GB, free: 72.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.278, allocations: 0 / 0.6158 GB, free: 72.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006024/1.278, allocations: 265 kB / 0.6161 GB, free: 71.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.278, allocations: 8 kB / 0.6161 GB, free: 71.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.278, allocations: 7.984 kB / 0.6161 GB, free: 71.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/1.278, allocations: 4 kB / 0.6161 GB, free: 71.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/1.279, allocations: 95.98 kB / 0.6162 GB, free: 71.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.279, allocations: 4 kB / 0.6162 GB, free: 71.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/1.279, allocations: 15.73 kB / 0.6162 GB, free: 71.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/1.28, allocations: 19.31 kB / 0.6162 GB, free: 71.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001032/1.28, allocations: 119.9 kB / 0.6163 GB, free: 71.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/1.28, allocations: 15.81 kB / 0.6163 GB, free: 71.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005925/1.28, allocations: 220.9 kB / 0.6166 GB, free: 71.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/1.28, allocations: 0 / 0.6166 GB, free: 71.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.28, allocations: 0 / 0.6166 GB, free: 71.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.28, allocations: 3.984 kB / 0.6166 GB, free: 71.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/1.282, allocations: 0.5511 MB / 0.6171 GB, free: 70.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.282, allocations: 3.984 kB / 0.6171 GB, free: 70.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/1.282, allocations: 47.47 kB / 0.6172 GB, free: 70.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/1.282, allocations: 4 kB / 0.6172 GB, free: 70.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/1.282, allocations: 11.67 kB / 0.6172 GB, free: 70.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.282, allocations: 3.938 kB / 0.6172 GB, free: 70.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.282, allocations: 4 kB / 0.6172 GB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/1.283, allocations: 402.7 kB / 0.6176 GB, free: 70.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/1.283, allocations: 93.02 kB / 0.6176 GB, free: 70.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/1.283, allocations: 7 kB / 0.6177 GB, free: 70.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/1.284, allocations: 19.73 kB / 0.6177 GB, free: 70.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/1.284, allocations: 15.92 kB / 0.6177 GB, free: 70.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/1.284, allocations: 11.17 kB / 0.6177 GB, free: 70.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.406e-05/1.284, allocations: 108.4 kB / 0.6178 GB, free: 70.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.284, allocations: 0 / 0.6178 GB, free: 70.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005314/1.284, allocations: 70.94 kB / 0.6179 GB, free: 70.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.000997/1.285, allocations: 1.25 MB / 0.6191 GB, free: 68.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004646/1.286, allocations: 169.8 kB / 0.6193 GB, free: 68.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.286, allocations: 4 kB / 0.6193 GB, free: 68.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/1.286, allocations: 71.5 kB / 0.6193 GB, free: 68.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/1.286, allocations: 39.47 kB / 0.6194 GB, free: 68.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/1.288, allocations: 351.2 kB / 0.6197 GB, free: 68.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/1.288, allocations: 0.7243 MB / 0.6204 GB, free: 67.58 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004375/1.288, allocations: 42.06 kB / 0.6204 GB, free: 67.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/1.289, allocations: 52.55 kB / 0.6205 GB, free: 67.51 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/1.289, allocations: 0 / 0.6205 GB, free: 67.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/1.318, allocations: 4.472 MB / 0.6249 GB, free: 63.12 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/1.319, allocations: 149.7 kB / 0.625 GB, free: 62.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.7, allocations: 0 / 0.625 GB, free: 62.9 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat