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.793/1.793, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.707e-05, allocations: 5.188 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08208/0.08214, allocations: 44.5 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.874/6.957, allocations: 2.901 GB / 3.194 GB, free: 5.473 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/6.957, allocations: 83.12 kB / 3.194 GB, free: 5.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.754/10.71, allocations: 0.98 GB / 4.174 GB, free: 61.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.127e-06/10.71, allocations: 0 / 4.174 GB, free: 61.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.706e-05/10.71, allocations: 6 kB / 4.174 GB, free: 61.51 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.003632/10.71, allocations: 1.201 MB / 4.175 GB, free: 61.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/10.71, allocations: 6.969 kB / 4.175 GB, free: 61.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/10.71, allocations: 53.11 kB / 4.175 GB, free: 61.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/10.72, allocations: 271.5 kB / 4.176 GB, free: 60.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/10.72, allocations: 14.56 kB / 4.176 GB, free: 60.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/10.72, allocations: 31.53 kB / 4.176 GB, free: 60.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/10.72, allocations: 290.1 kB / 4.176 GB, free: 60.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/10.72, allocations: 7.375 kB / 4.176 GB, free: 60.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/10.72, allocations: 10.64 kB / 4.176 GB, free: 60.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/10.72, allocations: 7.812 kB / 4.176 GB, free: 60.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/10.72, allocations: 193.2 kB / 4.176 GB, free: 60.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/10.72, allocations: 1.434 MB / 4.178 GB, free: 59.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/10.72, allocations: 174.3 kB / 4.178 GB, free: 59.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/10.72, allocations: 80.36 kB / 4.178 GB, free: 59.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/10.72, allocations: 4.062 kB / 4.178 GB, free: 59.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/10.72, allocations: 41.47 kB / 4.178 GB, free: 59.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.621e-06/10.72, allocations: 0 / 4.178 GB, free: 59.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002499/10.72, allocations: 0.8644 MB / 4.179 GB, free: 59.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/10.72, allocations: 58.19 kB / 4.179 GB, free: 59.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/10.72, allocations: 227.7 kB / 4.179 GB, free: 59.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/10.72, allocations: 29.58 kB / 4.179 GB, free: 59.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/10.72, allocations: 242.1 kB / 4.179 GB, free: 58.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/10.72, allocations: 93.53 kB / 4.179 GB, free: 58.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/10.72, allocations: 6.688 kB / 4.179 GB, free: 58.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.723e-05/10.72, allocations: 321.8 kB / 4.18 GB, free: 58.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/10.72, allocations: 85.55 kB / 4.18 GB, free: 58.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/10.72, allocations: 167.9 kB / 4.18 GB, free: 58.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/10.72, allocations: 112.4 kB / 4.18 GB, free: 58.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.007e-06/10.72, allocations: 0 / 4.18 GB, free: 58.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008686/10.72, allocations: 375.1 kB / 4.18 GB, free: 58.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/10.72, allocations: 10.19 kB / 4.18 GB, free: 58.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.718e-06/10.72, allocations: 3.875 kB / 4.18 GB, free: 58.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/10.72, allocations: 58.59 kB / 4.18 GB, free: 58.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/10.72, allocations: 69.52 kB / 4.18 GB, free: 58.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/10.73, allocations: 2.672 MB / 4.183 GB, free: 55.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/10.73, allocations: 21.64 kB / 4.183 GB, free: 55.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/10.73, allocations: 17.78 kB / 4.183 GB, free: 55.87 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.0001036/10.73, allocations: 122.3 kB / 4.183 GB, free: 55.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/10.73, allocations: 26.03 kB / 4.183 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.978e-05/10.73, allocations: 39.41 kB / 4.183 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.664e-06/10.73, allocations: 5.562 kB / 4.183 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/10.73, allocations: 3.953 kB / 4.183 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006435/10.73, allocations: 0.5573 MB / 4.184 GB, free: 55.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/10.73, allocations: 0.6933 MB / 4.184 GB, free: 54.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.993e-06/10.73, allocations: 0 / 4.184 GB, free: 54.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/10.73, allocations: 46.91 kB / 4.185 GB, free: 54.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/10.73, allocations: 59.38 kB / 4.185 GB, free: 54.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/10.73, allocations: 9.5 kB / 4.185 GB, free: 54.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/10.73, allocations: 1.371 MB / 4.186 GB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.303e-06/10.73, allocations: 0 / 4.186 GB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008317/10.73, allocations: 474.6 kB / 4.186 GB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/10.73, allocations: 103.9 kB / 4.186 GB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/10.73, allocations: 10.31 kB / 4.186 GB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/10.73, allocations: 13.88 kB / 4.187 GB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/10.73, allocations: 16.97 kB / 4.187 GB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/10.73, allocations: 10.09 kB / 4.187 GB, free: 53.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002061/10.73, allocations: 181.3 kB / 4.187 GB, free: 53.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.259e-06/10.73, allocations: 0 / 4.187 GB, free: 53.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007129/10.73, allocations: 128.3 kB / 4.187 GB, free: 53.34 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.0003817/10.73, allocations: 298.8 kB / 4.187 GB, free: 53.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007841/10.73, allocations: 476.1 kB / 4.188 GB, free: 53.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.268e-06/10.73, allocations: 0 / 4.188 GB, free: 53.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/10.73, allocations: 229 kB / 4.188 GB, free: 52.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/10.74, allocations: 159.6 kB / 4.188 GB, free: 52.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/10.74, allocations: 0.5166 MB / 4.188 GB, free: 52.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/10.74, allocations: 0.7707 MB / 4.189 GB, free: 52.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/10.74, allocations: 33.12 kB / 4.189 GB, free: 52.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.4e-06/10.74, allocations: 0 / 4.189 GB, free: 52.01 MB / 410.7 MB Notification: Performance of Templates: time 0.01059/10.75, allocations: 7.154 MB / 4.196 GB, free: 51.91 MB / 410.7 MB