Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.571/2.571, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.382e-05, allocations: 4.125 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.291/2.405, allocations: 0.5854 GB / 0.8728 GB, free: 96.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003917/2.405, allocations: 89.75 kB / 0.8728 GB, free: 96.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015/3.42, allocations: 152 MB / 1.021 GB, free: 105.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.786e-06/3.42, allocations: 0 / 1.021 GB, free: 105.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.726e-05/3.42, allocations: 8.969 kB / 1.021 GB, free: 105.7 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001612/3.422, allocations: 0.5952 MB / 1.022 GB, free: 105.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/3.422, allocations: 14.69 kB / 1.022 GB, free: 105.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/3.422, allocations: 45.14 kB / 1.022 GB, free: 105.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/3.423, allocations: 44.08 kB / 1.022 GB, free: 105.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/3.423, allocations: 279.5 kB / 1.022 GB, free: 104.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/3.423, allocations: 9.531 kB / 1.022 GB, free: 104.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/3.424, allocations: 14.78 kB / 1.022 GB, free: 104.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007382/3.424, allocations: 179.4 kB / 1.022 GB, free: 104.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009063/3.425, allocations: 276.1 kB / 1.023 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/3.425, allocations: 5.906 kB / 1.023 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/3.425, allocations: 3.969 kB / 1.023 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/3.425, allocations: 3.875 kB / 1.023 GB, free: 104.7 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/3.429, allocations: 1.547 MB / 1.024 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/3.43, allocations: 146.5 kB / 1.024 GB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/3.43, allocations: 76.03 kB / 1.024 GB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-05/3.43, allocations: 7.938 kB / 1.024 GB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/3.43, allocations: 30.56 kB / 1.024 GB, free: 103.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 5.43e-06/3.43, allocations: 0 / 1.024 GB, free: 103.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.01094/3.441, allocations: 1.006 MB / 1.025 GB, free: 102.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/3.441, allocations: 58.94 kB / 1.025 GB, free: 102.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/3.441, allocations: 201.1 kB / 1.026 GB, free: 102.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.957e-05/3.442, allocations: 29.27 kB / 1.026 GB, free: 102.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/3.442, allocations: 183.6 kB / 1.026 GB, free: 102.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/3.442, allocations: 84.8 kB / 1.026 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/3.442, allocations: 0 / 1.026 GB, free: 102.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/3.442, allocations: 330.5 kB / 1.026 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/3.442, allocations: 79.05 kB / 1.026 GB, free: 101.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/3.443, allocations: 176.2 kB / 1.026 GB, free: 101.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/3.443, allocations: 109 kB / 1.027 GB, free: 101.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/3.443, allocations: 0 / 1.027 GB, free: 101.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001539/3.445, allocations: 359.7 kB / 1.027 GB, free: 101.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/3.445, allocations: 9.719 kB / 1.027 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/3.445, allocations: 3.812 kB / 1.027 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004539/3.445, allocations: 65.03 kB / 1.027 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/3.446, allocations: 83.67 kB / 1.027 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/3.449, allocations: 1.814 MB / 1.029 GB, free: 99.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/3.45, allocations: 15.2 kB / 1.029 GB, free: 99.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/3.45, allocations: 41.95 kB / 1.029 GB, free: 99.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 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.0002411/3.45, allocations: 116.4 kB / 1.029 GB, free: 99.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/3.45, allocations: 24.62 kB / 1.029 GB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/3.452, allocations: 351.8 kB / 1.029 GB, free: 99.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/3.452, allocations: 7.484 kB / 1.029 GB, free: 99.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/3.452, allocations: 3.219 kB / 1.029 GB, free: 99.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008981/3.453, allocations: 0.5415 MB / 1.03 GB, free: 98.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/3.455, allocations: 0.6542 MB / 1.031 GB, free: 98.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/3.455, allocations: 0 / 1.031 GB, free: 98.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/3.456, allocations: 72.23 kB / 1.031 GB, free: 98.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001692/3.456, allocations: 23.28 kB / 1.031 GB, free: 98.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/3.456, allocations: 11.41 kB / 1.031 GB, free: 98.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/3.458, allocations: 1.227 MB / 1.032 GB, free: 97.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/3.458, allocations: 3.938 kB / 1.032 GB, free: 97.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/3.459, allocations: 476 kB / 1.032 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/3.459, allocations: 100.2 kB / 1.032 GB, free: 96.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/3.459, allocations: 10.88 kB / 1.032 GB, free: 96.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007289/3.46, allocations: 11.67 kB / 1.032 GB, free: 96.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/3.46, allocations: 30.84 kB / 1.032 GB, free: 96.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/3.46, allocations: 34.86 kB / 1.033 GB, free: 96.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002747/3.46, allocations: 157.1 kB / 1.033 GB, free: 96.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.52e-07/3.46, allocations: 0 / 1.033 GB, free: 96.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001376/3.462, allocations: 158.5 kB / 1.033 GB, free: 96.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003817/3.466, allocations: 1.954 MB / 1.035 GB, free: 95.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/3.467, allocations: 352.1 kB / 1.035 GB, free: 95.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/3.467, allocations: 3.344 kB / 1.035 GB, free: 95.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005378/3.468, allocations: 208.2 kB / 1.035 GB, free: 95.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/3.47, allocations: 114.6 kB / 1.035 GB, free: 95.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/3.472, allocations: 0.5569 MB / 1.036 GB, free: 95.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/3.473, allocations: 0.7642 MB / 1.037 GB, free: 94.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001495/3.474, allocations: 112 kB / 1.037 GB, free: 94.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007068/3.475, allocations: 122.4 kB / 1.037 GB, free: 94.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.753e-06/3.475, allocations: 0 / 1.037 GB, free: 94.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/3.577, allocations: 15.44 MB / 1.052 GB, free: 84.49 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002989/3.578, allocations: 158.3 kB / 1.052 GB, free: 84.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.42/7.998, allocations: 0 / 1.052 GB, free: 84.29 MB / 410.7 MB "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:T_start,X_start[1],_D_cse1,_D_cse2,ambient.T_ambient,ambient.X_ambient[1],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.d,ambient.medium.h,ambient.medium.p,ambient.medium.p_bar,ambient.medium.preferredMediumStates,ambient.medium.standardOrderComponents,ambient.medium.state.T,ambient.medium.state.p,ambient.medium.u,ambient.p_ambient,ambient.port.H_flow,ambient.port.h,ambient.port.m_flow,ambient.port.p,ambient.use_T_ambient,ambient.use_p_ambient,der(volume.U),der(volume.m),der(volume.medium.T),der(volume.medium.d),der(volume.medium.h),der(volume.medium.p),der(volume.medium.u),fixedMassFlowRate.T_ambient,fixedMassFlowRate.X_ambient[1],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.d,fixedMassFlowRate.medium.h,fixedMassFlowRate.medium.p,fixedMassFlowRate.medium.p_bar,fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.medium.state.T,fixedMassFlowRate.medium.state.p,fixedMassFlowRate.medium.u,fixedMassFlowRate.port.H_flow,fixedMassFlowRate.port.h,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.h,shortPipe.port_a.m_flow,shortPipe.port_a.p,shortPipe.port_b.H_flow,shortPipe.port_b.h,shortPipe.port_b.m_flow,shortPipe.port_b.p,time,volume.T_start,volume.U,volume.V,volume.X_start[1],volume.d_start,volume.h_start,volume.m,volume.medium.MM,volume.medium.R,volume.medium.T,volume.medium.T_degC,volume.medium.X[1],volume.medium.d,volume.medium.h,volume.medium.p,volume.medium.p_bar,volume.medium.preferredMediumStates,volume.medium.standardOrderComponents,volume.medium.state.T,volume.medium.state.p,volume.medium.u,volume.p_start,volume.port.H_flow,volume.port.h,volume.port.m_flow,volume.port.p,volume.use_T_start,volume.use_p_start