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.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.441e-05/4.463e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3425, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.477/6.819, allocations: 2.794 GB / 3.167 GB, free: 32.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/6.82, allocations: 91.94 kB / 3.167 GB, free: 32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.309/9.128, allocations: 0.491 GB / 3.658 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.947e-06/9.128, allocations: 0 / 3.658 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.219e-05/9.128, allocations: 23.8 kB / 3.658 GB, free: 57.07 MB / 0.5105 GB 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.006163/9.134, allocations: 1.694 MB / 3.66 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/9.134, allocations: 11.53 kB / 3.66 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/9.137, allocations: 225.2 kB / 3.66 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/9.138, allocations: 0.5812 MB / 3.661 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/9.138, allocations: 108.7 kB / 3.661 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/9.139, allocations: 63.12 kB / 3.661 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/9.141, allocations: 1.075 MB / 3.662 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/9.141, allocations: 7.438 kB / 3.662 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/9.141, allocations: 27.16 kB / 3.662 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.911e-05/9.141, allocations: 50.52 kB / 3.662 GB, free: 55.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/9.144, allocations: 0.8077 MB / 3.663 GB, free: 55.69 MB / 0.5105 GB 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.006783/9.151, allocations: 5.553 MB / 3.668 GB, free: 51.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/9.152, allocations: 0.543 MB / 3.669 GB, free: 51.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/9.152, allocations: 198.7 kB / 3.669 GB, free: 51.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1066/9.259, allocations: 47.36 MB / 3.715 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/9.259, allocations: 45.84 kB / 3.715 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 3.726e-06/9.259, allocations: 0 / 3.715 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.007431/9.267, allocations: 2.014 MB / 3.717 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/9.267, allocations: 189.6 kB / 3.717 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008873/9.268, allocations: 0.5557 MB / 3.718 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/9.268, allocations: 34.73 kB / 3.718 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/9.268, allocations: 406.6 kB / 3.718 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/9.268, allocations: 156.2 kB / 3.719 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/9.268, allocations: 13.34 kB / 3.719 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001231/9.268, allocations: 378.1 kB / 3.719 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/9.269, allocations: 220.8 kB / 3.719 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/9.269, allocations: 0.572 MB / 3.72 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/9.27, allocations: 329.1 kB / 3.72 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.717e-06/9.27, allocations: 9.344 kB / 3.72 GB, free: 20.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001833/9.272, allocations: 0.8473 MB / 3.721 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/9.272, allocations: 12.59 kB / 3.721 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/9.272, allocations: 14.33 kB / 3.721 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004176/9.276, allocations: 270.4 kB / 3.721 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/9.278, allocations: 281.8 kB / 3.721 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/9.28, allocations: 2.015 MB / 3.723 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/9.282, allocations: 63.33 kB / 3.723 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/9.282, allocations: 37.72 kB / 3.723 GB, free: 34.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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.0002702/9.282, allocations: 164.7 kB / 3.724 GB, free: 34.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/9.282, allocations: 75.33 kB / 3.724 GB, free: 34.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/9.285, allocations: 2.019 MB / 3.726 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/9.285, allocations: 22.8 kB / 3.726 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/9.285, allocations: 0 / 3.726 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.75e-06/9.285, allocations: 3.969 kB / 3.726 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/9.29, allocations: 2.989 MB / 3.729 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/9.29, allocations: 3.703 kB / 3.729 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/9.291, allocations: 180.3 kB / 3.729 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/9.293, allocations: 298.5 kB / 3.729 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/9.294, allocations: 16.39 kB / 3.729 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/9.296, allocations: 2.082 MB / 3.731 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.865e-06/9.296, allocations: 3.562 kB / 3.731 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/9.299, allocations: 1.944 MB / 3.733 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006379/9.299, allocations: 292.1 kB / 3.733 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/9.3, allocations: 10.5 kB / 3.733 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/9.3, allocations: 33.92 kB / 3.733 GB, free: 31.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/9.3, allocations: 32.98 kB / 3.733 GB, free: 31.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/9.3, allocations: 20.58 kB / 3.733 GB, free: 31.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009777/9.301, allocations: 0.5555 MB / 3.734 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.45e-07/9.301, allocations: 0 / 3.734 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005136/9.307, allocations: 1.131 MB / 3.735 GB, free: 31.21 MB / 0.5261 GB 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.008356/9.315, allocations: 1.576 MB / 3.737 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002486/9.318, allocations: 0.8721 MB / 3.737 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.377e-06/9.318, allocations: 1.312 kB / 3.737 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/9.319, allocations: 0.6222 MB / 3.738 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/9.322, allocations: 381.5 kB / 3.738 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/9.325, allocations: 1.608 MB / 3.74 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009508/9.326, allocations: 1.117 MB / 3.741 GB, free: 29.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001242/9.327, allocations: 347.5 kB / 3.741 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/9.328, allocations: 60.75 kB / 3.741 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.886e-06/9.328, allocations: 0 / 3.741 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.07502/9.403, allocations: 41.5 MB / 3.782 GB, free: 17.7 MB / 0.5261 GB