Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.069/2.069, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.37e-05, allocations: 7.984 kB / 273.1 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.08973, allocations: 48.69 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.214/6.304, allocations: 2.516 GB / 2.83 GB, free: 119.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/6.305, allocations: 89.45 kB / 2.83 GB, free: 119.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.206/8.511, allocations: 489.9 MB / 3.309 GB, free: 44.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.447e-06/8.511, allocations: 1.5 kB / 3.309 GB, free: 44.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.784e-05/8.511, allocations: 29.73 kB / 3.309 GB, free: 44.4 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006194/8.517, allocations: 1.711 MB / 3.31 GB, free: 43.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/8.517, allocations: 8.938 kB / 3.31 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/8.521, allocations: 313.9 kB / 3.311 GB, free: 43.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/8.522, allocations: 0.6071 MB / 3.311 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/8.523, allocations: 110.4 kB / 3.311 GB, free: 43.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/8.523, allocations: 64.56 kB / 3.311 GB, free: 43.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/8.526, allocations: 1.194 MB / 3.313 GB, free: 42.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/8.526, allocations: 5.562 kB / 3.313 GB, free: 42.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/8.526, allocations: 27.44 kB / 3.313 GB, free: 42.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-05/8.527, allocations: 41.75 kB / 3.313 GB, free: 42.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/8.53, allocations: 0.9719 MB / 3.314 GB, free: 42.99 MB / 442.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.006934/8.537, allocations: 5.596 MB / 3.319 GB, free: 39.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/8.539, allocations: 0.7342 MB / 3.32 GB, free: 39.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/8.539, allocations: 246.8 kB / 3.32 GB, free: 39.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03863/8.578, allocations: 18.76 MB / 3.338 GB, free: 27.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/8.578, allocations: 44.58 kB / 3.338 GB, free: 27.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.323e-06/8.578, allocations: 0 / 3.338 GB, free: 27.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.00648/8.585, allocations: 2.013 MB / 3.34 GB, free: 27.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/8.585, allocations: 157.8 kB / 3.341 GB, free: 26.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/8.586, allocations: 0.5312 MB / 3.341 GB, free: 26.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/8.586, allocations: 40.45 kB / 3.341 GB, free: 26.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/8.586, allocations: 426.3 kB / 3.341 GB, free: 26.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/8.586, allocations: 176.5 kB / 3.342 GB, free: 26.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/8.586, allocations: 12.88 kB / 3.342 GB, free: 26.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.073e-05/8.586, allocations: 353.5 kB / 3.342 GB, free: 25.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/8.587, allocations: 238.6 kB / 3.342 GB, free: 25.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/8.587, allocations: 0.5876 MB / 3.343 GB, free: 25.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/8.588, allocations: 333.4 kB / 3.343 GB, free: 25.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.726e-06/8.588, allocations: 3.844 kB / 3.343 GB, free: 25.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001882/8.59, allocations: 0.846 MB / 3.344 GB, free: 25.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/8.59, allocations: 11.38 kB / 3.344 GB, free: 25.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/8.59, allocations: 11.34 kB / 3.344 GB, free: 25.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005579/8.591, allocations: 64.3 kB / 3.344 GB, free: 25.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/8.594, allocations: 313 kB / 3.344 GB, free: 25.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/8.596, allocations: 1.986 MB / 3.346 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/8.598, allocations: 85.64 kB / 3.346 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/8.598, allocations: 39.06 kB / 3.346 GB, free: 23.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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: 1 * 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: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003132/8.598, allocations: 170.5 kB / 3.347 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/8.599, allocations: 67.69 kB / 3.347 GB, free: 23.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/8.602, allocations: 2.565 MB / 3.349 GB, free: 23.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.653e-05/8.602, allocations: 39.62 kB / 3.349 GB, free: 23.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.426e-06/8.602, allocations: 0 / 3.349 GB, free: 23.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/8.602, allocations: 3.75 kB / 3.349 GB, free: 23.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00494/8.607, allocations: 3.748 MB / 3.353 GB, free: 22.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.053e-06/8.607, allocations: 0.875 kB / 3.353 GB, free: 22.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/8.609, allocations: 244.9 kB / 3.353 GB, free: 22.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/8.609, allocations: 86.09 kB / 3.353 GB, free: 22.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/8.609, allocations: 14.16 kB / 3.353 GB, free: 22.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/8.611, allocations: 1.992 MB / 3.355 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/8.611, allocations: 0 / 3.355 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/8.614, allocations: 2.236 MB / 3.357 GB, free: 20.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/8.614, allocations: 331.8 kB / 3.358 GB, free: 20.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/8.615, allocations: 13.91 kB / 3.358 GB, free: 20.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008287/8.615, allocations: 62.98 kB / 3.358 GB, free: 20.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/8.616, allocations: 46.34 kB / 3.358 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/8.616, allocations: 26.69 kB / 3.358 GB, free: 20.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008468/8.616, allocations: 0.54 MB / 3.358 GB, free: 20.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.23e-07/8.616, allocations: 0 / 3.358 GB, free: 20.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004701/8.621, allocations: 1.125 MB / 3.359 GB, free: 19.97 MB / 442.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.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007154/8.628, allocations: 1.569 MB / 3.361 GB, free: 19.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002383/8.631, allocations: 0.9916 MB / 3.362 GB, free: 19.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/8.631, allocations: 3.344 kB / 3.362 GB, free: 19.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/8.632, allocations: 0.7394 MB / 3.363 GB, free: 19.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/8.635, allocations: 355.4 kB / 3.363 GB, free: 19.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/8.638, allocations: 1.95 MB / 3.365 GB, free: 19.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/8.639, allocations: 1.186 MB / 3.366 GB, free: 18.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/8.639, allocations: 70.66 kB / 3.366 GB, free: 18.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.658e-06/8.639, allocations: 0 / 3.366 GB, free: 18.5 MB / 442.7 MB Notification: Performance of Templates: time 0.06035/8.699, allocations: 41.73 MB / 3.407 GB, free: 15.37 MB / 442.7 MB