Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.931e-05/2.939e-05, allocations: 4 kB / 219.6 MB, free: 7.312 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2761, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.31/10.59, allocations: 3.61 GB / 3.863 GB, free: 56.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/10.59, allocations: 95.61 kB / 3.863 GB, free: 55.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.69/12.28, allocations: 316.1 MB / 4.172 GB, free: 34.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/12.28, allocations: 4 kB / 4.172 GB, free: 34.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.625e-05/12.28, allocations: 8 kB / 4.172 GB, free: 34.65 MB / 362.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.005461/12.28, allocations: 1.564 MB / 4.173 GB, free: 33.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/12.28, allocations: 12.03 kB / 4.173 GB, free: 33.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005139/12.28, allocations: 55.44 kB / 4.173 GB, free: 32.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/12.28, allocations: 356.4 kB / 4.174 GB, free: 32.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/12.28, allocations: 16 kB / 4.174 GB, free: 32.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-05/12.28, allocations: 24 kB / 4.174 GB, free: 32.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001273/12.28, allocations: 0.5648 MB / 4.174 GB, free: 31.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/12.28, allocations: 435.8 kB / 4.175 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/12.28, allocations: 0 / 4.175 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/12.28, allocations: 4 kB / 4.175 GB, free: 31.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/12.28, allocations: 12 kB / 4.175 GB, free: 31.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/12.29, allocations: 1.9 MB / 4.176 GB, free: 29.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/12.29, allocations: 0.5193 MB / 4.177 GB, free: 28.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004787/12.29, allocations: 238.5 kB / 4.177 GB, free: 28.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006216/12.29, allocations: 0.7042 MB / 4.178 GB, free: 27.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/12.29, allocations: 50.92 kB / 4.178 GB, free: 27.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.517e-06/12.29, allocations: 0 / 4.178 GB, free: 27.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.01727/12.31, allocations: 2.825 MB / 4.181 GB, free: 24.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/12.31, allocations: 63.34 kB / 4.181 GB, free: 24.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/12.31, allocations: 203 kB / 4.181 GB, free: 24.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/12.31, allocations: 25.7 kB / 4.181 GB, free: 24.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/12.31, allocations: 259.3 kB / 4.181 GB, free: 24.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/12.31, allocations: 216.8 kB / 4.181 GB, free: 24.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/12.31, allocations: 0 / 4.181 GB, free: 24.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.516e-05/12.31, allocations: 334.8 kB / 4.182 GB, free: 23.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/12.31, allocations: 261.5 kB / 4.182 GB, free: 23.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/12.31, allocations: 328 kB / 4.182 GB, free: 23.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/12.31, allocations: 364.4 kB / 4.183 GB, free: 22.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/12.31, allocations: 0 / 4.183 GB, free: 22.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002789/12.32, allocations: 0.8889 MB / 4.183 GB, free: 21.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/12.32, allocations: 8 kB / 4.183 GB, free: 21.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/12.32, allocations: 0 / 4.183 GB, free: 21.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/12.32, allocations: 270.3 kB / 4.184 GB, free: 21.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/12.32, allocations: 119.9 kB / 4.184 GB, free: 21.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/12.32, allocations: 3.326 MB / 4.187 GB, free: 18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/12.32, allocations: 59.83 kB / 4.187 GB, free: 17.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.515e-05/12.32, allocations: 31.97 kB / 4.187 GB, free: 17.91 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003258/12.32, allocations: 125.7 kB / 4.187 GB, free: 17.78 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007251/12.33, allocations: 1.192 MB / 4.188 GB, free: 16.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/12.33, allocations: 35.62 kB / 4.188 GB, free: 16.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006549/12.34, allocations: 1.247 MB / 4.19 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/12.34, allocations: 11.94 kB / 4.19 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/12.34, allocations: 0 / 4.19 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005938/12.34, allocations: 1.309 MB / 4.191 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004234/12.35, allocations: 1.536 MB / 4.192 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/12.35, allocations: 0 / 4.192 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/12.35, allocations: 111.9 kB / 4.193 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/12.35, allocations: 312 kB / 4.193 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/12.35, allocations: 11.98 kB / 4.193 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/12.35, allocations: 0.8021 MB / 4.194 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/12.35, allocations: 3.984 kB / 4.194 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006545/12.36, allocations: 1.503 MB / 4.195 GB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/12.36, allocations: 116.7 kB / 4.195 GB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/12.36, allocations: 11.98 kB / 4.195 GB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/12.36, allocations: 47.91 kB / 4.195 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/12.36, allocations: 40.5 kB / 4.195 GB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/12.36, allocations: 39.91 kB / 4.195 GB, free: 9.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002232/12.36, allocations: 172.5 kB / 4.196 GB, free: 9.086 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/12.36, allocations: 0 / 4.196 GB, free: 9.086 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002242/12.36, allocations: 0.4994 MB / 4.196 GB, free: 8.586 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009743/12.37, allocations: 3.355 MB / 4.199 GB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002133/12.37, allocations: 0.8649 MB / 4.2 GB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/12.37, allocations: 3.938 kB / 4.2 GB, free: 4.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009721/12.38, allocations: 370.3 kB / 4.201 GB, free: 4.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/12.38, allocations: 219.8 kB / 4.201 GB, free: 3.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/12.38, allocations: 1.263 MB / 4.202 GB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/12.38, allocations: 0.8687 MB / 4.203 GB, free: 1.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/12.38, allocations: 167.4 kB / 4.203 GB, free: 1.492 MB / 362.7 MB Notification: Performance of SimCode: time 3.176e-06/12.38, allocations: 4 kB / 4.203 GB, free: 1.488 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.623/16.01, allocations: 22.29 MB / 4.225 GB, free: 48.54 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat