Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.241e-05, allocations: 0 / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 50.4 MB / 342.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.32/19.45, allocations: 6.123 GB / 6.458 GB, free: 113.8 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004412/19.45, allocations: 76.27 kB / 6.458 GB, free: 113.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.367/23.81, allocations: 0.8123 GB / 7.27 GB, free: 10.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.365e-06/23.81, allocations: 0 / 7.27 GB, free: 10.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.625e-05/23.81, allocations: 15.98 kB / 7.27 GB, free: 10.66 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01388/23.83, allocations: 2.735 MB / 7.273 GB, free: 7.875 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/23.83, allocations: 12.03 kB / 7.273 GB, free: 7.863 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/23.83, allocations: 78.53 kB / 7.273 GB, free: 7.777 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004625/23.83, allocations: 63.47 kB / 7.273 GB, free: 7.715 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006734/23.83, allocations: 354.3 kB / 7.273 GB, free: 7.328 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/23.83, allocations: 41 kB / 7.273 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/23.83, allocations: 44 kB / 7.273 GB, free: 7.246 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/23.83, allocations: 0.5511 MB / 7.274 GB, free: 6.688 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/23.83, allocations: 7.906 kB / 7.274 GB, free: 6.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/23.83, allocations: 16 kB / 7.274 GB, free: 6.664 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/23.83, allocations: 15.95 kB / 7.274 GB, free: 6.648 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/23.83, allocations: 0.7008 MB / 7.275 GB, free: 5.949 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4005/24.23, allocations: 11.65 MB / 7.286 GB, free: 26.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/24.23, allocations: 0.5139 MB / 7.287 GB, free: 26.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006471/24.24, allocations: 250.6 kB / 7.287 GB, free: 26.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03862/24.27, allocations: 20.97 MB / 7.307 GB, free: 20.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.411e-05/24.27, allocations: 40.05 kB / 7.307 GB, free: 20.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 3.357e-06/24.27, allocations: 0.9688 kB / 7.307 GB, free: 20.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.009642/24.28, allocations: 1.8 MB / 7.309 GB, free: 20.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/24.28, allocations: 56.5 kB / 7.309 GB, free: 20.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/24.28, allocations: 291.5 kB / 7.309 GB, free: 20.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/24.28, allocations: 39.39 kB / 7.309 GB, free: 20.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/24.28, allocations: 200.7 kB / 7.31 GB, free: 20.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/24.29, allocations: 187.3 kB / 7.31 GB, free: 20.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/24.29, allocations: 12.41 kB / 7.31 GB, free: 20.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/24.29, allocations: 349.7 kB / 7.31 GB, free: 19.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006501/24.29, allocations: 227 kB / 7.31 GB, free: 19.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/24.29, allocations: 328.2 kB / 7.311 GB, free: 19.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000995/24.29, allocations: 268.7 kB / 7.311 GB, free: 19.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/24.29, allocations: 2.312 kB / 7.311 GB, free: 19.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002977/24.29, allocations: 0.7194 MB / 7.312 GB, free: 19.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/24.29, allocations: 6.281 kB / 7.312 GB, free: 19.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/24.29, allocations: 4.641 kB / 7.312 GB, free: 19.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007678/24.29, allocations: 109.8 kB / 7.312 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/24.29, allocations: 121.4 kB / 7.312 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/24.3, allocations: 3.275 MB / 7.315 GB, free: 32.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/24.3, allocations: 43.44 kB / 7.315 GB, free: 32.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/24.3, allocations: 35.17 kB / 7.315 GB, free: 32.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002908/24.3, allocations: 137.8 kB / 7.315 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004785/24.3, allocations: 44.41 kB / 7.315 GB, free: 32.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/24.3, allocations: 0.8442 MB / 7.316 GB, free: 32.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/24.3, allocations: 5.656 kB / 7.316 GB, free: 32.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/24.3, allocations: 1.031 kB / 7.316 GB, free: 32.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001846/24.3, allocations: 0.7618 MB / 7.317 GB, free: 31.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/24.31, allocations: 1.313 MB / 7.318 GB, free: 31.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/24.31, allocations: 4.125 kB / 7.318 GB, free: 31.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009353/24.31, allocations: 105 kB / 7.318 GB, free: 31.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/24.31, allocations: 153.4 kB / 7.318 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/24.31, allocations: 18.69 kB / 7.318 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006399/24.31, allocations: 0.6487 MB / 7.319 GB, free: 31.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/24.31, allocations: 8.625 kB / 7.319 GB, free: 31.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/24.31, allocations: 0.9198 MB / 7.32 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/24.31, allocations: 132.1 kB / 7.32 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/24.31, allocations: 21.17 kB / 7.32 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008441/24.32, allocations: 37.06 kB / 7.32 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/24.32, allocations: 38.03 kB / 7.32 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/24.32, allocations: 36.98 kB / 7.32 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004759/24.32, allocations: 248.1 kB / 7.32 GB, free: 30.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.71e-07/24.32, allocations: 0 / 7.32 GB, free: 30.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01318/24.33, allocations: 1.956 MB / 7.322 GB, free: 30.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02264/24.35, allocations: 4.466 MB / 7.327 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002225/24.35, allocations: 0.7742 MB / 7.327 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/24.35, allocations: 6.25 kB / 7.327 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009018/24.36, allocations: 293 kB / 7.328 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/24.36, allocations: 253.1 kB / 7.328 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008518/24.37, allocations: 1.749 MB / 7.33 GB, free: 29.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/24.37, allocations: 0.8442 MB / 7.331 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001049/24.37, allocations: 149.4 kB / 7.331 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/24.37, allocations: 162.4 kB / 7.331 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.303e-06/24.37, allocations: 0 / 7.331 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1612/24.53, allocations: 69.82 MB / 7.399 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/24.53, allocations: 216.2 kB / 7.399 GB, free: 25.85 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/31.51, allocations: 0 / 7.399 GB, free: 25.85 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat