Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.609/2.609, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.234e-05, allocations: 2.75 kB / 249.8 MB, free: 5.223 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/1.452, allocations: 333.2 MB / 0.6128 GB, free: 17.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005245/1.452, allocations: 88.56 kB / 0.6128 GB, free: 17.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.91/2.362, allocations: 86.94 MB / 0.6977 GB, free: 95.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.454e-06/2.362, allocations: 0 / 0.6977 GB, free: 95.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.046e-05/2.363, allocations: 8 kB / 0.6977 GB, free: 95.3 MB / 394.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.001065/2.364, allocations: 0.5303 MB / 0.6983 GB, free: 94.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/2.364, allocations: 12.03 kB / 0.6983 GB, free: 94.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.738e-05/2.364, allocations: 46.55 kB / 0.6983 GB, free: 94.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004972/2.364, allocations: 44.39 kB / 0.6984 GB, free: 94.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006015/2.365, allocations: 285.9 kB / 0.6986 GB, free: 94.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/2.365, allocations: 8.562 kB / 0.6986 GB, free: 94.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/2.365, allocations: 19.94 kB / 0.6987 GB, free: 94.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005879/2.366, allocations: 173.1 kB / 0.6988 GB, free: 94.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/2.366, allocations: 260.3 kB / 0.6991 GB, free: 93.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/2.366, allocations: 0 / 0.6991 GB, free: 93.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/2.367, allocations: 4 kB / 0.6991 GB, free: 93.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/2.367, allocations: 4 kB / 0.6991 GB, free: 93.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/2.369, allocations: 1.233 MB / 0.7003 GB, free: 92.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/2.37, allocations: 178.9 kB / 0.7005 GB, free: 92.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/2.37, allocations: 84.36 kB / 0.7005 GB, free: 92.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/2.371, allocations: 170.4 kB / 0.7007 GB, free: 92.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/2.371, allocations: 34.75 kB / 0.7007 GB, free: 91.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 4.098e-06/2.371, allocations: 4 kB / 0.7007 GB, free: 91.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.003569/2.374, allocations: 0.7842 MB / 0.7015 GB, free: 91.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/2.374, allocations: 55.41 kB / 0.7016 GB, free: 91.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/2.375, allocations: 207 kB / 0.7018 GB, free: 90.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/2.375, allocations: 25.7 kB / 0.7018 GB, free: 90.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/2.375, allocations: 175.8 kB / 0.7019 GB, free: 90.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.836e-05/2.375, allocations: 94.59 kB / 0.702 GB, free: 90.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/2.375, allocations: 0 / 0.702 GB, free: 90.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/2.375, allocations: 334.8 kB / 0.7024 GB, free: 90.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/2.375, allocations: 68 kB / 0.7024 GB, free: 90.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/2.376, allocations: 167.8 kB / 0.7026 GB, free: 89.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/2.376, allocations: 99.89 kB / 0.7027 GB, free: 89.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/2.376, allocations: 0 / 0.7027 GB, free: 89.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001221/2.377, allocations: 403.9 kB / 0.7031 GB, free: 89.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/2.377, allocations: 8 kB / 0.7031 GB, free: 89.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/2.377, allocations: 7.953 kB / 0.7031 GB, free: 89.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/2.378, allocations: 46.11 kB / 0.7031 GB, free: 89.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007636/2.378, allocations: 75.84 kB / 0.7032 GB, free: 89.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/2.381, allocations: 2.45 MB / 0.7056 GB, free: 86.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/2.381, allocations: 27.97 kB / 0.7056 GB, free: 86.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/2.381, allocations: 16 kB / 0.7056 GB, free: 86.54 MB / 394.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 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002524/2.382, allocations: 108.9 kB / 0.7057 GB, free: 86.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/2.382, allocations: 31.66 kB / 0.7058 GB, free: 86.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/2.383, allocations: 334.4 kB / 0.7061 GB, free: 86.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/2.383, allocations: 4 kB / 0.7061 GB, free: 86.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/2.383, allocations: 0 / 0.7061 GB, free: 86.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007571/2.384, allocations: 0.5991 MB / 0.7067 GB, free: 85.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/2.385, allocations: 0.6969 MB / 0.7073 GB, free: 84.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/2.385, allocations: 0 / 0.7073 GB, free: 84.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007102/2.386, allocations: 55.95 kB / 0.7074 GB, free: 84.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/2.386, allocations: 24.78 kB / 0.7074 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/2.386, allocations: 4.031 kB / 0.7074 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/2.387, allocations: 1.221 MB / 0.7086 GB, free: 83.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/2.387, allocations: 16.03 kB / 0.7086 GB, free: 83.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/2.388, allocations: 0.4959 MB / 0.7091 GB, free: 82.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/2.389, allocations: 96.86 kB / 0.7092 GB, free: 82.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/2.389, allocations: 3.953 kB / 0.7092 GB, free: 82.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005979/2.389, allocations: 16.05 kB / 0.7092 GB, free: 82.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/2.389, allocations: 19.97 kB / 0.7093 GB, free: 82.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/2.39, allocations: 11.98 kB / 0.7093 GB, free: 82.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002262/2.39, allocations: 153.6 kB / 0.7094 GB, free: 82.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.21e-07/2.39, allocations: 0 / 0.7094 GB, free: 82.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009189/2.391, allocations: 107.9 kB / 0.7095 GB, free: 82.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.001796/2.393, allocations: 1.246 MB / 0.7107 GB, free: 80.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/2.394, allocations: 412 kB / 0.7111 GB, free: 80.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/2.394, allocations: 0 / 0.7111 GB, free: 80.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/2.394, allocations: 209.8 kB / 0.7113 GB, free: 80.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/2.396, allocations: 128.3 kB / 0.7114 GB, free: 80.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/2.398, allocations: 0.5198 MB / 0.712 GB, free: 79.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/2.398, allocations: 0.7677 MB / 0.7127 GB, free: 78.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006003/2.399, allocations: 51.27 kB / 0.7128 GB, free: 78.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/2.399, allocations: 91.41 kB / 0.7128 GB, free: 78.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.743e-06/2.399, allocations: 0 / 0.7128 GB, free: 78.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08421/2.483, allocations: 8.464 MB / 0.7211 GB, free: 70.18 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002448/2.483, allocations: 153.2 kB / 0.7212 GB, free: 69.99 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.726/6.21, allocations: 4 kB / 0.7213 GB, free: 69.99 MB / 394.7 MB "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:T_start,X_start[1],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