Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.356e-05, allocations: 3.984 kB / 255.3 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08452/0.08458, allocations: 44.5 MB / 299.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.964/6.049, allocations: 2.576 GB / 2.869 GB, free: 8.875 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/6.049, allocations: 80.83 kB / 2.869 GB, free: 8.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894/7.944, allocations: 429.7 MB / 3.288 GB, free: 45.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.7e-06/7.944, allocations: 3.844 kB / 3.288 GB, free: 45.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/7.944, allocations: 10.16 kB / 3.288 GB, free: 45.85 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00413/7.948, allocations: 1.207 MB / 3.29 GB, free: 45.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/7.948, allocations: 10.03 kB / 3.29 GB, free: 45.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/7.95, allocations: 159 kB / 3.29 GB, free: 45.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/7.95, allocations: 320.5 kB / 3.29 GB, free: 44.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/7.95, allocations: 19.75 kB / 3.29 GB, free: 44.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/7.95, allocations: 35.48 kB / 3.29 GB, free: 44.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/7.952, allocations: 0.5441 MB / 3.291 GB, free: 44.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/7.952, allocations: 0.6875 kB / 3.291 GB, free: 44.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/7.952, allocations: 15.19 kB / 3.291 GB, free: 44.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/7.952, allocations: 15.61 kB / 3.291 GB, free: 44.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000809/7.953, allocations: 335.3 kB / 3.291 GB, free: 44.41 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/7.956, allocations: 2.552 MB / 3.293 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/7.957, allocations: 289.2 kB / 3.294 GB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/7.957, allocations: 112.7 kB / 3.294 GB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07166/8.029, allocations: 30.89 MB / 3.324 GB, free: 23.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/8.029, allocations: 34 kB / 3.324 GB, free: 23.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 3.391e-06/8.029, allocations: 0 / 3.324 GB, free: 23.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.004119/8.033, allocations: 1.092 MB / 3.325 GB, free: 22.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/8.033, allocations: 54.75 kB / 3.325 GB, free: 22.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/8.033, allocations: 234.1 kB / 3.325 GB, free: 22.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/8.033, allocations: 37.7 kB / 3.325 GB, free: 22.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/8.034, allocations: 242.1 kB / 3.326 GB, free: 22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.099e-05/8.034, allocations: 108.1 kB / 3.326 GB, free: 21.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/8.034, allocations: 12 kB / 3.326 GB, free: 21.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/8.034, allocations: 326.4 kB / 3.326 GB, free: 21.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/8.034, allocations: 92.53 kB / 3.326 GB, free: 21.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/8.034, allocations: 208.8 kB / 3.326 GB, free: 21.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/8.035, allocations: 126.5 kB / 3.326 GB, free: 21.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.93e-06/8.035, allocations: 0 / 3.326 GB, free: 21.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009403/8.036, allocations: 397.6 kB / 3.327 GB, free: 20.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/8.036, allocations: 8 kB / 3.327 GB, free: 20.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/8.036, allocations: 4 kB / 3.327 GB, free: 20.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/8.036, allocations: 61.2 kB / 3.327 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/8.036, allocations: 87.52 kB / 3.327 GB, free: 20.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/8.038, allocations: 2.429 MB / 3.329 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/8.038, allocations: 27.66 kB / 3.329 GB, free: 18.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/8.038, allocations: 20 kB / 3.329 GB, free: 17.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000154/8.039, allocations: 136.9 kB / 3.33 GB, free: 17.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/8.039, allocations: 31.66 kB / 3.33 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/8.04, allocations: 0.8631 MB / 3.33 GB, free: 17.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/8.04, allocations: 4 kB / 3.33 GB, free: 17.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.163e-06/8.04, allocations: 0 / 3.33 GB, free: 17.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009319/8.041, allocations: 1.042 MB / 3.331 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/8.043, allocations: 1.487 MB / 3.333 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.629e-06/8.043, allocations: 4 kB / 3.333 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/8.043, allocations: 55.16 kB / 3.333 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/8.044, allocations: 70.95 kB / 3.333 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/8.044, allocations: 10.62 kB / 3.333 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003382/8.044, allocations: 0.5948 MB / 3.334 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.539e-06/8.044, allocations: 0 / 3.334 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/8.045, allocations: 0.8176 MB / 3.334 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/8.045, allocations: 139.1 kB / 3.335 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/8.045, allocations: 8 kB / 3.335 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/8.046, allocations: 39.09 kB / 3.335 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/8.046, allocations: 26.06 kB / 3.335 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/8.046, allocations: 15.19 kB / 3.335 GB, free: 12.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002797/8.046, allocations: 228.2 kB / 3.335 GB, free: 12.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.97e-07/8.046, allocations: 4 kB / 3.335 GB, free: 12.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003733/8.05, allocations: 0.8935 MB / 3.336 GB, free: 11.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.00671/8.057, allocations: 1.334 MB / 3.337 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/8.058, allocations: 482.9 kB / 3.337 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.359e-06/8.058, allocations: 0 / 3.337 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/8.058, allocations: 242.9 kB / 3.338 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/8.06, allocations: 174.1 kB / 3.338 GB, free: 9.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/8.061, allocations: 0.762 MB / 3.339 GB, free: 9.176 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/8.061, allocations: 0.8303 MB / 3.339 GB, free: 8.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/8.062, allocations: 39.38 kB / 3.339 GB, free: 8.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.147e-06/8.062, allocations: 0 / 3.339 GB, free: 8.34 MB / 410.7 MB Notification: Performance of Templates: time 0.04622/8.108, allocations: 26.1 MB / 3.365 GB, free: 0.8203 MB / 426.7 MB