Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.628e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3007, allocations: 44.49 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.96/19.27, allocations: 6.529 GB / 6.816 GB, free: 102.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/19.27, allocations: 75 kB / 6.816 GB, free: 102.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.751/23.02, allocations: 0.6583 GB / 7.475 GB, free: 26.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.876e-06/23.02, allocations: 0.6562 kB / 7.475 GB, free: 26.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.841e-05/23.02, allocations: 14.53 kB / 7.475 GB, free: 26.44 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01454/23.03, allocations: 2.402 MB / 7.477 GB, free: 25.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/23.03, allocations: 9.75 kB / 7.477 GB, free: 25.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009211/23.03, allocations: 86.05 kB / 7.477 GB, free: 25.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/23.03, allocations: 441.2 kB / 7.477 GB, free: 24.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/23.03, allocations: 26.14 kB / 7.478 GB, free: 24.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/23.03, allocations: 35.25 kB / 7.478 GB, free: 24.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002526/23.04, allocations: 0.7913 MB / 7.478 GB, free: 24.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005759/23.04, allocations: 0.5722 MB / 7.479 GB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-05/23.04, allocations: 7.562 kB / 7.479 GB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/23.04, allocations: 3.312 kB / 7.479 GB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/23.04, allocations: 18.42 kB / 7.479 GB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05226/23.1, allocations: 12.53 MB / 7.491 GB, free: 29.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/23.1, allocations: 0.8182 MB / 7.492 GB, free: 29.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/23.1, allocations: 382.5 kB / 7.492 GB, free: 29.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05563/23.15, allocations: 30.21 MB / 7.522 GB, free: 14.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/23.15, allocations: 44.88 kB / 7.522 GB, free: 14.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 4.278e-06/23.15, allocations: 4.25 kB / 7.522 GB, free: 14.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.009764/23.16, allocations: 2.344 MB / 7.524 GB, free: 14.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/23.16, allocations: 58.88 kB / 7.524 GB, free: 14.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/23.16, allocations: 258.5 kB / 7.524 GB, free: 14.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/23.16, allocations: 28.52 kB / 7.524 GB, free: 14.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/23.16, allocations: 292.9 kB / 7.525 GB, free: 14.01 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/23.17, allocations: 297.9 kB / 7.525 GB, free: 13.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/23.17, allocations: 0 / 7.525 GB, free: 13.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006685/23.17, allocations: 344.7 kB / 7.525 GB, free: 29.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/23.17, allocations: 303.1 kB / 7.526 GB, free: 29.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007797/23.17, allocations: 411.5 kB / 7.526 GB, free: 29.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/23.17, allocations: 0.4933 MB / 7.527 GB, free: 29.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/23.17, allocations: 3.125 kB / 7.527 GB, free: 29.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003714/23.17, allocations: 1.049 MB / 7.528 GB, free: 29.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/23.17, allocations: 3.562 kB / 7.528 GB, free: 29.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/23.17, allocations: 3.656 kB / 7.528 GB, free: 29.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004179/23.17, allocations: 113.9 kB / 7.528 GB, free: 29.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/23.18, allocations: 189.6 kB / 7.528 GB, free: 29.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/23.18, allocations: 3.868 MB / 7.532 GB, free: 25.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/23.18, allocations: 43.55 kB / 7.532 GB, free: 25.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/23.18, allocations: 47 kB / 7.532 GB, free: 25.71 MB / 474.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: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,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.0004154/23.18, allocations: 130.8 kB / 7.532 GB, free: 25.59 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003456/23.18, allocations: 0.9409 MB / 7.533 GB, free: 25.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005037/23.18, allocations: 53.44 kB / 7.533 GB, free: 25.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/23.19, allocations: 1.128 MB / 7.534 GB, free: 25.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/23.19, allocations: 11.09 kB / 7.534 GB, free: 25.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/23.19, allocations: 0 / 7.534 GB, free: 25.33 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002983/23.19, allocations: 1.372 MB / 7.535 GB, free: 24.65 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00558/23.2, allocations: 2.002 MB / 7.537 GB, free: 24.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/23.2, allocations: 0 / 7.537 GB, free: 24.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/23.2, allocations: 185.3 kB / 7.537 GB, free: 24.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004232/23.2, allocations: 129.7 kB / 7.538 GB, free: 24.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.401e-05/23.2, allocations: 22.28 kB / 7.538 GB, free: 24.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/23.2, allocations: 1.35 MB / 7.539 GB, free: 23.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/23.2, allocations: 0 / 7.539 GB, free: 23.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/23.21, allocations: 1.515 MB / 7.54 GB, free: 22.78 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/23.21, allocations: 137 kB / 7.54 GB, free: 22.66 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/23.21, allocations: 8.828 kB / 7.54 GB, free: 22.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/23.21, allocations: 40.73 kB / 7.541 GB, free: 22.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/23.21, allocations: 68.28 kB / 7.541 GB, free: 22.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/23.21, allocations: 52.05 kB / 7.541 GB, free: 22.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003168/23.21, allocations: 210.3 kB / 7.541 GB, free: 22.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/23.21, allocations: 2.344 kB / 7.541 GB, free: 22.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01077/23.22, allocations: 2.236 MB / 7.543 GB, free: 22.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02349/23.24, allocations: 5.774 MB / 7.549 GB, free: 20.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002536/23.24, allocations: 1.061 MB / 7.55 GB, free: 20.22 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/23.24, allocations: 0 / 7.55 GB, free: 20.22 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/23.25, allocations: 487.4 kB / 7.55 GB, free: 20.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/23.25, allocations: 321.7 kB / 7.55 GB, free: 20.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/23.26, allocations: 2.474 MB / 7.553 GB, free: 19.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/23.26, allocations: 0.944 MB / 7.554 GB, free: 18.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007009/23.26, allocations: 239.2 kB / 7.554 GB, free: 18.56 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/23.26, allocations: 0 / 7.554 GB, free: 18.56 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.769/28.03, allocations: 71.52 MB / 7.624 GB, free: 73.18 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat