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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.21e-05/5.245e-05, allocations: 0 / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 61.89 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.994/7.108, allocations: 2.799 GB / 3.199 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/7.109, allocations: 92.25 kB / 3.2 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.089/9.197, allocations: 0.4958 GB / 3.695 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.485e-06/9.197, allocations: 7.938 kB / 3.695 GB, free: 36.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.589e-05/9.197, allocations: 20 kB / 3.695 GB, free: 36.54 MB / 0.5261 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.006073/9.204, allocations: 1.698 MB / 3.697 GB, free: 34.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/9.204, allocations: 8.031 kB / 3.697 GB, free: 34.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/9.206, allocations: 231.2 kB / 3.697 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/9.208, allocations: 0.5773 MB / 3.698 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/9.209, allocations: 111.8 kB / 3.698 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/9.209, allocations: 60 kB / 3.698 GB, free: 33.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/9.211, allocations: 1.083 MB / 3.699 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.47e-05/9.211, allocations: 4 kB / 3.699 GB, free: 32.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/9.211, allocations: 31.59 kB / 3.699 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/9.212, allocations: 44.92 kB / 3.699 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/9.214, allocations: 0.802 MB / 3.7 GB, free: 31.74 MB / 0.5261 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.006498/9.22, allocations: 5.536 MB / 3.705 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/9.222, allocations: 0.5574 MB / 3.706 GB, free: 25.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/9.222, allocations: 210.5 kB / 3.706 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4688/9.691, allocations: 47.35 MB / 3.752 GB, free: 67.04 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/9.691, allocations: 40.5 kB / 3.752 GB, free: 67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 4.221e-06/9.691, allocations: 0.6562 kB / 3.752 GB, free: 67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.007746/9.699, allocations: 1.999 MB / 3.754 GB, free: 66.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/9.699, allocations: 188.8 kB / 3.754 GB, free: 66.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/9.7, allocations: 0.5574 MB / 3.755 GB, free: 66.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.199e-05/9.7, allocations: 38.77 kB / 3.755 GB, free: 66.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/9.7, allocations: 397.5 kB / 3.755 GB, free: 65.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/9.7, allocations: 165.5 kB / 3.756 GB, free: 65.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/9.7, allocations: 18.25 kB / 3.756 GB, free: 65.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001441/9.701, allocations: 376.8 kB / 3.756 GB, free: 65.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/9.701, allocations: 220.5 kB / 3.756 GB, free: 65.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/9.702, allocations: 0.5739 MB / 3.757 GB, free: 65.15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/9.702, allocations: 335 kB / 3.757 GB, free: 65.14 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/9.703, allocations: 3.281 kB / 3.757 GB, free: 65.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001992/9.705, allocations: 0.8494 MB / 3.758 GB, free: 65.06 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/9.705, allocations: 10.3 kB / 3.758 GB, free: 65.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/9.705, allocations: 11.66 kB / 3.758 GB, free: 65.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004167/9.709, allocations: 272.9 kB / 3.758 GB, free: 65.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/9.711, allocations: 279.8 kB / 3.758 GB, free: 65.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/9.712, allocations: 2.011 MB / 3.76 GB, free: 63.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/9.713, allocations: 57.53 kB / 3.76 GB, free: 63.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/9.713, allocations: 45.7 kB / 3.76 GB, free: 63.21 MB / 0.5417 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.0002295/9.714, allocations: 168.3 kB / 3.761 GB, free: 63.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/9.714, allocations: 74.25 kB / 3.761 GB, free: 63.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/9.717, allocations: 2.009 MB / 3.763 GB, free: 62.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-05/9.717, allocations: 23.67 kB / 3.763 GB, free: 62.86 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.176e-06/9.717, allocations: 5.062 kB / 3.763 GB, free: 62.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/9.717, allocations: 2.484 kB / 3.763 GB, free: 62.86 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/9.722, allocations: 2.995 MB / 3.766 GB, free: 62.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/9.722, allocations: 0.9062 kB / 3.766 GB, free: 62.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/9.724, allocations: 183.6 kB / 3.766 GB, free: 62.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/9.726, allocations: 300.4 kB / 3.766 GB, free: 62.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/9.726, allocations: 16.67 kB / 3.766 GB, free: 62.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/9.728, allocations: 2.073 MB / 3.768 GB, free: 60.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.262e-06/9.728, allocations: 5.062 kB / 3.768 GB, free: 60.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/9.731, allocations: 1.951 MB / 3.77 GB, free: 60.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000642/9.732, allocations: 286.6 kB / 3.77 GB, free: 59.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/9.732, allocations: 11 kB / 3.77 GB, free: 59.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000719/9.733, allocations: 36.14 kB / 3.77 GB, free: 59.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/9.733, allocations: 29.2 kB / 3.77 GB, free: 59.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/9.733, allocations: 18.25 kB / 3.77 GB, free: 59.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001021/9.734, allocations: 0.5566 MB / 3.771 GB, free: 59.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.98e-07/9.734, allocations: 0 / 3.771 GB, free: 59.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005386/9.74, allocations: 1.14 MB / 3.772 GB, free: 59.9 MB / 0.5417 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.008571/9.748, allocations: 1.574 MB / 3.774 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002348/9.751, allocations: 0.8724 MB / 3.774 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.569e-06/9.751, allocations: 3.062 kB / 3.774 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/9.752, allocations: 0.625 MB / 3.775 GB, free: 59.76 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/9.754, allocations: 383.1 kB / 3.775 GB, free: 59.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/9.757, allocations: 1.607 MB / 3.777 GB, free: 59.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/9.758, allocations: 1.115 MB / 3.778 GB, free: 58.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001134/9.759, allocations: 341.3 kB / 3.778 GB, free: 58.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/9.759, allocations: 68.36 kB / 3.778 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of SimCode: time 1.644e-06/9.759, allocations: 2.844 kB / 3.778 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of Templates: time 0.07416/9.834, allocations: 41.52 MB / 3.819 GB, free: 57.35 MB / 0.5417 GB