Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 1.874/1.874, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.06e-05/3.07e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2523, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.792/7.045, allocations: 2.901 GB / 3.188 GB, free: 64.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/7.045, allocations: 91.06 kB / 3.188 GB, free: 64.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.402/10.45, allocations: 0.9694 GB / 4.157 GB, free: 4.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.238e-06/10.45, allocations: 0 / 4.157 GB, free: 4.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.075e-05/10.45, allocations: 8 kB / 4.157 GB, free: 4.332 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.003737/10.45, allocations: 1.199 MB / 4.158 GB, free: 3.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/10.45, allocations: 12.03 kB / 4.159 GB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/10.45, allocations: 39.62 kB / 4.159 GB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/10.45, allocations: 269 kB / 4.159 GB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/10.45, allocations: 8 kB / 4.159 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/10.45, allocations: 16 kB / 4.159 GB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000383/10.45, allocations: 169.1 kB / 4.159 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/10.45, allocations: 262.5 kB / 4.159 GB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/10.45, allocations: 3.953 kB / 4.159 GB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/10.45, allocations: 0 / 4.159 GB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/10.45, allocations: 8 kB / 4.159 GB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/10.45, allocations: 1.377 MB / 4.161 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/10.45, allocations: 152.4 kB / 4.161 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/10.45, allocations: 81.31 kB / 4.161 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/10.45, allocations: 4.188 kB / 4.161 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/10.45, allocations: 38.75 kB / 4.161 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.593e-06/10.45, allocations: 0 / 4.161 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.2544/10.71, allocations: 0.738 MB / 4.162 GB, free: 65.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/10.71, allocations: 53.88 kB / 4.162 GB, free: 65.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/10.71, allocations: 196.4 kB / 4.162 GB, free: 65.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/10.71, allocations: 26.81 kB / 4.162 GB, free: 65.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/10.71, allocations: 244.4 kB / 4.162 GB, free: 65.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.745e-05/10.71, allocations: 88.88 kB / 4.162 GB, free: 65.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/10.71, allocations: 0.5938 kB / 4.162 GB, free: 65.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/10.71, allocations: 330 kB / 4.162 GB, free: 65.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/10.71, allocations: 74.06 kB / 4.163 GB, free: 65.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/10.71, allocations: 167.8 kB / 4.163 GB, free: 65.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/10.71, allocations: 102 kB / 4.163 GB, free: 65.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.592e-06/10.71, allocations: 4.438 kB / 4.163 GB, free: 65.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009199/10.71, allocations: 328.5 kB / 4.163 GB, free: 65.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/10.71, allocations: 6.156 kB / 4.163 GB, free: 65.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/10.71, allocations: 3.094 kB / 4.163 GB, free: 65.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/10.71, allocations: 65.77 kB / 4.163 GB, free: 65.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/10.71, allocations: 72.48 kB / 4.163 GB, free: 65.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/10.71, allocations: 2.569 MB / 4.166 GB, free: 62.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/10.71, allocations: 19.39 kB / 4.166 GB, free: 62.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/10.71, allocations: 14.78 kB / 4.166 GB, free: 62.64 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001688/10.71, allocations: 121.5 kB / 4.166 GB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/10.71, allocations: 24.81 kB / 4.166 GB, free: 62.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.429e-05/10.71, allocations: 34.36 kB / 4.166 GB, free: 62.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.602e-06/10.71, allocations: 3.406 kB / 4.166 GB, free: 62.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.264e-06/10.72, allocations: 1.156 kB / 4.166 GB, free: 62.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006314/10.72, allocations: 0.5394 MB / 4.167 GB, free: 62.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/10.72, allocations: 0.6497 MB / 4.167 GB, free: 61.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.3e-06/10.72, allocations: 1.375 kB / 4.167 GB, free: 61.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/10.72, allocations: 40.5 kB / 4.167 GB, free: 61.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002763/10.72, allocations: 56.03 kB / 4.167 GB, free: 61.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/10.72, allocations: 1.906 kB / 4.167 GB, free: 61.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/10.72, allocations: 1.326 MB / 4.169 GB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/10.72, allocations: 1.375 kB / 4.169 GB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/10.72, allocations: 452.9 kB / 4.169 GB, free: 60.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/10.72, allocations: 95.36 kB / 4.169 GB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/10.72, allocations: 5.188 kB / 4.169 GB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/10.72, allocations: 12.25 kB / 4.169 GB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/10.72, allocations: 19.66 kB / 4.169 GB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/10.72, allocations: 18.47 kB / 4.169 GB, free: 60.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000178/10.72, allocations: 149.9 kB / 4.169 GB, free: 60.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.23e-07/10.72, allocations: 0 / 4.169 GB, free: 60.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008234/10.72, allocations: 111.5 kB / 4.169 GB, free: 60.22 MB / 410.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 (24): * Single equations (assignments): 23 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004522/10.72, allocations: 321 kB / 4.17 GB, free: 60.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008199/10.72, allocations: 435.3 kB / 4.17 GB, free: 59.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.708e-06/10.72, allocations: 1.422 kB / 4.17 GB, free: 59.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004082/10.72, allocations: 222.8 kB / 4.17 GB, free: 59.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008309/10.72, allocations: 121.6 kB / 4.17 GB, free: 59.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/10.72, allocations: 0.4977 MB / 4.171 GB, free: 59.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/10.72, allocations: 0.7671 MB / 4.172 GB, free: 58.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/10.73, allocations: 35.19 kB / 4.172 GB, free: 58.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.378e-06/10.73, allocations: 3.062 kB / 4.172 GB, free: 58.93 MB / 410.7 MB Notification: Performance of Templates: time 0.01069/10.74, allocations: 6.758 MB / 4.178 GB, free: 58.83 MB / 410.7 MB