Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.205/2.205, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.081e-05/4.092e-05, allocations: 4 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 50.4 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.99/19.11, allocations: 6.205 GB / 6.54 GB, free: 24.21 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/19.11, allocations: 78.08 kB / 6.54 GB, free: 24.17 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.31/20.42, allocations: 202 MB / 6.737 GB, free: 14.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/20.42, allocations: 0 / 6.737 GB, free: 14.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/20.42, allocations: 4 kB / 6.737 GB, free: 14.46 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.008103/20.43, allocations: 1.441 MB / 6.739 GB, free: 12.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/20.43, allocations: 12.03 kB / 6.739 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.5e-05/20.43, allocations: 46.55 kB / 6.739 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/20.43, allocations: 19.81 kB / 6.739 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/20.43, allocations: 222.8 kB / 6.739 GB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/20.43, allocations: 16.31 kB / 6.739 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/20.43, allocations: 19.94 kB / 6.739 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008524/20.43, allocations: 265.1 kB / 6.739 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/20.43, allocations: 0 / 6.739 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/20.43, allocations: 12 kB / 6.739 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/20.43, allocations: 8 kB / 6.739 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008454/20.43, allocations: 267.8 kB / 6.739 GB, free: 12.04 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/20.44, allocations: 0.7296 MB / 6.74 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/20.44, allocations: 225.2 kB / 6.74 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/20.44, allocations: 113.7 kB / 6.74 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3784/20.82, allocations: 12.46 MB / 6.753 GB, free: 64.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/20.82, allocations: 38.11 kB / 6.753 GB, free: 64.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 3.447e-06/20.82, allocations: 0 / 6.753 GB, free: 64.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.003579/20.82, allocations: 0.5134 MB / 6.753 GB, free: 64.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/20.82, allocations: 81.83 kB / 6.753 GB, free: 64.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/20.82, allocations: 123.8 kB / 6.753 GB, free: 64.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/20.82, allocations: 30.23 kB / 6.753 GB, free: 64.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/20.82, allocations: 106.4 kB / 6.753 GB, free: 64.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/20.82, allocations: 133 kB / 6.754 GB, free: 64.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/20.82, allocations: 4.188 kB / 6.754 GB, free: 64.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/20.82, allocations: 328.9 kB / 6.754 GB, free: 63.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/20.82, allocations: 115.7 kB / 6.754 GB, free: 63.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/20.82, allocations: 176.4 kB / 6.754 GB, free: 63.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/20.82, allocations: 133.5 kB / 6.754 GB, free: 63.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/20.82, allocations: 0.5938 kB / 6.754 GB, free: 63.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00147/20.82, allocations: 367.6 kB / 6.755 GB, free: 63.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/20.82, allocations: 10.42 kB / 6.755 GB, free: 63.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/20.82, allocations: 1.281 kB / 6.755 GB, free: 63.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.649e-05/20.82, allocations: 3.969 kB / 6.755 GB, free: 63.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009829/20.82, allocations: 91.95 kB / 6.755 GB, free: 63.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/20.82, allocations: 5.469 kB / 6.755 GB, free: 63.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/20.82, allocations: 30.94 kB / 6.755 GB, free: 63.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/20.82, allocations: 18.66 kB / 6.755 GB, free: 63.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001722/20.82, allocations: 120.9 kB / 6.755 GB, free: 63.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/20.83, allocations: 20.86 kB / 6.755 GB, free: 63.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009956/20.83, allocations: 209.8 kB / 6.755 GB, free: 63.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/20.83, allocations: 4.125 kB / 6.755 GB, free: 63.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/20.83, allocations: 1.891 kB / 6.755 GB, free: 63.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/20.83, allocations: 2.078 kB / 6.755 GB, free: 63.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/20.83, allocations: 0.7143 MB / 6.756 GB, free: 63.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/20.83, allocations: 1.375 kB / 6.756 GB, free: 63.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008426/20.83, allocations: 84.05 kB / 6.756 GB, free: 63.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/20.83, allocations: 2.688 kB / 6.756 GB, free: 63.24 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/20.83, allocations: 13.38 kB / 6.756 GB, free: 63.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/20.83, allocations: 4.578 kB / 6.756 GB, free: 63.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/20.83, allocations: 2.156 kB / 6.756 GB, free: 63.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/20.83, allocations: 0.712 MB / 6.757 GB, free: 62.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/20.83, allocations: 127.3 kB / 6.757 GB, free: 62.78 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/20.83, allocations: 8.594 kB / 6.757 GB, free: 62.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/20.83, allocations: 29.34 kB / 6.757 GB, free: 62.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/20.83, allocations: 28.94 kB / 6.757 GB, free: 62.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/20.83, allocations: 18.62 kB / 6.757 GB, free: 62.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.751e-05/20.83, allocations: 98.36 kB / 6.757 GB, free: 62.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.12e-07/20.83, allocations: 0 / 6.757 GB, free: 62.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006329/20.84, allocations: 1.118 MB / 6.758 GB, free: 62.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0138/20.85, allocations: 3.175 MB / 6.761 GB, free: 61.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/20.85, allocations: 294.9 kB / 6.761 GB, free: 61.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/20.85, allocations: 0 / 6.761 GB, free: 61.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/20.85, allocations: 154.1 kB / 6.762 GB, free: 61.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/20.86, allocations: 95.64 kB / 6.762 GB, free: 61.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04701/20.9, allocations: 12.8 MB / 6.774 GB, free: 60.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/20.9, allocations: 0.742 MB / 6.775 GB, free: 59.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008132/20.9, allocations: 88.8 kB / 6.775 GB, free: 59.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/20.9, allocations: 67.03 kB / 6.775 GB, free: 59.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/20.9, allocations: 0 / 6.775 GB, free: 59.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/21.03, allocations: 36.41 MB / 6.811 GB, free: 59.18 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/21.03, allocations: 189.1 kB / 6.811 GB, free: 58.96 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.073/26.1, allocations: 0 / 6.811 GB, free: 58.96 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat