Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.041/2.041, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.667e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 44.49 MB / 294.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.1/19.42, allocations: 6.529 GB / 6.816 GB, free: 100.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/19.42, allocations: 80.12 kB / 6.816 GB, free: 100.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767/23.19, allocations: 0.6583 GB / 7.475 GB, free: 26.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/23.19, allocations: 0 / 7.475 GB, free: 26.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.286e-05/23.19, allocations: 16.88 kB / 7.475 GB, free: 26.63 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.01177/23.2, allocations: 2.401 MB / 7.477 GB, free: 25.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/23.2, allocations: 9.438 kB / 7.477 GB, free: 25.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008043/23.2, allocations: 86.45 kB / 7.477 GB, free: 25.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/23.21, allocations: 432.8 kB / 7.478 GB, free: 25.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/23.21, allocations: 22.66 kB / 7.478 GB, free: 25.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/23.21, allocations: 42.38 kB / 7.478 GB, free: 25.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001922/23.21, allocations: 0.7898 MB / 7.478 GB, free: 25.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/23.21, allocations: 0.5729 MB / 7.479 GB, free: 25.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/23.21, allocations: 7.031 kB / 7.479 GB, free: 25.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/23.21, allocations: 3.062 kB / 7.479 GB, free: 25.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/23.21, allocations: 17.84 kB / 7.479 GB, free: 25.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02155/23.23, allocations: 12.54 MB / 7.491 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/23.23, allocations: 0.8083 MB / 7.492 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008826/23.23, allocations: 385.4 kB / 7.492 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05513/23.29, allocations: 30.21 MB / 7.522 GB, free: 15.19 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/23.29, allocations: 46.06 kB / 7.522 GB, free: 15.15 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 3.907e-06/23.29, allocations: 0 / 7.522 GB, free: 15.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.0101/23.3, allocations: 2.345 MB / 7.524 GB, free: 14.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/23.3, allocations: 61.47 kB / 7.524 GB, free: 14.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/23.3, allocations: 258.9 kB / 7.524 GB, free: 14.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/23.3, allocations: 25.7 kB / 7.524 GB, free: 14.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/23.3, allocations: 240.7 kB / 7.525 GB, free: 14.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/23.3, allocations: 297.3 kB / 7.525 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/23.3, allocations: 0 / 7.525 GB, free: 14.15 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/23.3, allocations: 365.8 kB / 7.525 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/23.3, allocations: 301.2 kB / 7.526 GB, free: 13.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007815/23.3, allocations: 412.3 kB / 7.526 GB, free: 13.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/23.3, allocations: 0.4931 MB / 7.527 GB, free: 13.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/23.3, allocations: 0 / 7.527 GB, free: 13.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00394/23.31, allocations: 1.062 MB / 7.528 GB, free: 13.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/23.31, allocations: 6.781 kB / 7.528 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/23.31, allocations: 0 / 7.528 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/23.31, allocations: 115.5 kB / 7.528 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/23.31, allocations: 194.5 kB / 7.528 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/23.31, allocations: 3.866 MB / 7.532 GB, free: 26.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/23.32, allocations: 43.09 kB / 7.532 GB, free: 26.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/23.32, allocations: 49.09 kB / 7.532 GB, free: 26.04 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.0004337/23.32, allocations: 131.2 kB / 7.532 GB, free: 25.92 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003752/23.32, allocations: 0.9336 MB / 7.533 GB, free: 25.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/23.32, allocations: 60.98 kB / 7.533 GB, free: 25.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/23.32, allocations: 1.123 MB / 7.534 GB, free: 25.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/23.32, allocations: 14.22 kB / 7.534 GB, free: 25.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/23.32, allocations: 0 / 7.534 GB, free: 25.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003092/23.33, allocations: 1.366 MB / 7.535 GB, free: 24.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00562/23.33, allocations: 2 MB / 7.537 GB, free: 24.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/23.33, allocations: 9.531 kB / 7.537 GB, free: 24.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/23.34, allocations: 186.4 kB / 7.537 GB, free: 24.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/23.34, allocations: 131.4 kB / 7.538 GB, free: 24.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/23.34, allocations: 16.69 kB / 7.538 GB, free: 24.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/23.34, allocations: 1.358 MB / 7.539 GB, free: 23.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/23.34, allocations: 6.625 kB / 7.539 GB, free: 23.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004341/23.34, allocations: 1.5 MB / 7.54 GB, free: 23.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/23.34, allocations: 140.6 kB / 7.54 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/23.34, allocations: 8.422 kB / 7.54 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/23.34, allocations: 42.58 kB / 7.541 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/23.34, allocations: 60.33 kB / 7.541 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/23.34, allocations: 58.27 kB / 7.541 GB, free: 22.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003113/23.34, allocations: 206.7 kB / 7.541 GB, free: 22.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/23.34, allocations: 0 / 7.541 GB, free: 22.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01119/23.36, allocations: 2.247 MB / 7.543 GB, free: 22.43 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.0244/23.38, allocations: 5.771 MB / 7.549 GB, free: 20.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002599/23.38, allocations: 1.062 MB / 7.55 GB, free: 20.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/23.38, allocations: 0 / 7.55 GB, free: 20.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/23.38, allocations: 482.9 kB / 7.55 GB, free: 20.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/23.39, allocations: 329.8 kB / 7.55 GB, free: 20.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/23.4, allocations: 2.418 MB / 7.553 GB, free: 19.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/23.4, allocations: 0.9392 MB / 7.554 GB, free: 18.97 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001285/23.4, allocations: 180.6 kB / 7.554 GB, free: 18.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005737/23.4, allocations: 237 kB / 7.554 GB, free: 18.95 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/23.4, allocations: 3.656 kB / 7.554 GB, free: 18.95 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5554/23.96, allocations: 78.29 MB / 7.631 GB, free: 71.46 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/23.96, allocations: 165.4 kB / 7.631 GB, free: 71.27 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.467/30.42, allocations: 0 / 7.631 GB, free: 71.27 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat