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_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.823/1.823, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.022e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.07838, allocations: 44.51 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8545/0.9329, allocations: 362.5 MB / 0.6469 GB, free: 30.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.9332, allocations: 86.31 kB / 0.647 GB, free: 30.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4425/1.376, allocations: 80.86 MB / 0.7259 GB, free: 127 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.088e-06/1.376, allocations: 0 / 0.7259 GB, free: 127 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.195e-05/1.376, allocations: 8 kB / 0.7259 GB, free: 127 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.0009236/1.377, allocations: 0.596 MB / 0.7265 GB, free: 126.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.377, allocations: 8.031 kB / 0.7265 GB, free: 126.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/1.377, allocations: 43.7 kB / 0.7266 GB, free: 126.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/1.378, allocations: 277 kB / 0.7268 GB, free: 126 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/1.378, allocations: 20.5 kB / 0.7269 GB, free: 125.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/1.378, allocations: 24 kB / 0.7269 GB, free: 125.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/1.378, allocations: 291.4 kB / 0.7272 GB, free: 125.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/1.378, allocations: 7.938 kB / 0.7272 GB, free: 125.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/1.378, allocations: 15.98 kB / 0.7272 GB, free: 125.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.192e-06/1.378, allocations: 4 kB / 0.7272 GB, free: 125.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/1.379, allocations: 184.8 kB / 0.7274 GB, free: 125.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/1.38, allocations: 1.433 MB / 0.7288 GB, free: 123.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/1.381, allocations: 166.9 kB / 0.7289 GB, free: 123.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/1.381, allocations: 85.31 kB / 0.729 GB, free: 123.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/1.381, allocations: 8.188 kB / 0.729 GB, free: 123.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/1.381, allocations: 34.75 kB / 0.729 GB, free: 123.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 4.219e-06/1.381, allocations: 0 / 0.729 GB, free: 123.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002626/1.384, allocations: 0.8717 MB / 0.7299 GB, free: 122.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/1.384, allocations: 55.41 kB / 0.7299 GB, free: 122.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/1.384, allocations: 230.8 kB / 0.7302 GB, free: 122.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/1.384, allocations: 29.7 kB / 0.7302 GB, free: 122.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/1.384, allocations: 182.9 kB / 0.7304 GB, free: 122.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/1.384, allocations: 90.66 kB / 0.7304 GB, free: 122 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/1.384, allocations: 4 kB / 0.7305 GB, free: 122 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/1.384, allocations: 342.8 kB / 0.7308 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/1.385, allocations: 76 kB / 0.7309 GB, free: 121.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/1.385, allocations: 171.2 kB / 0.731 GB, free: 121.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/1.385, allocations: 111.9 kB / 0.7311 GB, free: 121.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.3e-06/1.385, allocations: 8 kB / 0.7311 GB, free: 121.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008255/1.386, allocations: 362.7 kB / 0.7315 GB, free: 120.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/1.386, allocations: 8.375 kB / 0.7315 GB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/1.386, allocations: 4 kB / 0.7315 GB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/1.387, allocations: 61.67 kB / 0.7315 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008148/1.388, allocations: 67.91 kB / 0.7316 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004122/1.392, allocations: 2.669 MB / 0.7342 GB, free: 117.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009223/1.393, allocations: 15.98 kB / 0.7342 GB, free: 117.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.796e-05/1.393, allocations: 16 kB / 0.7342 GB, free: 117.8 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.0002273/1.393, allocations: 128.9 kB / 0.7344 GB, free: 117.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/1.393, allocations: 31.62 kB / 0.7344 GB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/1.393, allocations: 37.95 kB / 0.7344 GB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.394, allocations: 4 kB / 0.7344 GB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.394, allocations: 0 / 0.7344 GB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/1.395, allocations: 0.5553 MB / 0.735 GB, free: 117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/1.398, allocations: 0.6924 MB / 0.7357 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.398, allocations: 3.953 kB / 0.7357 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006475/1.398, allocations: 47.91 kB / 0.7357 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005605/1.399, allocations: 52.88 kB / 0.7358 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/1.399, allocations: 8.031 kB / 0.7358 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/1.401, allocations: 1.382 MB / 0.7371 GB, free: 114.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.134e-06/1.401, allocations: 3.938 kB / 0.7371 GB, free: 114.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/1.403, allocations: 470.7 kB / 0.7376 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/1.404, allocations: 104.8 kB / 0.7377 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/1.404, allocations: 4.125 kB / 0.7377 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007471/1.405, allocations: 19.98 kB / 0.7377 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.405, allocations: 15.98 kB / 0.7377 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/1.405, allocations: 11.94 kB / 0.7377 GB, free: 113.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004735/1.405, allocations: 187.1 kB / 0.7379 GB, free: 113.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.38e-06/1.405, allocations: 0 / 0.7379 GB, free: 113.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001513/1.407, allocations: 100 kB / 0.738 GB, free: 113.6 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.0004911/1.407, allocations: 178.8 kB / 0.7382 GB, free: 113.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001801/1.409, allocations: 451.9 kB / 0.7386 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.221e-06/1.409, allocations: 0 / 0.7386 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0127/1.422, allocations: 226.4 kB / 0.7388 GB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/1.424, allocations: 152.3 kB / 0.739 GB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/1.427, allocations: 0.4928 MB / 0.7394 GB, free: 112.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/1.427, allocations: 0.7648 MB / 0.7402 GB, free: 111.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001/1.428, allocations: 54.94 kB / 0.7402 GB, free: 111.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/1.429, allocations: 31.38 kB / 0.7403 GB, free: 111.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.816e-06/1.429, allocations: 0 / 0.7403 GB, free: 111.2 MB / 410.7 MB Notification: Performance of Templates: time 0.04923/1.478, allocations: 5.973 MB / 0.7461 GB, free: 105.3 MB / 410.7 MB