Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.854/1.854, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.803e-05, allocations: 4 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.07916, allocations: 44.49 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8405/0.9197, allocations: 362.5 MB / 0.6469 GB, free: 31.08 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.92, allocations: 82.02 kB / 0.6469 GB, free: 31.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4393/1.359, allocations: 80.86 MB / 0.7259 GB, free: 127.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.359e-06/1.359, allocations: 0 / 0.7259 GB, free: 127.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.161e-05/1.359, allocations: 8.375 kB / 0.7259 GB, free: 127.6 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.0009581/1.36, allocations: 0.5956 MB / 0.7265 GB, free: 126.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.36, allocations: 8.031 kB / 0.7265 GB, free: 126.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/1.361, allocations: 35.72 kB / 0.7265 GB, free: 126.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/1.361, allocations: 281.5 kB / 0.7268 GB, free: 126.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/1.361, allocations: 24.56 kB / 0.7268 GB, free: 126.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/1.361, allocations: 24 kB / 0.7268 GB, free: 126.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/1.362, allocations: 287.4 kB / 0.7271 GB, free: 126.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/1.362, allocations: 0 / 0.7271 GB, free: 126.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/1.362, allocations: 12 kB / 0.7271 GB, free: 126.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/1.362, allocations: 12 kB / 0.7271 GB, free: 126.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/1.362, allocations: 184.8 kB / 0.7273 GB, free: 126 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/1.364, allocations: 1.44 MB / 0.7287 GB, free: 124.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/1.365, allocations: 175 kB / 0.7289 GB, free: 124.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/1.365, allocations: 81.23 kB / 0.729 GB, free: 124.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/1.365, allocations: 8.172 kB / 0.729 GB, free: 124.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/1.365, allocations: 34.75 kB / 0.729 GB, free: 124.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 5.023e-06/1.365, allocations: 0 / 0.729 GB, free: 124.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002763/1.368, allocations: 0.8675 MB / 0.7299 GB, free: 123.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/1.368, allocations: 59.41 kB / 0.7299 GB, free: 123.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/1.368, allocations: 230.8 kB / 0.7301 GB, free: 122.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/1.368, allocations: 29.7 kB / 0.7302 GB, free: 122.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.867e-05/1.368, allocations: 230.4 kB / 0.7304 GB, free: 122.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/1.368, allocations: 97.22 kB / 0.7305 GB, free: 122.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/1.368, allocations: 8 kB / 0.7305 GB, free: 122.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/1.368, allocations: 322.8 kB / 0.7308 GB, free: 122.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/1.369, allocations: 80 kB / 0.7309 GB, free: 122.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/1.369, allocations: 179.1 kB / 0.731 GB, free: 121.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/1.369, allocations: 108 kB / 0.7311 GB, free: 121.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.465e-06/1.369, allocations: 4 kB / 0.7311 GB, free: 121.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008614/1.37, allocations: 354.8 kB / 0.7315 GB, free: 121.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.37, allocations: 8 kB / 0.7315 GB, free: 121.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.37, allocations: 4 kB / 0.7315 GB, free: 121.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/1.37, allocations: 69.98 kB / 0.7316 GB, free: 121.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/1.371, allocations: 67.91 kB / 0.7316 GB, free: 121.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/1.373, allocations: 2.654 MB / 0.7342 GB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/1.373, allocations: 19.91 kB / 0.7342 GB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/1.373, allocations: 12 kB / 0.7343 GB, free: 118.4 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.0001324/1.373, allocations: 132.8 kB / 0.7344 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/1.373, allocations: 27.78 kB / 0.7344 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/1.373, allocations: 33.97 kB / 0.7344 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.299e-06/1.374, allocations: 4 kB / 0.7344 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.507e-06/1.374, allocations: 0 / 0.7344 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006205/1.374, allocations: 0.5621 MB / 0.735 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/1.375, allocations: 0.6922 MB / 0.7357 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.439e-06/1.375, allocations: 3.953 kB / 0.7357 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/1.376, allocations: 47.92 kB / 0.7357 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000269/1.376, allocations: 48.8 kB / 0.7358 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/1.376, allocations: 11.98 kB / 0.7358 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/1.377, allocations: 1.382 MB / 0.7371 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.818e-06/1.377, allocations: 3.938 kB / 0.7371 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/1.378, allocations: 474.9 kB / 0.7376 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/1.378, allocations: 100.8 kB / 0.7377 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/1.378, allocations: 4 kB / 0.7377 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/1.379, allocations: 16.06 kB / 0.7377 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/1.379, allocations: 23.91 kB / 0.7377 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/1.379, allocations: 11.95 kB / 0.7377 GB, free: 114.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002139/1.379, allocations: 183.1 kB / 0.7379 GB, free: 114.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.014e-06/1.379, allocations: 0 / 0.7379 GB, free: 114.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006287/1.379, allocations: 104 kB / 0.738 GB, free: 114.2 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.0002513/1.38, allocations: 173.1 kB / 0.7382 GB, free: 114 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000845/1.381, allocations: 456.5 kB / 0.7386 GB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.249e-06/1.381, allocations: 0 / 0.7386 GB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/1.381, allocations: 221.6 kB / 0.7388 GB, free: 113.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/1.382, allocations: 156.5 kB / 0.739 GB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/1.383, allocations: 0.5212 MB / 0.7395 GB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/1.384, allocations: 0.7648 MB / 0.7402 GB, free: 111.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.384, allocations: 31.44 kB / 0.7402 GB, free: 111.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.788e-06/1.384, allocations: 0 / 0.7402 GB, free: 111.8 MB / 410.7 MB Notification: Performance of Templates: time 0.009768/1.393, allocations: 6.261 MB / 0.7464 GB, free: 105.6 MB / 410.7 MB