Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.65/1.65, allocations: 171.3 MB / 178.8 MB, free: 156 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.524e-05, allocations: 4 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2686, allocations: 38.77 MB / 258.3 MB, free: 12.13 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.23/19.5, allocations: 6.523 GB / 6.775 GB, free: 87.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/19.5, allocations: 75.73 kB / 6.775 GB, free: 87.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.451/22.95, allocations: 0.657 GB / 7.432 GB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/22.95, allocations: 0 / 7.432 GB, free: 11.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.858e-05/22.95, allocations: 19.94 kB / 7.432 GB, free: 11.82 MB / 378.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.01319/22.96, allocations: 2.393 MB / 7.434 GB, free: 10.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/22.96, allocations: 10.19 kB / 7.434 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/22.96, allocations: 79.12 kB / 7.435 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/22.97, allocations: 446.6 kB / 7.435 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/22.97, allocations: 22.3 kB / 7.435 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/22.97, allocations: 38.09 kB / 7.435 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002635/22.97, allocations: 0.7956 MB / 7.436 GB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/22.97, allocations: 0.5699 MB / 7.436 GB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.052e-05/22.97, allocations: 7.688 kB / 7.436 GB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/22.97, allocations: 0 / 7.436 GB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/22.97, allocations: 14.97 kB / 7.436 GB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02984/23, allocations: 12.29 MB / 7.448 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/23, allocations: 0.812 MB / 7.449 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/23, allocations: 383.7 kB / 7.45 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3996/23.4, allocations: 30.2 MB / 7.479 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/23.4, allocations: 47.91 kB / 7.479 GB, free: 13.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 3.787e-06/23.4, allocations: 0 / 7.479 GB, free: 13.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.009774/23.41, allocations: 2.335 MB / 7.481 GB, free: 13.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/23.41, allocations: 61.53 kB / 7.481 GB, free: 13.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/23.41, allocations: 257.2 kB / 7.482 GB, free: 13.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/23.41, allocations: 28.64 kB / 7.482 GB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/23.41, allocations: 293.5 kB / 7.482 GB, free: 12.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/23.41, allocations: 290.6 kB / 7.482 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/23.41, allocations: 0 / 7.482 GB, free: 12.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.756e-05/23.42, allocations: 345.6 kB / 7.483 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007088/23.42, allocations: 306.8 kB / 7.483 GB, free: 12.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007723/23.42, allocations: 413.2 kB / 7.483 GB, free: 12.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/23.42, allocations: 499.5 kB / 7.484 GB, free: 12.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/23.42, allocations: 0 / 7.484 GB, free: 12.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003671/23.42, allocations: 1.055 MB / 7.485 GB, free: 12.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/23.42, allocations: 3.906 kB / 7.485 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/23.42, allocations: 3.594 kB / 7.485 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/23.42, allocations: 115.3 kB / 7.485 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/23.42, allocations: 187.7 kB / 7.485 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/23.43, allocations: 3.864 MB / 7.489 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/23.43, allocations: 44.38 kB / 7.489 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/23.43, allocations: 46.28 kB / 7.489 GB, free: 24.59 MB / 410.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.0004166/23.43, allocations: 133.8 kB / 7.489 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003177/23.43, allocations: 0.9299 MB / 7.49 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004774/23.43, allocations: 56.64 kB / 7.49 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/23.44, allocations: 1.133 MB / 7.491 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/23.44, allocations: 10.94 kB / 7.491 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/23.44, allocations: 2.188 kB / 7.491 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00293/23.44, allocations: 1.365 MB / 7.492 GB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/23.45, allocations: 2.008 MB / 7.494 GB, free: 23.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/23.45, allocations: 0 / 7.494 GB, free: 23.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/23.45, allocations: 185.6 kB / 7.495 GB, free: 23.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004169/23.45, allocations: 141.1 kB / 7.495 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.303e-05/23.45, allocations: 20.03 kB / 7.495 GB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/23.45, allocations: 1.345 MB / 7.496 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/23.45, allocations: 3.688 kB / 7.496 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00407/23.45, allocations: 1.514 MB / 7.498 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/23.45, allocations: 136 kB / 7.498 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/23.45, allocations: 6.531 kB / 7.498 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/23.45, allocations: 40.48 kB / 7.498 GB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/23.45, allocations: 61.31 kB / 7.498 GB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/23.46, allocations: 54.34 kB / 7.498 GB, free: 21.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002939/23.46, allocations: 210 kB / 7.498 GB, free: 21.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/23.46, allocations: 0 / 7.498 GB, free: 21.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01032/23.47, allocations: 2.236 MB / 7.5 GB, free: 21.48 MB / 410.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.02313/23.49, allocations: 5.793 MB / 7.506 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002487/23.49, allocations: 1.062 MB / 7.507 GB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/23.49, allocations: 0 / 7.507 GB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/23.49, allocations: 483.4 kB / 7.507 GB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/23.5, allocations: 325.6 kB / 7.508 GB, free: 19.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/23.51, allocations: 2.466 MB / 7.51 GB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/23.51, allocations: 0.937 MB / 7.511 GB, free: 18.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006883/23.51, allocations: 247.9 kB / 7.511 GB, free: 18.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/23.51, allocations: 1.969 kB / 7.511 GB, free: 18.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.555/28.06, allocations: 71.38 MB / 7.581 GB, free: 9.977 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat