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.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.637/1.637, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.332e-05, allocations: 4 kB / 225 MB, free: 2.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.214, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7749/0.9889, allocations: 357.2 MB / 0.6064 GB, free: 32.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.9893, allocations: 87.89 kB / 0.6065 GB, free: 32.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4169/1.406, allocations: 80.86 MB / 0.6855 GB, free: 108.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.1e-06/1.406, allocations: 0 / 0.6855 GB, free: 108.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.114e-05/1.406, allocations: 8 kB / 0.6855 GB, free: 108.5 MB / 362.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.0009399/1.407, allocations: 0.5884 MB / 0.6861 GB, free: 107.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.407, allocations: 11.97 kB / 0.6861 GB, free: 107.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/1.408, allocations: 47.61 kB / 0.6861 GB, free: 107.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/1.408, allocations: 276.8 kB / 0.6864 GB, free: 107.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/1.408, allocations: 16.56 kB / 0.6864 GB, free: 107.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/1.408, allocations: 27.95 kB / 0.6864 GB, free: 107.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/1.409, allocations: 298.6 kB / 0.6867 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/1.409, allocations: 0 / 0.6867 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/1.409, allocations: 15.94 kB / 0.6867 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.864e-06/1.409, allocations: 7.938 kB / 0.6867 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/1.409, allocations: 184.8 kB / 0.6869 GB, free: 106.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/1.411, allocations: 1.434 MB / 0.6883 GB, free: 105.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/1.411, allocations: 163.1 kB / 0.6885 GB, free: 105.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/1.411, allocations: 89.22 kB / 0.6886 GB, free: 105.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/1.411, allocations: 4.188 kB / 0.6886 GB, free: 105.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/1.411, allocations: 42.64 kB / 0.6886 GB, free: 105.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.928e-06/1.411, allocations: 0 / 0.6886 GB, free: 105.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002501/1.414, allocations: 0.8549 MB / 0.6894 GB, free: 104.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/1.414, allocations: 51.41 kB / 0.6895 GB, free: 104.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/1.414, allocations: 230.8 kB / 0.6897 GB, free: 103.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/1.414, allocations: 37.7 kB / 0.6897 GB, free: 103.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/1.414, allocations: 175.6 kB / 0.6899 GB, free: 103.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/1.414, allocations: 94.73 kB / 0.69 GB, free: 103.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/1.415, allocations: 4 kB / 0.69 GB, free: 103.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/1.415, allocations: 342.8 kB / 0.6903 GB, free: 103.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/1.415, allocations: 87.72 kB / 0.6904 GB, free: 103.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/1.415, allocations: 170.9 kB / 0.6906 GB, free: 102.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/1.415, allocations: 119.9 kB / 0.6907 GB, free: 102.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-06/1.415, allocations: 0 / 0.6907 GB, free: 102.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008109/1.416, allocations: 358.8 kB / 0.691 GB, free: 102.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.416, allocations: 11.94 kB / 0.691 GB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.062e-06/1.416, allocations: 0 / 0.691 GB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/1.416, allocations: 65.66 kB / 0.6911 GB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/1.417, allocations: 76.14 kB / 0.6912 GB, free: 102.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/1.419, allocations: 2.654 MB / 0.6938 GB, free: 99.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/1.419, allocations: 20.06 kB / 0.6938 GB, free: 99.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/1.419, allocations: 15.98 kB / 0.6938 GB, free: 99.34 MB / 362.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.0001136/1.419, allocations: 130 kB / 0.6939 GB, free: 99.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/1.419, allocations: 31.8 kB / 0.694 GB, free: 99.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.719e-05/1.42, allocations: 41.89 kB / 0.694 GB, free: 99.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.42, allocations: 4 kB / 0.694 GB, free: 99.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.42, allocations: 4 kB / 0.694 GB, free: 99.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006065/1.42, allocations: 0.5512 MB / 0.6946 GB, free: 98.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/1.421, allocations: 0.7013 MB / 0.6952 GB, free: 97.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.712e-06/1.421, allocations: 0 / 0.6952 GB, free: 97.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/1.422, allocations: 48.02 kB / 0.6953 GB, free: 97.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/1.422, allocations: 56.69 kB / 0.6953 GB, free: 97.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/1.422, allocations: 8 kB / 0.6953 GB, free: 97.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/1.423, allocations: 1.385 MB / 0.6967 GB, free: 96.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.834e-06/1.423, allocations: 4.031 kB / 0.6967 GB, free: 96.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008048/1.424, allocations: 474.9 kB / 0.6972 GB, free: 95.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/1.424, allocations: 104.8 kB / 0.6973 GB, free: 95.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/1.424, allocations: 4 kB / 0.6973 GB, free: 95.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/1.424, allocations: 12 kB / 0.6973 GB, free: 95.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/1.425, allocations: 20.03 kB / 0.6973 GB, free: 95.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/1.425, allocations: 11.98 kB / 0.6973 GB, free: 95.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002044/1.425, allocations: 179.1 kB / 0.6975 GB, free: 95.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.06e-07/1.425, allocations: 0 / 0.6975 GB, free: 95.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006191/1.425, allocations: 104 kB / 0.6976 GB, free: 95.15 MB / 362.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.0002517/1.426, allocations: 183.8 kB / 0.6977 GB, free: 94.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008093/1.427, allocations: 447.2 kB / 0.6982 GB, free: 94.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/1.427, allocations: 4 kB / 0.6982 GB, free: 94.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003991/1.427, allocations: 221.6 kB / 0.6984 GB, free: 94.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009741/1.428, allocations: 160.5 kB / 0.6985 GB, free: 94.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/1.429, allocations: 497.3 kB / 0.699 GB, free: 93.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/1.429, allocations: 0.7648 MB / 0.6998 GB, free: 92.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004289/1.43, allocations: 54.94 kB / 0.6998 GB, free: 92.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/1.43, allocations: 31.44 kB / 0.6998 GB, free: 92.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.854e-06/1.43, allocations: 0 / 0.6998 GB, free: 92.75 MB / 362.7 MB Notification: Performance of Templates: time 0.01439/1.444, allocations: 5.959 MB / 0.7057 GB, free: 86.81 MB / 362.7 MB