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.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.018e-05, allocations: 0 / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3646, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.8/7.164, allocations: 2.796 GB / 3.169 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/7.165, allocations: 94.45 kB / 3.169 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.023/9.187, allocations: 0.4934 GB / 3.662 GB, free: 53.78 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.657e-06/9.187, allocations: 3.938 kB / 3.662 GB, free: 53.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.924e-05/9.188, allocations: 23.06 kB / 3.662 GB, free: 53.77 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.006288/9.194, allocations: 1.716 MB / 3.664 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/9.194, allocations: 7.594 kB / 3.664 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/9.197, allocations: 326.5 kB / 3.664 GB, free: 52.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/9.199, allocations: 0.593 MB / 3.665 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/9.199, allocations: 113.5 kB / 3.665 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/9.199, allocations: 61.78 kB / 3.665 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/9.202, allocations: 1.187 MB / 3.666 GB, free: 51.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/9.202, allocations: 7.938 kB / 3.666 GB, free: 51.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/9.202, allocations: 34.14 kB / 3.666 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-05/9.202, allocations: 36.59 kB / 3.666 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/9.205, allocations: 0.835 MB / 3.667 GB, free: 50.48 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.007053/9.212, allocations: 5.514 MB / 3.672 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/9.213, allocations: 0.5886 MB / 3.673 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/9.214, allocations: 214.4 kB / 3.673 GB, free: 43.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09897/9.313, allocations: 46.08 MB / 3.718 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.292e-05/9.313, allocations: 46.34 kB / 3.718 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.574e-06/9.313, allocations: 3.938 kB / 3.718 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.006858/9.32, allocations: 1.83 MB / 3.72 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/9.32, allocations: 162.2 kB / 3.72 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/9.321, allocations: 0.5462 MB / 3.721 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.289e-05/9.321, allocations: 33.7 kB / 3.721 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/9.321, allocations: 397.8 kB / 3.721 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/9.322, allocations: 169.1 kB / 3.721 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/9.322, allocations: 16 kB / 3.721 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002574/9.322, allocations: 374.8 kB / 3.722 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/9.323, allocations: 217.5 kB / 3.722 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008445/9.323, allocations: 0.5532 MB / 3.722 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/9.324, allocations: 329.3 kB / 3.723 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.108e-06/9.324, allocations: 4 kB / 3.723 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00207/9.326, allocations: 0.8168 MB / 3.724 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/9.326, allocations: 8.188 kB / 3.724 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/9.326, allocations: 19.98 kB / 3.724 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/9.327, allocations: 60.83 kB / 3.724 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/9.328, allocations: 279.6 kB / 3.724 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/9.331, allocations: 1.968 MB / 3.726 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/9.332, allocations: 60.12 kB / 3.726 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/9.332, allocations: 47.98 kB / 3.726 GB, free: 360 kB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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 (95): * Single equations (assignments): 93 * 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.0002944/9.332, allocations: 168.6 kB / 3.726 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/9.332, allocations: 71.2 kB / 3.726 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3229/9.655, allocations: 2.209 MB / 3.728 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-05/9.655, allocations: 28.02 kB / 3.728 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.407e-06/9.655, allocations: 0 / 3.728 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/9.655, allocations: 4.859 kB / 3.728 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/9.66, allocations: 3.278 MB / 3.732 GB, free: 80.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.062e-06/9.66, allocations: 1.156 kB / 3.732 GB, free: 80.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/9.662, allocations: 191 kB / 3.732 GB, free: 80.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/9.662, allocations: 83.5 kB / 3.732 GB, free: 80.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/9.662, allocations: 11.03 kB / 3.732 GB, free: 80.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/9.664, allocations: 1.987 MB / 3.734 GB, free: 79.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.856e-06/9.664, allocations: 3.609 kB / 3.734 GB, free: 79.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/9.666, allocations: 1.986 MB / 3.736 GB, free: 78.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/9.667, allocations: 284.7 kB / 3.736 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/9.667, allocations: 9.703 kB / 3.736 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008017/9.668, allocations: 70.58 kB / 3.736 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/9.668, allocations: 28.09 kB / 3.736 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/9.668, allocations: 23.78 kB / 3.736 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008353/9.669, allocations: 0.5 MB / 3.737 GB, free: 78.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.45e-07/9.669, allocations: 0.6562 kB / 3.737 GB, free: 78.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004758/9.674, allocations: 1.127 MB / 3.738 GB, free: 78.62 MB / 0.5261 GB 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.007777/9.682, allocations: 1.566 MB / 3.739 GB, free: 78.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002351/9.684, allocations: 0.9019 MB / 3.74 GB, free: 78.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/9.684, allocations: 1.703 kB / 3.74 GB, free: 78.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/9.685, allocations: 0.6577 MB / 3.741 GB, free: 78.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/9.688, allocations: 358.3 kB / 3.741 GB, free: 78.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/9.691, allocations: 1.708 MB / 3.743 GB, free: 78.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/9.692, allocations: 1.14 MB / 3.744 GB, free: 77.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001413/9.694, allocations: 451.3 kB / 3.744 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/9.694, allocations: 59.06 kB / 3.744 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of SimCode: time 1.952e-06/9.694, allocations: 0 / 3.744 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.07419/9.768, allocations: 41.61 MB / 3.785 GB, free: 76.49 MB / 0.5261 GB