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.785/1.785, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.238e-05, allocations: 3.312 kB / 255.3 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07797/0.07802, allocations: 44.51 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8766/0.9547, allocations: 362.5 MB / 0.6468 GB, free: 30.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.955, allocations: 90.44 kB / 0.6469 GB, free: 30.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4446/1.4, allocations: 80.86 MB / 0.7259 GB, free: 126.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.945e-06/1.4, allocations: 4 kB / 0.7259 GB, free: 126.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.374e-05/1.4, allocations: 4 kB / 0.7259 GB, free: 126.9 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.000982/1.401, allocations: 0.593 MB / 0.7265 GB, free: 126.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.401, allocations: 8.031 kB / 0.7265 GB, free: 126.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/1.401, allocations: 39.72 kB / 0.7265 GB, free: 126.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/1.402, allocations: 283.4 kB / 0.7268 GB, free: 125.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.4e-05/1.402, allocations: 16.56 kB / 0.7268 GB, free: 125.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/1.402, allocations: 24 kB / 0.7268 GB, free: 125.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/1.402, allocations: 292.5 kB / 0.7271 GB, free: 125.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/1.402, allocations: 4 kB / 0.7271 GB, free: 125.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/1.402, allocations: 12 kB / 0.7271 GB, free: 125.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/1.402, allocations: 8 kB / 0.7271 GB, free: 125.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/1.403, allocations: 185.6 kB / 0.7273 GB, free: 125.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/1.404, allocations: 1.445 MB / 0.7287 GB, free: 123.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/1.405, allocations: 175.2 kB / 0.7289 GB, free: 123.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/1.405, allocations: 85.23 kB / 0.729 GB, free: 123.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/1.405, allocations: 192 / 0.729 GB, free: 123.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/1.405, allocations: 46.69 kB / 0.729 GB, free: 123.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.398e-06/1.405, allocations: 0 / 0.729 GB, free: 123.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.00272/1.408, allocations: 0.862 MB / 0.7298 GB, free: 122.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/1.408, allocations: 55.41 kB / 0.7299 GB, free: 122.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/1.408, allocations: 230.8 kB / 0.7301 GB, free: 122.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/1.408, allocations: 33.7 kB / 0.7302 GB, free: 122.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/1.408, allocations: 233.1 kB / 0.7304 GB, free: 122 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/1.408, allocations: 94.64 kB / 0.7305 GB, free: 121.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/1.408, allocations: 4 kB / 0.7305 GB, free: 121.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/1.409, allocations: 330.8 kB / 0.7308 GB, free: 121.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/1.409, allocations: 80 kB / 0.7309 GB, free: 121.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/1.409, allocations: 167.2 kB / 0.731 GB, free: 121.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/1.409, allocations: 115.9 kB / 0.7311 GB, free: 121.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.409, allocations: 11.94 kB / 0.7311 GB, free: 121.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008361/1.41, allocations: 362.8 kB / 0.7315 GB, free: 120.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/1.41, allocations: 8.375 kB / 0.7315 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.41, allocations: 4 kB / 0.7315 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/1.411, allocations: 61.67 kB / 0.7316 GB, free: 120.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/1.411, allocations: 71.84 kB / 0.7316 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/1.414, allocations: 2.661 MB / 0.7342 GB, free: 117.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/1.415, allocations: 31.84 kB / 0.7343 GB, free: 117.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/1.415, allocations: 8 kB / 0.7343 GB, free: 117.7 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.000126/1.415, allocations: 136.9 kB / 0.7344 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/1.415, allocations: 23.72 kB / 0.7344 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.302e-05/1.415, allocations: 37.95 kB / 0.7345 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.523e-06/1.415, allocations: 0 / 0.7345 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.366e-06/1.415, allocations: 0 / 0.7345 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006634/1.416, allocations: 0.5592 MB / 0.735 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/1.417, allocations: 0.6964 MB / 0.7357 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.233e-06/1.417, allocations: 0 / 0.7357 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/1.417, allocations: 47.91 kB / 0.7357 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/1.418, allocations: 48.8 kB / 0.7358 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/1.418, allocations: 15.97 kB / 0.7358 GB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/1.419, allocations: 1.386 MB / 0.7371 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.014e-06/1.419, allocations: 0 / 0.7371 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008475/1.42, allocations: 471 kB / 0.7376 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/1.42, allocations: 100.7 kB / 0.7377 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/1.42, allocations: 12.08 kB / 0.7377 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/1.42, allocations: 11.98 kB / 0.7377 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/1.42, allocations: 15.98 kB / 0.7377 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/1.42, allocations: 11.98 kB / 0.7377 GB, free: 113.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002151/1.421, allocations: 183.1 kB / 0.7379 GB, free: 113.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.97e-07/1.421, allocations: 0 / 0.7379 GB, free: 113.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006301/1.421, allocations: 104 kB / 0.738 GB, free: 113.5 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.0002543/1.422, allocations: 177.7 kB / 0.7382 GB, free: 113.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008644/1.423, allocations: 457.7 kB / 0.7386 GB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.08e-06/1.423, allocations: 0 / 0.7386 GB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/1.423, allocations: 247.1 kB / 0.7389 GB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/1.424, allocations: 156.1 kB / 0.739 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/1.425, allocations: 0.5069 MB / 0.7395 GB, free: 111.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/1.425, allocations: 0.7687 MB / 0.7402 GB, free: 111.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/1.426, allocations: 35.38 kB / 0.7403 GB, free: 111.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.821e-06/1.426, allocations: 0 / 0.7403 GB, free: 111.1 MB / 410.7 MB Notification: Performance of Templates: time 0.009858/1.435, allocations: 6.276 MB / 0.7464 GB, free: 104.8 MB / 410.7 MB