Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.738/2.738, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.022e-05, allocations: 2.375 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 26.08/26.19, allocations: 6.529 GB / 6.816 GB, free: 96.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/26.19, allocations: 72.22 kB / 6.816 GB, free: 96.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.854/32.05, allocations: 0.8282 GB / 7.645 GB, free: 37.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.246e-06/32.05, allocations: 0 / 7.645 GB, free: 37.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.651e-05/32.05, allocations: 11.67 kB / 7.645 GB, free: 37.39 MB / 442.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.01567/32.06, allocations: 2.896 MB / 7.647 GB, free: 35.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/32.06, allocations: 11.22 kB / 7.647 GB, free: 35.68 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002117/32.06, allocations: 65.3 kB / 7.648 GB, free: 35.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006002/32.06, allocations: 56.89 kB / 7.648 GB, free: 35.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008482/32.06, allocations: 362.9 kB / 7.648 GB, free: 35.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/32.06, allocations: 19.84 kB / 7.648 GB, free: 35.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/32.06, allocations: 22.69 kB / 7.648 GB, free: 35.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001692/32.06, allocations: 0.5719 MB / 7.649 GB, free: 35.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/32.07, allocations: 428.3 kB / 7.649 GB, free: 35.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/32.07, allocations: 3.469 kB / 7.649 GB, free: 35.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/32.07, allocations: 0 / 7.649 GB, free: 35.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/32.07, allocations: 10.78 kB / 7.649 GB, free: 35.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/32.09, allocations: 11.78 MB / 7.66 GB, free: 24.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/32.09, allocations: 0.5929 MB / 7.661 GB, free: 24.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/32.1, allocations: 234.5 kB / 7.661 GB, free: 24.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04492/32.14, allocations: 20.14 MB / 7.681 GB, free: 19.65 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.944e-05/32.14, allocations: 40.59 kB / 7.681 GB, free: 19.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 4.198e-06/32.14, allocations: 0 / 7.681 GB, free: 19.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=55): time 0.0083/32.15, allocations: 1.504 MB / 7.682 GB, free: 19.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/32.15, allocations: 60.47 kB / 7.682 GB, free: 19.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/32.15, allocations: 225 kB / 7.683 GB, free: 19.06 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/32.15, allocations: 28.73 kB / 7.683 GB, free: 19.03 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/32.15, allocations: 207.2 kB / 7.683 GB, free: 18.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/32.15, allocations: 185.2 kB / 7.683 GB, free: 18.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/32.15, allocations: 4 kB / 7.683 GB, free: 18.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/32.15, allocations: 348.8 kB / 7.683 GB, free: 18.44 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/32.15, allocations: 197.7 kB / 7.684 GB, free: 18.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/32.15, allocations: 276.2 kB / 7.684 GB, free: 18.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/32.15, allocations: 330 kB / 7.684 GB, free: 18.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/32.15, allocations: 2.688 kB / 7.684 GB, free: 18.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003663/32.16, allocations: 0.7167 MB / 7.685 GB, free: 18.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/32.16, allocations: 11.97 kB / 7.685 GB, free: 18.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/32.16, allocations: 7.734 kB / 7.685 GB, free: 18.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/32.16, allocations: 75.11 kB / 7.685 GB, free: 18.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/32.16, allocations: 131.6 kB / 7.685 GB, free: 18.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/32.16, allocations: 3.183 MB / 7.688 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009551/32.16, allocations: 30.67 kB / 7.688 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/32.16, allocations: 40.03 kB / 7.688 GB, free: 15.21 MB / 458.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {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.0004014/32.16, allocations: 125.2 kB / 7.688 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005601/32.17, allocations: 42.7 kB / 7.688 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/32.17, allocations: 0.7199 MB / 7.689 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/32.17, allocations: 10.73 kB / 7.689 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/32.17, allocations: 0 / 7.689 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002503/32.17, allocations: 0.798 MB / 7.69 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/32.18, allocations: 1.351 MB / 7.691 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/32.18, allocations: 0 / 7.691 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/32.18, allocations: 118.3 kB / 7.691 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003133/32.18, allocations: 68.81 kB / 7.691 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.111e-05/32.18, allocations: 16.59 kB / 7.691 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/32.18, allocations: 0.6768 MB / 7.692 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/32.18, allocations: 0 / 7.692 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/32.18, allocations: 1.006 MB / 7.693 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/32.18, allocations: 119.7 kB / 7.693 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/32.18, allocations: 3.875 kB / 7.693 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/32.18, allocations: 23.69 kB / 7.693 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/32.18, allocations: 46.42 kB / 7.693 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/32.18, allocations: 37.48 kB / 7.693 GB, free: 13.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003569/32.18, allocations: 182.3 kB / 7.693 GB, free: 13.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.81e-07/32.18, allocations: 0 / 7.693 GB, free: 13.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01114/32.2, allocations: 1.933 MB / 7.695 GB, free: 12.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0247/32.22, allocations: 4.974 MB / 7.7 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00216/32.22, allocations: 0.7433 MB / 7.701 GB, free: 10.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/32.22, allocations: 0.5 kB / 7.701 GB, free: 10.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000829/32.22, allocations: 294.8 kB / 7.701 GB, free: 10.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/32.23, allocations: 219.5 kB / 7.701 GB, free: 10.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009285/32.24, allocations: 1.725 MB / 7.703 GB, free: 9.887 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006727/32.24, allocations: 0.8543 MB / 7.704 GB, free: 9.176 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001243/32.24, allocations: 128.2 kB / 7.704 GB, free: 9.148 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/32.24, allocations: 159.7 kB / 7.704 GB, free: 9.137 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/32.24, allocations: 7.875 kB / 7.704 GB, free: 9.129 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8373/33.08, allocations: 66.5 MB / 7.769 GB, free: 43.88 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003126/33.08, allocations: 175 kB / 7.769 GB, free: 43.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.709/40.79, allocations: 0 / 7.769 GB, free: 43.68 MB / 458.7 MB "" Variables in the reference:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p Variables in the result:T_start,X_start[1],X_start[2],_D_cse1,_D_cse10,_D_cse2,_D_cse3,_D_cse4,_D_cse5,_D_cse6,_D_cse7,_D_cse8,_D_cse9,ambient.T_ambient,ambient.X_ambient[1],ambient.X_ambient[2],ambient.d_ambient,ambient.h_ambient,ambient.medium.MM,ambient.medium.R,ambient.medium.T,ambient.medium.T_degC,ambient.medium.X[1],ambient.medium.X[2],ambient.medium.X_air,ambient.medium.X_liquid,ambient.medium.X_sat,ambient.medium.X_steam,ambient.medium.Xi[1],ambient.medium.d,ambient.medium.h,ambient.medium.p,ambient.medium.p_bar,ambient.medium.p_steam_sat,ambient.medium.phi,ambient.medium.preferredMediumStates,ambient.medium.standardOrderComponents,ambient.medium.state.T,ambient.medium.state.X[1],ambient.medium.state.X[2],ambient.medium.state.p,ambient.medium.u,ambient.medium.x_sat,ambient.medium.x_water,ambient.p_ambient,ambient.port.H_flow,ambient.port.Xi[1],ambient.port.h,ambient.port.mXi_flow[1],ambient.port.m_flow,ambient.port.p,ambient.use_T_ambient,ambient.use_p_ambient,der(volume.U),der(volume.m),der(volume.mXi[1]),der(volume.medium.T),der(volume.medium.Xi[1]),der(volume.medium.d),der(volume.medium.p),der(volume.medium.u),fixedMassFlowRate.T_ambient,fixedMassFlowRate.X_ambient[1],fixedMassFlowRate.X_ambient[2],fixedMassFlowRate.h_ambient,fixedMassFlowRate.m_flow,fixedMassFlowRate.medium.MM,fixedMassFlowRate.medium.R,fixedMassFlowRate.medium.T,fixedMassFlowRate.medium.T_degC,fixedMassFlowRate.medium.X[1],fixedMassFlowRate.medium.X[2],fixedMassFlowRate.medium.X_air,fixedMassFlowRate.medium.X_liquid,fixedMassFlowRate.medium.X_sat,fixedMassFlowRate.medium.X_steam,fixedMassFlowRate.medium.Xi[1],fixedMassFlowRate.medium.d,fixedMassFlowRate.medium.h,fixedMassFlowRate.medium.p,fixedMassFlowRate.medium.p_bar,fixedMassFlowRate.medium.p_steam_sat,fixedMassFlowRate.medium.phi,fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.medium.state.T,fixedMassFlowRate.medium.state.X[1],fixedMassFlowRate.medium.state.X[2],fixedMassFlowRate.medium.state.p,fixedMassFlowRate.medium.u,fixedMassFlowRate.medium.x_sat,fixedMassFlowRate.medium.x_water,fixedMassFlowRate.port.H_flow,fixedMassFlowRate.port.Xi[1],fixedMassFlowRate.port.h,fixedMassFlowRate.port.mXi_flow[1],fixedMassFlowRate.port.m_flow,fixedMassFlowRate.port.p,fixedMassFlowRate.use_T_ambient,h_start,p_start,shortPipe.dp,shortPipe.dp_nominal,shortPipe.m_flow,shortPipe.m_flow_nominal,shortPipe.port_a.H_flow,shortPipe.port_a.Xi[1],shortPipe.port_a.h,shortPipe.port_a.mXi_flow[1],shortPipe.port_a.m_flow,shortPipe.port_a.p,shortPipe.port_b.H_flow,shortPipe.port_b.Xi[1],shortPipe.port_b.h,shortPipe.port_b.mXi_flow[1],shortPipe.port_b.m_flow,shortPipe.port_b.p,time,volume.T_start,volume.U,volume.V,volume.X_start[1],volume.X_start[2],volume.d_start,volume.h_start,volume.m,volume.mXi[1],volume.medium.MM,volume.medium.R,volume.medium.T,volume.medium.T_degC,volume.medium.X[1],volume.medium.X[2],volume.medium.X_air,volume.medium.X_liquid,volume.medium.X_sat,volume.medium.X_steam,volume.medium.Xi[1],volume.medium.d,volume.medium.h,volume.medium.p,volume.medium.p_bar,volume.medium.p_steam_sat,volume.medium.phi,volume.medium.preferredMediumStates,volume.medium.standardOrderComponents,volume.medium.state.T,volume.medium.state.X[1],volume.medium.state.X[2],volume.medium.state.p,volume.medium.u,volume.medium.x_sat,volume.medium.x_water,volume.p_start,volume.port.H_flow,volume.port.Xi[1],volume.port.h,volume.port.mXi_flow[1],volume.port.m_flow,volume.port.p,volume.use_T_start,volume.use_p_start