Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.537/2.537, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.192e-05, allocations: 3.719 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 44.52 MB / 294.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.52/13.63, allocations: 3.616 GB / 3.904 GB, free: 112.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004185/13.63, allocations: 92.28 kB / 3.904 GB, free: 112.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.183/15.81, allocations: 319.8 MB / 4.216 GB, free: 57.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/15.81, allocations: 0 / 4.216 GB, free: 57.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.873e-05/15.81, allocations: 6.75 kB / 4.216 GB, free: 57.67 MB / 410.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.006959/15.82, allocations: 1.563 MB / 4.217 GB, free: 56.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/15.82, allocations: 7.312 kB / 4.217 GB, free: 56.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002372/15.82, allocations: 69.42 kB / 4.218 GB, free: 56.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006244/15.82, allocations: 56.44 kB / 4.218 GB, free: 56.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009528/15.82, allocations: 350.2 kB / 4.218 GB, free: 56.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/15.82, allocations: 19.94 kB / 4.218 GB, free: 56.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/15.82, allocations: 29.23 kB / 4.218 GB, free: 56.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00179/15.83, allocations: 0.5568 MB / 4.218 GB, free: 56.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/15.83, allocations: 439.4 kB / 4.219 GB, free: 56.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/15.83, allocations: 3.5 kB / 4.219 GB, free: 56.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/15.83, allocations: 3.625 kB / 4.219 GB, free: 56.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/15.83, allocations: 12.28 kB / 4.219 GB, free: 56.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005953/15.83, allocations: 2.077 MB / 4.221 GB, free: 55.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/15.84, allocations: 0.5299 MB / 4.221 GB, free: 55.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/15.84, allocations: 239.2 kB / 4.222 GB, free: 55.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008061/15.84, allocations: 0.7009 MB / 4.222 GB, free: 54.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/15.84, allocations: 41.69 kB / 4.222 GB, free: 54.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 4.037e-06/15.84, allocations: 0 / 4.222 GB, free: 54.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.02383/15.86, allocations: 2.821 MB / 4.225 GB, free: 54.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/15.86, allocations: 66.42 kB / 4.225 GB, free: 54.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/15.86, allocations: 199.2 kB / 4.225 GB, free: 54.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00018/15.86, allocations: 28.58 kB / 4.225 GB, free: 54.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/15.86, allocations: 201.9 kB / 4.226 GB, free: 54.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/15.86, allocations: 221 kB / 4.226 GB, free: 53.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/15.86, allocations: 0 / 4.226 GB, free: 53.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/15.86, allocations: 344.1 kB / 4.226 GB, free: 53.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/15.86, allocations: 260 kB / 4.226 GB, free: 53.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/15.86, allocations: 331.6 kB / 4.227 GB, free: 53.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/15.87, allocations: 359.4 kB / 4.227 GB, free: 53.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/15.87, allocations: 0 / 4.227 GB, free: 53.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003786/15.87, allocations: 0.9034 MB / 4.228 GB, free: 53.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/15.87, allocations: 7.438 kB / 4.228 GB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/15.87, allocations: 0 / 4.228 GB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/15.87, allocations: 269.4 kB / 4.228 GB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/15.87, allocations: 122 kB / 4.228 GB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/15.88, allocations: 3.323 MB / 4.232 GB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/15.88, allocations: 59.67 kB / 4.232 GB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/15.88, allocations: 33.02 kB / 4.232 GB, free: 50.51 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: 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.0004063/15.88, allocations: 124 kB / 4.232 GB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/15.88, allocations: 40.75 kB / 4.232 GB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008707/15.89, allocations: 1.239 MB / 4.233 GB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/15.89, allocations: 5.75 kB / 4.233 GB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/15.89, allocations: 5.844 kB / 4.233 GB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008368/15.9, allocations: 1.313 MB / 4.234 GB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/15.9, allocations: 1.536 MB / 4.236 GB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/15.9, allocations: 0 / 4.236 GB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/15.9, allocations: 111.3 kB / 4.236 GB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002836/15.91, allocations: 308.5 kB / 4.236 GB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/15.91, allocations: 15.94 kB / 4.236 GB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/15.91, allocations: 0.8059 MB / 4.237 GB, free: 49.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/15.91, allocations: 0 / 4.237 GB, free: 49.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008236/15.92, allocations: 1.51 MB / 4.239 GB, free: 48.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/15.92, allocations: 116.4 kB / 4.239 GB, free: 48.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/15.92, allocations: 9.844 kB / 4.239 GB, free: 48.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/15.92, allocations: 45.03 kB / 4.239 GB, free: 48.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/15.92, allocations: 42.44 kB / 4.239 GB, free: 48.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/15.92, allocations: 37.36 kB / 4.239 GB, free: 48.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002714/15.92, allocations: 173.8 kB / 4.239 GB, free: 48.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.562e-06/15.92, allocations: 0 / 4.239 GB, free: 48.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002906/15.92, allocations: 0.5012 MB / 4.239 GB, free: 48.61 MB / 410.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.01253/15.93, allocations: 3.35 MB / 4.243 GB, free: 47.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002678/15.94, allocations: 0.8701 MB / 4.244 GB, free: 47.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/15.94, allocations: 3.375 kB / 4.244 GB, free: 47.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/15.94, allocations: 361.2 kB / 4.244 GB, free: 47.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/15.94, allocations: 219.7 kB / 4.244 GB, free: 47.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/15.95, allocations: 1.235 MB / 4.245 GB, free: 47.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/15.95, allocations: 0.86 MB / 4.246 GB, free: 46.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001192/15.95, allocations: 121.1 kB / 4.246 GB, free: 46.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/15.95, allocations: 169.9 kB / 4.246 GB, free: 46.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/15.95, allocations: 0 / 4.246 GB, free: 46.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/16.09, allocations: 28.24 MB / 4.274 GB, free: 45.25 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002774/16.09, allocations: 159.9 kB / 4.274 GB, free: 45.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.653/21.74, allocations: 0 / 4.274 GB, free: 45.05 MB / 410.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_cse2,_D_cse3,_D_cse4,_D_cse5,_D_cse6,_D_cse7,_D_cse8,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.R),der(volume.medium.T),der(volume.medium.X[2]),der(volume.medium.X_liquid),der(volume.medium.X_sat),der(volume.medium.X_steam),der(volume.medium.Xi[1]),der(volume.medium.d),der(volume.medium.h),der(volume.medium.p),der(volume.medium.p_steam_sat),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