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 2.066/2.066, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.512e-05, allocations: 4 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3721, allocations: 48.7 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.05438/0.4265, allocations: 31.75 MB / 356.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03222/0.4588, allocations: 16.08 MB / 372.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.4603, allocations: 23.81 kB / 372.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.4622, allocations: 366.2 kB / 373.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02834/0.4906, allocations: 3.513 MB / 376.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01813/0.5087, allocations: 1.85 MB / 378.5 MB, free: 9.812 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.5209, allocations: 0.9506 MB / 379.4 MB, free: 8.855 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.522, allocations: 323.4 kB / 379.7 MB, free: 8.539 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02929/0.5513, allocations: 6.125 MB / 385.9 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03307/0.5844, allocations: 8.648 MB / 394.5 MB, free: 9.754 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02902/0.6135, allocations: 6.599 MB / 401.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004257/0.6178, allocations: 408 kB / 401.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008396/0.6187, allocations: 215.4 kB / 401.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007066/0.6195, allocations: 92 kB / 401.8 MB, free: 2.449 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.6335, allocations: 3.223 MB / 405 MB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6335, allocations: 0 / 405 MB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.6336, allocations: 0 / 405 MB, free: 15.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.743e-05/0.6336, allocations: 4 kB / 405 MB, free: 15.21 MB / 346.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.008876/0.6425, allocations: 1.458 MB / 406.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/0.6426, allocations: 8.031 kB / 406.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/0.648, allocations: 298.7 kB / 406.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.6502, allocations: 0.5434 MB / 407.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.6506, allocations: 112.7 kB / 407.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003426/0.651, allocations: 59.98 kB / 407.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006693/0.6577, allocations: 1.22 MB / 408.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/0.6578, allocations: 3.938 kB / 408.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.658, allocations: 31.98 kB / 408.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.6582, allocations: 45.23 kB / 408.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006902/0.6651, allocations: 1.059 MB / 409.9 MB, free: 10.18 MB / 346.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.01744/0.6826, allocations: 5.599 MB / 415.5 MB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006085/0.6888, allocations: 0.8018 MB / 416.3 MB, free: 3.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.092/0.7808, allocations: 18.96 MB / 435.2 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.987e-05/0.781, allocations: 43.28 kB / 435.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 1.164e-05/0.781, allocations: 0 / 435.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.0172/0.7982, allocations: 2.359 MB / 437.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.7985, allocations: 162.6 kB / 437.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.8004, allocations: 0.5303 MB / 438.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002734/0.8008, allocations: 33.7 kB / 438.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007491/0.8015, allocations: 399 kB / 438.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005019/0.8021, allocations: 177.5 kB / 438.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.8022, allocations: 19.94 kB / 438.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004143/0.8027, allocations: 378.8 kB / 439.3 MB, free: 9.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.8046, allocations: 293.8 kB / 439.6 MB, free: 9.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/0.8069, allocations: 0.6429 MB / 440.2 MB, free: 8.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.809, allocations: 388.5 kB / 440.6 MB, free: 8.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.809, allocations: 4 kB / 440.6 MB, free: 8.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00494/0.814, allocations: 1 MB / 441.6 MB, free: 7.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.8141, allocations: 12 kB / 441.6 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/0.8141, allocations: 12 kB / 441.6 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005667/0.8147, allocations: 60.83 kB / 441.7 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/0.8184, allocations: 327.5 kB / 442 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.8216, allocations: 1.98 MB / 444 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.8236, allocations: 84.08 kB / 444.1 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.8238, allocations: 43.98 kB / 444.1 MB, free: 4.762 MB / 378.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.0008453/0.8246, allocations: 269.5 kB / 444.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.825, allocations: 75.11 kB / 444.4 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00818/0.8332, allocations: 2.606 MB / 447.1 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.582e-05/0.8333, allocations: 27.95 kB / 447.1 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.8333, allocations: 7.984 kB / 447.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.8334, allocations: 0 / 447.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.8453, allocations: 3.785 MB / 450.9 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/0.8454, allocations: 4 kB / 450.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003317/0.8488, allocations: 239.7 kB / 451.1 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000882/0.8497, allocations: 92.69 kB / 451.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/0.85, allocations: 15.94 kB / 451.2 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/0.8539, allocations: 1.991 MB / 453.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.854, allocations: 0 / 453.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008877/0.8629, allocations: 2.383 MB / 455.6 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.864, allocations: 330.8 kB / 455.9 MB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.8642, allocations: 15.95 kB / 455.9 MB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000966/0.8652, allocations: 56.02 kB / 456 MB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.8654, allocations: 48.48 kB / 456 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/0.8655, allocations: 19.98 kB / 456.1 MB, free: 8.512 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001171/0.8667, allocations: 0.5459 MB / 456.6 MB, free: 7.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8667, allocations: 4 kB / 456.6 MB, free: 7.961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004084/0.8708, allocations: 1.035 MB / 457.6 MB, free: 6.926 MB / 394.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.006928/0.8778, allocations: 1.232 MB / 458.9 MB, free: 5.695 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00435/0.8821, allocations: 1.097 MB / 460 MB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.8822, allocations: 0 / 460 MB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003095/0.8853, allocations: 0.8206 MB / 460.8 MB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/0.8888, allocations: 359.9 kB / 461.1 MB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/0.8959, allocations: 3.026 MB / 464.2 MB, free: 388 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.8971, allocations: 1.185 MB / 465.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001766/0.8989, allocations: 446 kB / 465.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.8993, allocations: 67.42 kB / 465.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8993, allocations: 0 / 465.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of Templates: time 0.3578/1.257, allocations: 35.84 MB / 0.4899 GB, free: 127.4 MB / 410.7 MB