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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.179e-05, allocations: 10.8 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3968, allocations: 54.86 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.05875/0.4556, allocations: 31.98 MB / 394.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03235/0.488, allocations: 16.22 MB / 411.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.4892, allocations: 27.75 kB / 411.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.4905, allocations: 358.2 kB / 411.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.5047, allocations: 3.562 MB / 415 MB, free: 9.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007414/0.5121, allocations: 1.881 MB / 416.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002539/0.5147, allocations: 0.9738 MB / 417.9 MB, free: 6.734 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008241/0.5155, allocations: 331.3 kB / 418.2 MB, free: 6.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01617/0.5317, allocations: 6.203 MB / 424.4 MB, free: 208 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0213/0.5531, allocations: 8.734 MB / 433.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02079/0.5739, allocations: 6.708 MB / 439.8 MB, free: 0.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003542/0.5775, allocations: 420 kB / 440.2 MB, free: 348 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007118/0.5783, allocations: 223.4 kB / 440.4 MB, free: 124 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004939/0.5788, allocations: 92 kB / 440.5 MB, free: 32 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.5906, allocations: 3.262 MB / 443.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5906, allocations: 0 / 443.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5906, allocations: 0 / 443.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.5907, allocations: 0 / 443.8 MB, free: 12.76 MB / 378.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.007314/0.598, allocations: 1.475 MB / 445.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.5981, allocations: 12.03 kB / 445.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.6031, allocations: 314.8 kB / 445.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.6051, allocations: 0.5433 MB / 446.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000241/0.6054, allocations: 112.7 kB / 446.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.6056, allocations: 63.98 kB / 446.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005689/0.6113, allocations: 1.204 MB / 447.5 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.6114, allocations: 7.938 kB / 447.5 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.6116, allocations: 27.98 kB / 447.5 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/0.6118, allocations: 45.28 kB / 447.6 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006312/0.6181, allocations: 1.051 MB / 448.6 MB, free: 7.707 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01334/0.6315, allocations: 5.618 MB / 454.3 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005448/0.637, allocations: 0.7992 MB / 455.1 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07178/0.7088, allocations: 19.07 MB / 474.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/0.7089, allocations: 46.52 kB / 474.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.755e-06/0.7089, allocations: 0 / 474.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.01107/0.72, allocations: 2.352 MB / 476.5 MB, free: 9.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.7201, allocations: 162.7 kB / 476.7 MB, free: 8.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.7212, allocations: 0.5226 MB / 477.2 MB, free: 8.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.7213, allocations: 37.7 kB / 477.2 MB, free: 8.312 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.7217, allocations: 425.5 kB / 477.7 MB, free: 7.895 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.722, allocations: 189.4 kB / 477.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.722, allocations: 16 kB / 477.9 MB, free: 7.691 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.7222, allocations: 346.8 kB / 478.2 MB, free: 7.344 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.7234, allocations: 289.8 kB / 478.5 MB, free: 7.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.7248, allocations: 0.6467 MB / 479.1 MB, free: 6.242 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.7262, allocations: 380.5 kB / 479.5 MB, free: 5.875 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.7262, allocations: 7.953 kB / 479.5 MB, free: 5.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003274/0.7295, allocations: 0.9733 MB / 480.5 MB, free: 4.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.7296, allocations: 13.44 kB / 480.5 MB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.7296, allocations: 12 kB / 480.5 MB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.73, allocations: 60.83 kB / 480.6 MB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/0.7327, allocations: 319.6 kB / 480.9 MB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.7349, allocations: 1.992 MB / 482.9 MB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.7362, allocations: 87.94 kB / 483 MB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.7364, allocations: 47.98 kB / 483 MB, free: 2.207 MB / 410.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.0005934/0.737, allocations: 265.5 kB / 483.3 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.7372, allocations: 71.16 kB / 483.3 MB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005323/0.7425, allocations: 2.594 MB / 485.9 MB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-05/0.7426, allocations: 43.94 kB / 486 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7427, allocations: 0 / 486 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.7427, allocations: 3.984 kB / 486 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007517/0.7502, allocations: 3.773 MB / 489.7 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.7503, allocations: 0 / 489.7 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/0.7525, allocations: 247.7 kB / 490 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000539/0.7531, allocations: 88.69 kB / 490.1 MB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-05/0.7532, allocations: 12 kB / 490.1 MB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.7553, allocations: 2.011 MB / 492.1 MB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.7553, allocations: 0 / 492.1 MB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/0.7605, allocations: 2.383 MB / 494.5 MB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/0.7612, allocations: 330.8 kB / 494.8 MB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.7614, allocations: 15.98 kB / 494.8 MB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009559/0.7624, allocations: 59.95 kB / 494.9 MB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.7626, allocations: 52.47 kB / 494.9 MB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-05/0.7627, allocations: 16 kB / 494.9 MB, free: 5.957 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001118/0.7638, allocations: 0.5459 MB / 495.5 MB, free: 5.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7638, allocations: 4 kB / 495.5 MB, free: 5.406 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004086/0.7679, allocations: 1.046 MB / 496.5 MB, free: 4.359 MB / 426.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.006756/0.7747, allocations: 1.205 MB / 497.7 MB, free: 3.152 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004099/0.7789, allocations: 1.097 MB / 498.8 MB, free: 2.062 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.7789, allocations: 4 kB / 498.8 MB, free: 2.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002788/0.7817, allocations: 0.8051 MB / 499.6 MB, free: 1.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/0.7851, allocations: 375.6 kB / 0.4883 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3029/1.088, allocations: 3.055 MB / 0.4913 GB, free: 125.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.089, allocations: 1.181 MB / 0.4924 GB, free: 125.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/1.09, allocations: 71.41 kB / 0.4925 GB, free: 125.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.815e-06/1.09, allocations: 0 / 0.4925 GB, free: 125.1 MB / 426.7 MB Notification: Performance of Templates: time 0.07483/1.164, allocations: 40.26 MB / 0.5318 GB, free: 92.35 MB / 426.7 MB