Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.42e-05, allocations: 8 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2721, allocations: 44.49 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.434/8.706, allocations: 3.616 GB / 3.903 GB, free: 128.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/8.706, allocations: 93.75 kB / 3.903 GB, free: 128.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.52/10.23, allocations: 318.9 MB / 4.215 GB, free: 49.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.196e-06/10.23, allocations: 0 / 4.215 GB, free: 49.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.547e-05/10.23, allocations: 15.98 kB / 4.215 GB, free: 49.83 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004326/10.23, allocations: 1.55 MB / 4.216 GB, free: 49.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/10.23, allocations: 11.06 kB / 4.216 GB, free: 49.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004388/10.23, allocations: 55.86 kB / 4.216 GB, free: 49.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005762/10.23, allocations: 352.7 kB / 4.217 GB, free: 48.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/10.23, allocations: 13.52 kB / 4.217 GB, free: 48.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/10.23, allocations: 29.91 kB / 4.217 GB, free: 48.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001222/10.23, allocations: 0.5632 MB / 4.217 GB, free: 48.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009053/10.23, allocations: 434.8 kB / 4.218 GB, free: 48.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/10.23, allocations: 3.688 kB / 4.218 GB, free: 48.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/10.23, allocations: 3.312 kB / 4.218 GB, free: 48.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/10.23, allocations: 11.72 kB / 4.218 GB, free: 48.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/10.24, allocations: 2.077 MB / 4.22 GB, free: 47.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/10.24, allocations: 0.5215 MB / 4.22 GB, free: 47.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/10.24, allocations: 237.9 kB / 4.221 GB, free: 47.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/10.24, allocations: 0.7035 MB / 4.221 GB, free: 46.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/10.24, allocations: 39.44 kB / 4.221 GB, free: 46.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.67e-06/10.24, allocations: 0 / 4.221 GB, free: 46.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.01387/10.25, allocations: 2.824 MB / 4.224 GB, free: 46.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/10.25, allocations: 58.31 kB / 4.224 GB, free: 46.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/10.25, allocations: 202.5 kB / 4.224 GB, free: 46.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.87e-05/10.25, allocations: 27.89 kB / 4.224 GB, free: 46.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/10.25, allocations: 260.4 kB / 4.225 GB, free: 46.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/10.25, allocations: 214.7 kB / 4.225 GB, free: 45.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/10.25, allocations: 0 / 4.225 GB, free: 45.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.586e-05/10.26, allocations: 340.5 kB / 4.225 GB, free: 45.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/10.26, allocations: 257.8 kB / 4.225 GB, free: 45.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/10.26, allocations: 329.8 kB / 4.226 GB, free: 45.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/10.26, allocations: 361.2 kB / 4.226 GB, free: 45.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/10.26, allocations: 0 / 4.226 GB, free: 45.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002726/10.26, allocations: 0.8955 MB / 4.227 GB, free: 45.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/10.26, allocations: 10.56 kB / 4.227 GB, free: 45.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.606e-06/10.26, allocations: 0 / 4.227 GB, free: 45.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/10.26, allocations: 269.2 kB / 4.227 GB, free: 45.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/10.26, allocations: 120 kB / 4.227 GB, free: 45.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/10.27, allocations: 3.334 MB / 4.231 GB, free: 42.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000933/10.27, allocations: 50.55 kB / 4.231 GB, free: 42.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/10.27, allocations: 30.83 kB / 4.231 GB, free: 42.52 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 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.0002925/10.27, allocations: 120.6 kB / 4.231 GB, free: 42.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/10.27, allocations: 45.62 kB / 4.231 GB, free: 42.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/10.27, allocations: 1.245 MB / 4.232 GB, free: 42.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/10.27, allocations: 7.75 kB / 4.232 GB, free: 42.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.636e-06/10.27, allocations: 0 / 4.232 GB, free: 42.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004229/10.28, allocations: 1.3 MB / 4.233 GB, free: 41.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/10.28, allocations: 1.534 MB / 4.235 GB, free: 41.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.472e-06/10.28, allocations: 2.625 kB / 4.235 GB, free: 41.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007845/10.28, allocations: 116.6 kB / 4.235 GB, free: 41.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/10.28, allocations: 299.8 kB / 4.235 GB, free: 41.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.528e-05/10.28, allocations: 17.27 kB / 4.235 GB, free: 41.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009795/10.28, allocations: 0.8023 MB / 4.236 GB, free: 41.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.286e-06/10.28, allocations: 0 / 4.236 GB, free: 41.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00513/10.29, allocations: 1.516 MB / 4.237 GB, free: 40.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/10.29, allocations: 113.3 kB / 4.238 GB, free: 40.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/10.29, allocations: 7.469 kB / 4.238 GB, free: 40.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/10.29, allocations: 52.75 kB / 4.238 GB, free: 40.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-05/10.29, allocations: 49.38 kB / 4.238 GB, free: 40.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-05/10.29, allocations: 32.31 kB / 4.238 GB, free: 40.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002015/10.29, allocations: 172 kB / 4.238 GB, free: 40.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.64e-07/10.29, allocations: 2.844 kB / 4.238 GB, free: 40.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002058/10.29, allocations: 0.5067 MB / 4.238 GB, free: 40.58 MB / 394.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.002864/10.3, allocations: 1.321 MB / 4.24 GB, free: 40.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001886/10.3, allocations: 0.8665 MB / 4.24 GB, free: 40.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.678e-06/10.3, allocations: 0 / 4.24 GB, free: 40.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008895/10.3, allocations: 369.6 kB / 4.241 GB, free: 40.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/10.3, allocations: 223 kB / 4.241 GB, free: 40.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/10.3, allocations: 1.008 MB / 4.242 GB, free: 39.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/10.3, allocations: 0.8657 MB / 4.243 GB, free: 39.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/10.3, allocations: 54.53 kB / 4.243 GB, free: 39.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.871e-06/10.3, allocations: 0 / 4.243 GB, free: 39.17 MB / 394.7 MB Notification: Performance of Templates: time 0.03101/10.33, allocations: 20.18 MB / 4.263 GB, free: 37.77 MB / 394.7 MB