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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 1.925/1.925, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.989e-05, allocations: 4 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.08872, allocations: 48.7 MB / 321.8 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.466/6.555, allocations: 2.516 GB / 2.83 GB, free: 112.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/6.555, allocations: 92.44 kB / 2.83 GB, free: 112.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.166/8.721, allocations: 489.9 MB / 3.309 GB, free: 40.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.191e-06/8.721, allocations: 2.406 kB / 3.309 GB, free: 40.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.501e-05/8.721, allocations: 18.55 kB / 3.309 GB, free: 40.48 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.006435/8.728, allocations: 1.722 MB / 3.31 GB, free: 39.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/8.728, allocations: 9.312 kB / 3.31 GB, free: 39.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/8.731, allocations: 310.4 kB / 3.311 GB, free: 39.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/8.733, allocations: 0.6054 MB / 3.311 GB, free: 39.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/8.733, allocations: 117.5 kB / 3.311 GB, free: 39.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/8.733, allocations: 57.27 kB / 3.311 GB, free: 39.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/8.736, allocations: 1.189 MB / 3.313 GB, free: 39.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/8.737, allocations: 4.531 kB / 3.313 GB, free: 39.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/8.737, allocations: 28.98 kB / 3.313 GB, free: 39.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.239e-05/8.737, allocations: 43.66 kB / 3.313 GB, free: 39.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/8.74, allocations: 0.9696 MB / 3.314 GB, free: 39.21 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.007394/8.747, allocations: 5.604 MB / 3.319 GB, free: 35.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/8.75, allocations: 0.7353 MB / 3.32 GB, free: 35.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/8.75, allocations: 248.2 kB / 3.32 GB, free: 35.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04237/8.792, allocations: 18.76 MB / 3.338 GB, free: 23.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/8.793, allocations: 43.59 kB / 3.338 GB, free: 23.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.597e-06/8.793, allocations: 0 / 3.338 GB, free: 23.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.006906/8.799, allocations: 2.013 MB / 3.34 GB, free: 23.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/8.8, allocations: 163.7 kB / 3.341 GB, free: 23.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007832/8.8, allocations: 0.5261 MB / 3.341 GB, free: 22.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/8.8, allocations: 35.98 kB / 3.341 GB, free: 22.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/8.801, allocations: 391.8 kB / 3.341 GB, free: 22.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/8.801, allocations: 180.3 kB / 3.342 GB, free: 22.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/8.801, allocations: 15.31 kB / 3.342 GB, free: 22.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/8.801, allocations: 389.6 kB / 3.342 GB, free: 22.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/8.802, allocations: 239.9 kB / 3.342 GB, free: 22.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/8.802, allocations: 0.5889 MB / 3.343 GB, free: 21.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/8.803, allocations: 342.1 kB / 3.343 GB, free: 21.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.238e-06/8.803, allocations: 0 / 3.343 GB, free: 21.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001878/8.805, allocations: 0.8751 MB / 3.344 GB, free: 21.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/8.805, allocations: 6.562 kB / 3.344 GB, free: 21.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/8.805, allocations: 11.66 kB / 3.344 GB, free: 21.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/8.805, allocations: 68.58 kB / 3.344 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/8.807, allocations: 315.4 kB / 3.344 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/8.809, allocations: 1.985 MB / 3.346 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/8.81, allocations: 83.47 kB / 3.346 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/8.81, allocations: 41.09 kB / 3.346 GB, free: 19.89 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.0002307/8.81, allocations: 169.9 kB / 3.347 GB, free: 19.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/8.81, allocations: 67.94 kB / 3.347 GB, free: 19.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/8.814, allocations: 2.569 MB / 3.349 GB, free: 19.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/8.814, allocations: 38.12 kB / 3.349 GB, free: 19.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.238e-06/8.814, allocations: 3.953 kB / 3.349 GB, free: 19.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/8.814, allocations: 6.453 kB / 3.349 GB, free: 19.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004985/8.819, allocations: 3.742 MB / 3.353 GB, free: 18.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.427e-06/8.819, allocations: 4.281 kB / 3.353 GB, free: 18.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/8.82, allocations: 241.1 kB / 3.353 GB, free: 18.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/8.821, allocations: 86.09 kB / 3.353 GB, free: 18.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/8.821, allocations: 10.31 kB / 3.353 GB, free: 18.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/8.823, allocations: 1.998 MB / 3.355 GB, free: 33.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.767e-06/8.823, allocations: 0 / 3.355 GB, free: 33.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/8.826, allocations: 2.235 MB / 3.357 GB, free: 32.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/8.826, allocations: 326.4 kB / 3.358 GB, free: 32.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/8.827, allocations: 12.41 kB / 3.358 GB, free: 32.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000761/8.827, allocations: 62.34 kB / 3.358 GB, free: 32.53 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/8.827, allocations: 54.64 kB / 3.358 GB, free: 32.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/8.828, allocations: 18.53 kB / 3.358 GB, free: 32.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008937/8.828, allocations: 0.5404 MB / 3.358 GB, free: 32.42 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.97e-07/8.828, allocations: 3.656 kB / 3.358 GB, free: 32.42 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004859/8.833, allocations: 1.124 MB / 3.359 GB, free: 32.28 MB / 458.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.00766/8.841, allocations: 1.558 MB / 3.361 GB, free: 32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003062/8.844, allocations: 1.003 MB / 3.362 GB, free: 31.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/8.844, allocations: 7.219 kB / 3.362 GB, free: 31.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002792/8.847, allocations: 0.7498 MB / 3.363 GB, free: 31.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/8.851, allocations: 362.2 kB / 3.363 GB, free: 31.97 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005489/8.856, allocations: 1.902 MB / 3.365 GB, free: 31.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/8.858, allocations: 1.185 MB / 3.366 GB, free: 30.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00137/8.859, allocations: 448.7 kB / 3.366 GB, free: 30.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/8.859, allocations: 68.38 kB / 3.367 GB, free: 30.83 MB / 458.7 MB Notification: Performance of SimCode: time 2.425e-06/8.859, allocations: 0 / 3.367 GB, free: 30.83 MB / 458.7 MB Notification: Performance of Templates: time 0.07686/8.936, allocations: 41.88 MB / 3.407 GB, free: 28.82 MB / 458.7 MB