Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.406e-05, allocations: 4 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3709, allocations: 48.7 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.05438/0.4254, allocations: 31.76 MB / 356.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03142/0.4568, allocations: 16.07 MB / 372.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.4582, allocations: 27.75 kB / 372.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.4596, allocations: 366.2 kB / 373.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0162/0.4759, allocations: 3.517 MB / 376.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00817/0.4841, allocations: 1.846 MB / 378.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.487, allocations: 0.9779 MB / 379.4 MB, free: 8.836 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007755/0.4878, allocations: 323.3 kB / 379.8 MB, free: 8.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01725/0.5051, allocations: 6.105 MB / 385.9 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02202/0.5272, allocations: 8.624 MB / 394.5 MB, free: 9.777 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01959/0.5468, allocations: 6.446 MB / 400.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002829/0.5497, allocations: 408 kB / 401.3 MB, free: 2.926 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004878/0.5502, allocations: 215.4 kB / 401.5 MB, free: 2.715 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004055/0.5507, allocations: 95.94 kB / 401.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009213/0.5599, allocations: 3.134 MB / 404.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5599, allocations: 0 / 404.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.56, allocations: 0 / 404.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.56, allocations: 0 / 404.8 MB, free: 15.48 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.005447/0.5654, allocations: 1.376 MB / 406.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.5655, allocations: 16.02 kB / 406.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.5678, allocations: 202.8 kB / 406.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.5693, allocations: 0.5278 MB / 406.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.5695, allocations: 116.6 kB / 407 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.5697, allocations: 56 kB / 407.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/0.5727, allocations: 1.064 MB / 408.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.5728, allocations: 7.938 kB / 408.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.5729, allocations: 28 kB / 408.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.707e-05/0.573, allocations: 44.98 kB / 408.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.5757, allocations: 0.8154 MB / 409 MB, free: 11.02 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.01029/0.5861, allocations: 5.538 MB / 414.6 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.5882, allocations: 0.523 MB / 415.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1862/0.7745, allocations: 53.93 MB / 469 MB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.342e-05/0.7746, allocations: 38.56 kB / 469 MB, free: 8.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 6.552e-06/0.7746, allocations: 0 / 469 MB, free: 8.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.009601/0.7842, allocations: 2.11 MB / 471.1 MB, free: 5.953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.7844, allocations: 196 kB / 471.3 MB, free: 5.719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.7854, allocations: 0.5422 MB / 471.9 MB, free: 5.172 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.7855, allocations: 41.64 kB / 471.9 MB, free: 5.125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.7859, allocations: 414.9 kB / 472.3 MB, free: 4.715 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.7862, allocations: 165.7 kB / 472.5 MB, free: 4.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.7863, allocations: 19.94 kB / 472.5 MB, free: 4.531 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.7865, allocations: 378.8 kB / 472.9 MB, free: 4.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000651/0.7871, allocations: 229.9 kB / 473.1 MB, free: 3.926 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009638/0.7881, allocations: 0.605 MB / 473.7 MB, free: 3.133 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/0.789, allocations: 347.6 kB / 474 MB, free: 2.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.789, allocations: 4 kB / 474.1 MB, free: 2.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002388/0.7914, allocations: 0.9035 MB / 475 MB, free: 1.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.7915, allocations: 15.95 kB / 475 MB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.7915, allocations: 12 kB / 475 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005463/0.797, allocations: 273.2 kB / 475.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.7995, allocations: 291.6 kB / 475.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2754/1.075, allocations: 2.02 MB / 477.6 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.076, allocations: 64.81 kB / 477.6 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-05/1.076, allocations: 43.27 kB / 477.7 MB, free: 137.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.000547/1.077, allocations: 267.5 kB / 477.9 MB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/1.077, allocations: 72.23 kB / 478 MB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/1.081, allocations: 2.02 MB / 480 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.123e-05/1.081, allocations: 25.02 kB / 480 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.081, allocations: 2.344 kB / 480 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.081, allocations: 5.719 kB / 480 MB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/1.086, allocations: 2.976 MB / 483 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.675e-05/1.086, allocations: 1.375 kB / 483 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.088, allocations: 183.4 kB / 483.2 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00303/1.091, allocations: 303.6 kB / 483.5 MB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/1.091, allocations: 13.86 kB / 483.5 MB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/1.093, allocations: 2.086 MB / 485.6 MB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.093, allocations: 0.875 kB / 485.6 MB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003454/1.097, allocations: 1.956 MB / 487.6 MB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006583/1.097, allocations: 287.8 kB / 487.8 MB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.098, allocations: 8.5 kB / 487.8 MB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008302/1.099, allocations: 32.72 kB / 487.9 MB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.099, allocations: 29.31 kB / 487.9 MB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/1.099, allocations: 22.31 kB / 487.9 MB, free: 131.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001123/1.1, allocations: 0.5578 MB / 488.5 MB, free: 131.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.1, allocations: 1.594 kB / 488.5 MB, free: 131.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004158/1.104, allocations: 1.036 MB / 489.5 MB, free: 131.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006737/1.111, allocations: 1.191 MB / 490.7 MB, free: 130.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003239/1.114, allocations: 0.9138 MB / 491.6 MB, free: 130.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.114, allocations: 1.188 kB / 491.6 MB, free: 130.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/1.116, allocations: 0.6282 MB / 492.3 MB, free: 130.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/1.12, allocations: 361.8 kB / 492.6 MB, free: 130.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/1.124, allocations: 2.563 MB / 495.2 MB, free: 128.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008849/1.125, allocations: 1.115 MB / 496.3 MB, free: 128.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001519/1.127, allocations: 353.4 kB / 496.6 MB, free: 128.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/1.127, allocations: 66.11 kB / 496.7 MB, free: 128.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/1.127, allocations: 3.391 kB / 496.7 MB, free: 128.1 MB / 410.7 MB Notification: Performance of Templates: time 0.08007/1.207, allocations: 34.33 MB / 0.5186 GB, free: 97.93 MB / 410.7 MB