Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(Modelica): time 1.578/1.578, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.124e-05, allocations: 4 kB / 225 MB, free: 2.777 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2077, allocations: 38.77 MB / 263.8 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6576/0.8654, allocations: 255.6 MB / 0.5072 GB, free: 146 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.8657, allocations: 90.19 kB / 0.5073 GB, free: 146 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2223/1.088, allocations: 83.96 MB / 0.5893 GB, free: 62.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.129e-06/1.088, allocations: 0 / 0.5893 GB, free: 62.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/1.088, allocations: 4 kB / 0.5893 GB, free: 62.52 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.0006243/1.089, allocations: 0.5149 MB / 0.5898 GB, free: 61.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.089, allocations: 8.031 kB / 0.5898 GB, free: 61.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/1.089, allocations: 39.62 kB / 0.5898 GB, free: 61.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/1.089, allocations: 290.4 kB / 0.5901 GB, free: 61.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/1.09, allocations: 16.56 kB / 0.5901 GB, free: 61.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/1.09, allocations: 24 kB / 0.5901 GB, free: 61.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/1.09, allocations: 312.3 kB / 0.5904 GB, free: 61.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/1.09, allocations: 0 / 0.5904 GB, free: 61.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/1.09, allocations: 12 kB / 0.5904 GB, free: 61.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.671e-06/1.09, allocations: 11.94 kB / 0.5904 GB, free: 61.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/1.091, allocations: 168.8 kB / 0.5906 GB, free: 61.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/1.092, allocations: 1.724 MB / 0.5923 GB, free: 59.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/1.093, allocations: 126.6 kB / 0.5924 GB, free: 59.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/1.093, allocations: 64.81 kB / 0.5925 GB, free: 58.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/1.093, allocations: 182.2 kB / 0.5926 GB, free: 58.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/1.093, allocations: 30.56 kB / 0.5927 GB, free: 58.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.453e-06/1.093, allocations: 3.938 kB / 0.5927 GB, free: 58.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001762/1.095, allocations: 0.6716 MB / 0.5933 GB, free: 57.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/1.095, allocations: 51.59 kB / 0.5934 GB, free: 57.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/1.095, allocations: 251.1 kB / 0.5936 GB, free: 57.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/1.095, allocations: 33.7 kB / 0.5937 GB, free: 57.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/1.095, allocations: 250.1 kB / 0.5939 GB, free: 57.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/1.095, allocations: 78.92 kB / 0.594 GB, free: 57.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/1.095, allocations: 4 kB / 0.594 GB, free: 57.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.979e-05/1.096, allocations: 326.8 kB / 0.5943 GB, free: 56.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/1.096, allocations: 67.78 kB / 0.5944 GB, free: 56.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/1.096, allocations: 195.2 kB / 0.5945 GB, free: 56.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/1.096, allocations: 100 kB / 0.5946 GB, free: 56.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.096, allocations: 3.938 kB / 0.5946 GB, free: 56.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005893/1.097, allocations: 294.3 kB / 0.5949 GB, free: 56.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.097, allocations: 7.938 kB / 0.5949 GB, free: 56.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/1.097, allocations: 4 kB / 0.5949 GB, free: 56.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001014/1.097, allocations: 24.86 kB / 0.595 GB, free: 56.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/1.097, allocations: 83.89 kB / 0.595 GB, free: 56.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009039/1.098, allocations: 1.296 MB / 0.5963 GB, free: 54.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/1.099, allocations: 16 kB / 0.5963 GB, free: 54.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/1.099, allocations: 16 kB / 0.5963 GB, free: 54.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.099, allocations: 133 kB / 0.5965 GB, free: 54.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/1.099, allocations: 31.7 kB / 0.5965 GB, free: 54.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/1.099, allocations: 196.2 kB / 0.5967 GB, free: 54.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/1.099, allocations: 7.984 kB / 0.5967 GB, free: 54.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.392e-06/1.099, allocations: 0 / 0.5967 GB, free: 54.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003295/1.1, allocations: 475.7 kB / 0.5971 GB, free: 53.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/1.101, allocations: 0.7566 MB / 0.5979 GB, free: 52.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.862e-06/1.101, allocations: 4.219 kB / 0.5979 GB, free: 52.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/1.101, allocations: 51.91 kB / 0.5979 GB, free: 52.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.563e-06/1.101, allocations: 7.938 kB / 0.5979 GB, free: 52.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/1.101, allocations: 11.95 kB / 0.5979 GB, free: 52.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.657e-06/1.101, allocations: 7.938 kB / 0.598 GB, free: 52.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.101, allocations: 4 kB / 0.598 GB, free: 52.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/1.102, allocations: 0.4904 MB / 0.5984 GB, free: 52.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.846e-05/1.102, allocations: 100.8 kB / 0.5985 GB, free: 52.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/1.102, allocations: 8 kB / 0.5985 GB, free: 52.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/1.102, allocations: 20.05 kB / 0.5986 GB, free: 52.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/1.102, allocations: 15.94 kB / 0.5986 GB, free: 52.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/1.102, allocations: 19.98 kB / 0.5986 GB, free: 52.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002167/1.103, allocations: 195.1 kB / 0.5988 GB, free: 51.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.103, allocations: 0 / 0.5988 GB, free: 51.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006498/1.103, allocations: 111.9 kB / 0.5989 GB, free: 51.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000341/1.104, allocations: 243 kB / 0.5991 GB, free: 51.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005182/1.104, allocations: 281.3 kB / 0.5994 GB, free: 51.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.343e-06/1.104, allocations: 4 kB / 0.5994 GB, free: 51.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/1.104, allocations: 69.23 kB / 0.5995 GB, free: 51.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009554/1.105, allocations: 157.1 kB / 0.5996 GB, free: 50.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008333/1.106, allocations: 473.1 kB / 0.6001 GB, free: 50.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/1.106, allocations: 0.7641 MB / 0.6008 GB, free: 49.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/1.106, allocations: 39.42 kB / 0.6008 GB, free: 49.63 MB / 362.7 MB Notification: Performance of SimCode: time 1.459e-06/1.106, allocations: 0 / 0.6008 GB, free: 49.63 MB / 362.7 MB Notification: Performance of Templates: time 0.009216/1.116, allocations: 5.891 MB / 0.6066 GB, free: 43.75 MB / 362.7 MB