Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.178e-05/2.182e-05, allocations: 7.938 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2488, allocations: 44.49 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7863/1.035, allocations: 333.2 MB / 0.6126 GB, free: 106.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/1.035, allocations: 91.88 kB / 0.6127 GB, free: 106.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2291/1.265, allocations: 86.74 MB / 0.6974 GB, free: 18.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.398e-06/1.265, allocations: 4.375 kB / 0.6974 GB, free: 18.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/1.265, allocations: 4 kB / 0.6974 GB, free: 18.52 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.0006533/1.265, allocations: 0.5303 MB / 0.6979 GB, free: 17.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/1.265, allocations: 8.031 kB / 0.6979 GB, free: 17.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/1.266, allocations: 39.7 kB / 0.698 GB, free: 17.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/1.266, allocations: 282.5 kB / 0.6982 GB, free: 17.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/1.266, allocations: 8 kB / 0.6982 GB, free: 17.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/1.266, allocations: 19.94 kB / 0.6983 GB, free: 17.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003814/1.267, allocations: 181 kB / 0.6984 GB, free: 17.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/1.267, allocations: 252.3 kB / 0.6987 GB, free: 17.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/1.267, allocations: 7.984 kB / 0.6987 GB, free: 17.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/1.267, allocations: 0 / 0.6987 GB, free: 17.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.477e-06/1.267, allocations: 4 kB / 0.6987 GB, free: 17.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/1.269, allocations: 1.231 MB / 0.6999 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/1.269, allocations: 171.1 kB / 0.7001 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/1.269, allocations: 77.23 kB / 0.7001 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/1.269, allocations: 166.4 kB / 0.7003 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/1.269, allocations: 42.75 kB / 0.7003 GB, free: 15.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 3.284e-06/1.269, allocations: 0 / 0.7003 GB, free: 15.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.002109/1.272, allocations: 0.7881 MB / 0.7011 GB, free: 14.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/1.272, allocations: 59.41 kB / 0.7012 GB, free: 14.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/1.272, allocations: 199.1 kB / 0.7013 GB, free: 14.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/1.272, allocations: 25.7 kB / 0.7014 GB, free: 14.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/1.272, allocations: 246.2 kB / 0.7016 GB, free: 13.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/1.272, allocations: 82.66 kB / 0.7017 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/1.272, allocations: 4 kB / 0.7017 GB, free: 13.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/1.272, allocations: 322.8 kB / 0.702 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/1.272, allocations: 68 kB / 0.7021 GB, free: 13.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/1.273, allocations: 171.7 kB / 0.7022 GB, free: 13.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/1.273, allocations: 103.9 kB / 0.7023 GB, free: 13.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.482e-06/1.273, allocations: 0 / 0.7023 GB, free: 13.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007368/1.274, allocations: 392 kB / 0.7027 GB, free: 12.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.274, allocations: 8 kB / 0.7027 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.274, allocations: 4 kB / 0.7027 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001905/1.274, allocations: 42.11 kB / 0.7027 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/1.274, allocations: 79.89 kB / 0.7028 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/1.276, allocations: 2.461 MB / 0.7052 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/1.276, allocations: 12.16 kB / 0.7052 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/1.276, allocations: 16 kB / 0.7053 GB, free: 9.781 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.0001573/1.276, allocations: 120.8 kB / 0.7054 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/1.276, allocations: 31.67 kB / 0.7054 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006584/1.277, allocations: 330.7 kB / 0.7057 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/1.277, allocations: 3.938 kB / 0.7057 GB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.277, allocations: 7.984 kB / 0.7057 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005104/1.278, allocations: 0.5876 MB / 0.7063 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/1.279, allocations: 0.7005 MB / 0.707 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.954e-06/1.279, allocations: 4 kB / 0.707 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/1.279, allocations: 59.91 kB / 0.707 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.334e-05/1.279, allocations: 20.78 kB / 0.7071 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/1.279, allocations: 8 kB / 0.7071 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007256/1.28, allocations: 1.232 MB / 0.7083 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.722e-06/1.28, allocations: 0 / 0.7083 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007044/1.281, allocations: 0.4892 MB / 0.7088 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/1.281, allocations: 96.86 kB / 0.7088 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/1.281, allocations: 4 kB / 0.7089 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/1.281, allocations: 11.97 kB / 0.7089 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/1.281, allocations: 23.91 kB / 0.7089 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/1.281, allocations: 15.98 kB / 0.7089 GB, free: 5.652 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001456/1.282, allocations: 157.6 kB / 0.7091 GB, free: 5.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.89e-07/1.282, allocations: 0 / 0.7091 GB, free: 5.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000641/1.282, allocations: 107.9 kB / 0.7092 GB, free: 5.395 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.000363/1.283, allocations: 236.2 kB / 0.7094 GB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006321/1.283, allocations: 420.3 kB / 0.7098 GB, free: 4.723 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.773e-06/1.283, allocations: 4 kB / 0.7098 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/1.284, allocations: 201.7 kB / 0.71 GB, free: 4.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/1.284, allocations: 124.3 kB / 0.7101 GB, free: 4.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009325/1.285, allocations: 0.5009 MB / 0.7106 GB, free: 3.859 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/1.286, allocations: 0.7678 MB / 0.7113 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/1.286, allocations: 31.42 kB / 0.7114 GB, free: 3.035 MB / 394.7 MB Notification: Performance of SimCode: time 1.646e-06/1.286, allocations: 4 kB / 0.7114 GB, free: 3.031 MB / 394.7 MB Notification: Performance of Templates: time 0.2163/1.502, allocations: 6.716 MB / 0.7179 GB, free: 106.3 MB / 394.7 MB