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.796/1.796, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.953e-05, allocations: 4 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0784/0.07845, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.653/6.732, allocations: 2.901 GB / 3.194 GB, free: 5.723 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/6.732, allocations: 88 kB / 3.194 GB, free: 5.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.726/10.46, allocations: 0.98 GB / 4.174 GB, free: 61.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.131e-06/10.46, allocations: 0 / 4.174 GB, free: 61.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.021e-05/10.46, allocations: 3.906 kB / 4.174 GB, free: 61.29 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.003688/10.46, allocations: 1.195 MB / 4.175 GB, free: 60.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/10.46, allocations: 10.91 kB / 4.175 GB, free: 60.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/10.46, allocations: 44.89 kB / 4.175 GB, free: 60.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/10.46, allocations: 269.2 kB / 4.176 GB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/10.46, allocations: 14.53 kB / 4.176 GB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/10.46, allocations: 29.25 kB / 4.176 GB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/10.46, allocations: 294.6 kB / 4.176 GB, free: 60.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/10.46, allocations: 7.516 kB / 4.176 GB, free: 60.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/10.46, allocations: 13 kB / 4.176 GB, free: 60.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/10.46, allocations: 6.969 kB / 4.176 GB, free: 60.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/10.46, allocations: 194.7 kB / 4.176 GB, free: 60.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/10.47, allocations: 1.431 MB / 4.178 GB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/10.47, allocations: 168.3 kB / 4.178 GB, free: 59.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/10.47, allocations: 93 kB / 4.178 GB, free: 59.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/10.47, allocations: 192 / 4.178 GB, free: 59.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/10.47, allocations: 38.5 kB / 4.178 GB, free: 59.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.296e-06/10.47, allocations: 0 / 4.178 GB, free: 59.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002565/10.47, allocations: 0.8618 MB / 4.179 GB, free: 59.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/10.47, allocations: 59.16 kB / 4.179 GB, free: 59.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/10.47, allocations: 223.6 kB / 4.179 GB, free: 58.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/10.47, allocations: 33.14 kB / 4.179 GB, free: 58.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/10.47, allocations: 235 kB / 4.179 GB, free: 58.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/10.47, allocations: 93.8 kB / 4.179 GB, free: 58.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/10.47, allocations: 7.25 kB / 4.179 GB, free: 58.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.556e-05/10.47, allocations: 326.1 kB / 4.18 GB, free: 58.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/10.47, allocations: 78.72 kB / 4.18 GB, free: 58.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/10.47, allocations: 165.6 kB / 4.18 GB, free: 58.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/10.47, allocations: 118.2 kB / 4.18 GB, free: 58.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.195e-06/10.47, allocations: 3.594 kB / 4.18 GB, free: 58.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008372/10.47, allocations: 356.3 kB / 4.18 GB, free: 58.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/10.47, allocations: 10.39 kB / 4.18 GB, free: 58.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.427e-06/10.47, allocations: 0 / 4.18 GB, free: 58.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/10.47, allocations: 64.39 kB / 4.18 GB, free: 58.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/10.47, allocations: 62.91 kB / 4.18 GB, free: 58.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/10.47, allocations: 2.669 MB / 4.183 GB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/10.47, allocations: 19.08 kB / 4.183 GB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/10.47, allocations: 19.59 kB / 4.183 GB, free: 55.65 MB / 410.7 MB 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.0001057/10.47, allocations: 132.1 kB / 4.183 GB, free: 55.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/10.47, allocations: 25.59 kB / 4.183 GB, free: 55.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.91e-05/10.47, allocations: 35.27 kB / 4.183 GB, free: 55.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.586e-06/10.47, allocations: 3.938 kB / 4.183 GB, free: 55.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.895e-06/10.47, allocations: 0 / 4.183 GB, free: 55.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000639/10.48, allocations: 0.5651 MB / 4.184 GB, free: 55.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/10.48, allocations: 0.6956 MB / 4.184 GB, free: 54.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.841e-06/10.48, allocations: 2.875 kB / 4.184 GB, free: 54.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/10.48, allocations: 48 kB / 4.185 GB, free: 54.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002554/10.48, allocations: 48.11 kB / 4.185 GB, free: 54.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/10.48, allocations: 9.219 kB / 4.185 GB, free: 54.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/10.48, allocations: 1.377 MB / 4.186 GB, free: 53.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.988e-06/10.48, allocations: 0 / 4.186 GB, free: 53.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/10.48, allocations: 472.9 kB / 4.186 GB, free: 53.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/10.48, allocations: 98.73 kB / 4.186 GB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/10.48, allocations: 9.953 kB / 4.186 GB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/10.48, allocations: 18.22 kB / 4.186 GB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/10.48, allocations: 25.12 kB / 4.187 GB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/10.48, allocations: 7.25 kB / 4.187 GB, free: 53.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001927/10.48, allocations: 188.9 kB / 4.187 GB, free: 53.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.38e-07/10.48, allocations: 0 / 4.187 GB, free: 53.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006989/10.48, allocations: 115.8 kB / 4.187 GB, free: 53.12 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.0003918/10.48, allocations: 302.8 kB / 4.187 GB, free: 53.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007617/10.48, allocations: 446.2 kB / 4.188 GB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.743e-06/10.48, allocations: 3.75 kB / 4.188 GB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000401/10.48, allocations: 222.8 kB / 4.188 GB, free: 52.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009623/10.48, allocations: 158.9 kB / 4.188 GB, free: 52.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/10.48, allocations: 0.5185 MB / 4.188 GB, free: 52.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/10.48, allocations: 0.7665 MB / 4.189 GB, free: 51.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/10.48, allocations: 38.88 kB / 4.189 GB, free: 51.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.584e-06/10.48, allocations: 0 / 4.189 GB, free: 51.81 MB / 410.7 MB Notification: Performance of Templates: time 0.01063/10.49, allocations: 7.13 MB / 4.196 GB, free: 51.7 MB / 410.7 MB