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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.621/1.621, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.921e-05/3.944e-05, allocations: 7.938 kB / 225 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2151, allocations: 38.76 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7774/0.9926, allocations: 357.2 MB / 0.6064 GB, free: 32.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.9929, allocations: 88.19 kB / 0.6065 GB, free: 32.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4124/1.405, allocations: 80.86 MB / 0.6855 GB, free: 108.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.503e-06/1.405, allocations: 4 kB / 0.6855 GB, free: 108.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/1.405, allocations: 7.828 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.0009625/1.406, allocations: 0.59 MB / 0.686 GB, free: 107.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.406, allocations: 11.97 kB / 0.6861 GB, free: 107.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/1.407, allocations: 43.61 kB / 0.6861 GB, free: 107.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/1.407, allocations: 286.3 kB / 0.6864 GB, free: 107.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/1.407, allocations: 16.56 kB / 0.6864 GB, free: 107.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/1.407, allocations: 27.95 kB / 0.6864 GB, free: 107.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/1.408, allocations: 286.6 kB / 0.6867 GB, free: 107.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/1.408, allocations: 11.98 kB / 0.6867 GB, free: 107.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/1.408, allocations: 11.94 kB / 0.6867 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/1.408, allocations: 8 kB / 0.6867 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/1.408, allocations: 180.8 kB / 0.6869 GB, free: 107 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/1.41, allocations: 1.439 MB / 0.6883 GB, free: 105.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/1.411, allocations: 159.1 kB / 0.6885 GB, free: 105.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/1.411, allocations: 89.22 kB / 0.6885 GB, free: 105.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/1.411, allocations: 4.188 kB / 0.6885 GB, free: 105.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/1.411, allocations: 42.7 kB / 0.6886 GB, free: 105.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.909e-06/1.411, allocations: 3.938 kB / 0.6886 GB, free: 105.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002649/1.413, allocations: 0.8522 MB / 0.6894 GB, free: 104.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/1.414, allocations: 55.41 kB / 0.6895 GB, free: 104.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/1.414, allocations: 234.8 kB / 0.6897 GB, free: 103.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/1.414, allocations: 29.7 kB / 0.6897 GB, free: 103.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/1.414, allocations: 230.4 kB / 0.6899 GB, free: 103.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/1.414, allocations: 94.64 kB / 0.69 GB, free: 103.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/1.414, allocations: 8 kB / 0.69 GB, free: 103.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.906e-05/1.414, allocations: 326.8 kB / 0.6904 GB, free: 103.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/1.414, allocations: 87.78 kB / 0.6904 GB, free: 103.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/1.415, allocations: 174.9 kB / 0.6906 GB, free: 102.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/1.415, allocations: 112 kB / 0.6907 GB, free: 102.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.413e-06/1.415, allocations: 4 kB / 0.6907 GB, free: 102.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008512/1.416, allocations: 346.9 kB / 0.691 GB, free: 102.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.416, allocations: 4.375 kB / 0.691 GB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.416, allocations: 8 kB / 0.6911 GB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003597/1.416, allocations: 65.61 kB / 0.6911 GB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/1.417, allocations: 71.86 kB / 0.6912 GB, free: 102.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/1.419, allocations: 2.662 MB / 0.6938 GB, free: 99.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/1.419, allocations: 16.38 kB / 0.6938 GB, free: 99.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/1.419, allocations: 19.98 kB / 0.6938 GB, free: 99.32 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.0001215/1.419, allocations: 124.9 kB / 0.6939 GB, free: 99.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/1.419, allocations: 31.56 kB / 0.694 GB, free: 99.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.901e-05/1.419, allocations: 41.92 kB / 0.694 GB, free: 99.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.502e-06/1.419, allocations: 3.984 kB / 0.694 GB, free: 99.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.419, allocations: 4 kB / 0.694 GB, free: 99.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006432/1.42, allocations: 0.5513 MB / 0.6946 GB, free: 98.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/1.421, allocations: 0.7024 MB / 0.6952 GB, free: 97.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/1.421, allocations: 4 kB / 0.6952 GB, free: 97.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/1.422, allocations: 39.92 kB / 0.6953 GB, free: 97.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002766/1.422, allocations: 52.78 kB / 0.6953 GB, free: 97.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/1.422, allocations: 12.03 kB / 0.6953 GB, free: 97.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/1.423, allocations: 1.393 MB / 0.6967 GB, free: 96.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.467e-06/1.423, allocations: 0 / 0.6967 GB, free: 96.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008579/1.424, allocations: 470.9 kB / 0.6972 GB, free: 95.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/1.424, allocations: 108.8 kB / 0.6973 GB, free: 95.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/1.424, allocations: 4 kB / 0.6973 GB, free: 95.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/1.425, allocations: 16.12 kB / 0.6973 GB, free: 95.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/1.425, allocations: 19.97 kB / 0.6973 GB, free: 95.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/1.425, allocations: 11.98 kB / 0.6973 GB, free: 95.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002165/1.425, allocations: 183.1 kB / 0.6975 GB, free: 95.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.63e-07/1.425, allocations: 0 / 0.6975 GB, free: 95.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006371/1.426, allocations: 100 kB / 0.6976 GB, free: 95.13 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.0002533/1.426, allocations: 170.9 kB / 0.6977 GB, free: 94.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000855/1.427, allocations: 447.4 kB / 0.6982 GB, free: 94.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.939e-06/1.427, allocations: 0 / 0.6982 GB, free: 94.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/1.427, allocations: 222.4 kB / 0.6984 GB, free: 94.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.428, allocations: 160.3 kB / 0.6985 GB, free: 94.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/1.429, allocations: 0.5186 MB / 0.699 GB, free: 93.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/1.43, allocations: 0.7687 MB / 0.6998 GB, free: 92.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/1.43, allocations: 27.44 kB / 0.6998 GB, free: 92.76 MB / 362.7 MB Notification: Performance of SimCode: time 1.784e-06/1.43, allocations: 0 / 0.6998 GB, free: 92.76 MB / 362.7 MB Notification: Performance of Templates: time 0.009886/1.44, allocations: 6.266 MB / 0.7059 GB, free: 86.51 MB / 362.7 MB