Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.033/2.033, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.724e-05, allocations: 4 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3861, allocations: 48.69 MB / 324.9 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.06151/0.4477, allocations: 31.76 MB / 356.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03133/0.4791, allocations: 16.08 MB / 372.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.4804, allocations: 27.75 kB / 372.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.4821, allocations: 358.2 kB / 373.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01593/0.4981, allocations: 3.517 MB / 376.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008549/0.5066, allocations: 1.842 MB / 378.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002756/0.5094, allocations: 0.9467 MB / 379.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007956/0.5103, allocations: 331.4 kB / 379.7 MB, free: 8.555 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01704/0.5273, allocations: 6.121 MB / 385.8 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02271/0.5501, allocations: 8.636 MB / 394.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02073/0.5709, allocations: 6.591 MB / 401.1 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003523/0.5744, allocations: 408 kB / 401.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006512/0.5751, allocations: 227.3 kB / 401.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004418/0.5756, allocations: 92 kB / 401.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009541/0.5852, allocations: 3.227 MB / 405 MB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5852, allocations: 0 / 405 MB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5852, allocations: 4 kB / 405 MB, free: 15.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.303e-05/0.5853, allocations: 0 / 405 MB, free: 15.24 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.005584/0.5909, allocations: 1.415 MB / 406.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.591, allocations: 15.97 kB / 406.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/0.5944, allocations: 302.7 kB / 406.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.5961, allocations: 0.5357 MB / 407.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.5964, allocations: 116.7 kB / 407.4 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.5966, allocations: 52 kB / 407.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004262/0.6009, allocations: 1.169 MB / 408.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/0.601, allocations: 4 kB / 408.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.6012, allocations: 28 kB / 408.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.6013, allocations: 45.28 kB / 408.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003288/0.6046, allocations: 0.8439 MB / 409.5 MB, free: 10.52 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.01129/0.6159, allocations: 5.494 MB / 415 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.6182, allocations: 0.5676 MB / 415.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1773/0.7955, allocations: 49.6 MB / 465.2 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.7956, allocations: 34.56 kB / 465.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.377e-06/0.7956, allocations: 8 kB / 465.2 MB, free: 12.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.008552/0.8042, allocations: 1.924 MB / 467.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.8044, allocations: 166.2 kB / 467.3 MB, free: 10.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.8056, allocations: 0.5344 MB / 467.9 MB, free: 9.945 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.8057, allocations: 33.7 kB / 467.9 MB, free: 9.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.8062, allocations: 410.9 kB / 468.3 MB, free: 9.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.8064, allocations: 165.7 kB / 468.5 MB, free: 9.336 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.8065, allocations: 16 kB / 468.5 MB, free: 9.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002466/0.8067, allocations: 374.8 kB / 468.8 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007095/0.8075, allocations: 221.9 kB / 469.1 MB, free: 8.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.8085, allocations: 0.5951 MB / 469.6 MB, free: 7.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009055/0.8094, allocations: 336.6 kB / 470 MB, free: 7.633 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.8095, allocations: 4 kB / 470 MB, free: 7.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002445/0.8119, allocations: 0.8871 MB / 470.9 MB, free: 6.734 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.812, allocations: 16.03 kB / 470.9 MB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.812, allocations: 12 kB / 470.9 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/0.8124, allocations: 64.77 kB / 471 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/0.8149, allocations: 287.6 kB / 471.2 MB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.8172, allocations: 1.999 MB / 473.2 MB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.8184, allocations: 63.91 kB / 473.3 MB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.8185, allocations: 47.98 kB / 473.3 MB, free: 4.086 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.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.000569/0.8191, allocations: 263.9 kB / 473.6 MB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.8193, allocations: 75.11 kB / 473.7 MB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.8234, allocations: 2.224 MB / 475.9 MB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-05/0.8234, allocations: 27.95 kB / 475.9 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8235, allocations: 0 / 475.9 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.8235, allocations: 3.984 kB / 475.9 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2709/1.094, allocations: 3.27 MB / 479.2 MB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.094, allocations: 1.422 kB / 479.2 MB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.096, allocations: 187.3 kB / 479.4 MB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000553/1.097, allocations: 87.84 kB / 479.5 MB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/1.097, allocations: 15.17 kB / 479.5 MB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/1.099, allocations: 1.992 MB / 481.5 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.099, allocations: 1.25 kB / 481.5 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003607/1.102, allocations: 1.992 MB / 483.5 MB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006656/1.103, allocations: 284.8 kB / 483.7 MB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/1.103, allocations: 11.09 kB / 483.8 MB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.104, allocations: 54.66 kB / 483.8 MB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.104, allocations: 34.7 kB / 483.8 MB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/1.104, allocations: 26.34 kB / 483.9 MB, free: 134.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001047/1.106, allocations: 0.4948 MB / 484.4 MB, free: 134 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.106, allocations: 0 / 484.4 MB, free: 134 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004141/1.11, allocations: 1.034 MB / 485.4 MB, free: 134 MB / 410.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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0072/1.117, allocations: 1.237 MB / 486.6 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003299/1.12, allocations: 0.9388 MB / 487.6 MB, free: 133.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.12, allocations: 0 / 487.6 MB, free: 133.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002773/1.123, allocations: 0.6633 MB / 488.2 MB, free: 133.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/1.127, allocations: 354.6 kB / 488.6 MB, free: 133.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007694/1.135, allocations: 2.695 MB / 491.3 MB, free: 131.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/1.137, allocations: 1.137 MB / 492.4 MB, free: 131 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00255/1.139, allocations: 456.8 kB / 492.9 MB, free: 131 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/1.14, allocations: 66.17 kB / 492.9 MB, free: 131 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/1.14, allocations: 0 / 492.9 MB, free: 131 MB / 410.7 MB Notification: Performance of Templates: time 0.09133/1.231, allocations: 35.02 MB / 0.5156 GB, free: 102.2 MB / 410.7 MB