Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe1.mediums.2..p|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.mediums.2..T|pipe11.mediums.2..p|pipe2.mediums.1..T|pipe2.mediums.2..T|pipe2.mediums.2..p|pipe3.mediums.1..T|pipe3.mediums.2..T|pipe3.mediums.2..p|pipe4.mediums.1..T|pipe4.mediums.1..p|pipe4.mediums.2..T|pipe4.mediums.2..p|pipe5.mediums.1..T|pipe5.mediums.2..T|pipe6.mediums.1..T|pipe6.mediums.2..T|pipe6.mediums.2..p|pipe7.mediums.1..T|pipe7.mediums.1..p|pipe7.mediums.2..T|pipe7.mediums.2..p|pipe8.mediums.1..T|pipe8.mediums.2..T|pipe9.mediums.1..T|pipe9.mediums.2..T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase") Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 270 MB / 283.6 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.316e-05, allocations: 0 / 348.4 MB, free: 2.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3311, allocations: 61.88 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.809/8.14, allocations: 2.95 GB / 3.351 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/8.141, allocations: 81.55 kB / 3.351 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 10.29/18.44, allocations: 2.142 GB / 5.493 GB, free: 27.35 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.715e-06/18.44, allocations: 0 / 5.493 GB, free: 27.35 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0009231/18.44, allocations: 227.9 kB / 5.493 GB, free: 27.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1894 * Number of variables: 1894 Notification: Performance of Generate backend data structure: time 0.04759/18.48, allocations: 9.813 MB / 5.502 GB, free: 23.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/18.48, allocations: 11.19 kB / 5.502 GB, free: 23.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02183/18.51, allocations: 1.969 MB / 5.504 GB, free: 22.61 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02581/18.53, allocations: 7.115 MB / 5.511 GB, free: 21.29 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008797/18.53, allocations: 0.5384 MB / 5.512 GB, free: 21.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003667/18.54, allocations: 0.7137 MB / 5.513 GB, free: 21.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0416/18.58, allocations: 12.89 MB / 5.525 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004133/18.58, allocations: 42.09 kB / 5.525 GB, free: 19.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003226/18.58, allocations: 314.2 kB / 5.526 GB, free: 19.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001081/18.58, allocations: 0.6408 MB / 5.526 GB, free: 19.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0373/18.62, allocations: 12.47 MB / 5.538 GB, free: 19 MB / 0.6511 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.09287/18.71, allocations: 53.87 MB / 5.591 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02088/18.73, allocations: 7.503 MB / 5.598 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5431/19.28, allocations: 4.347 MB / 5.603 GB, free: 61.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1414/19.42, allocations: 64.93 MB / 5.666 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/19.42, allocations: 100.9 kB / 5.666 GB, free: 22.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007299/19.43, allocations: 0.8416 MB / 5.667 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=586): time 3.012e-05/19.43, allocations: 2.484 kB / 5.667 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=709): time 0.2012/19.63, allocations: 45.5 MB / 5.711 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/19.63, allocations: 178.3 kB / 5.711 GB, free: 19.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/19.64, allocations: 4.276 MB / 5.716 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001998/19.64, allocations: 154.5 kB / 5.716 GB, free: 19.03 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00368/19.64, allocations: 3.295 MB / 5.719 GB, free: 18.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003795/19.65, allocations: 2.455 MB / 5.721 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001872/19.65, allocations: 161.2 kB / 5.722 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000776/19.65, allocations: 0.624 MB / 5.722 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01063/19.66, allocations: 4.313 MB / 5.726 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01294/19.67, allocations: 6.131 MB / 5.732 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3703/20.04, allocations: 42.43 MB / 5.774 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.703e-05/20.04, allocations: 15.03 kB / 5.774 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.04293/20.09, allocations: 14.92 MB / 5.788 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.01085/20.1, allocations: 23.73 MB / 5.812 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001969/20.1, allocations: 49.03 kB / 5.812 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1555/20.25, allocations: 18.53 MB / 5.83 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005538/20.26, allocations: 1.053 MB / 5.831 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03701/20.3, allocations: 15 MB / 5.845 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/20.31, allocations: 0.8797 MB / 5.846 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002666/20.31, allocations: 388.6 kB / 5.847 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/20.31, allocations: 4 kB / 5.847 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04072/20.35, allocations: 13.95 MB / 5.86 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/20.35, allocations: 48 kB / 5.86 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1416/20.49, allocations: 17.32 MB / 5.877 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006741/20.5, allocations: 1.135 MB / 5.878 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5931/21.09, allocations: 14.08 MB / 5.892 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01105/21.11, allocations: 0.8664 MB / 5.893 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002457/21.11, allocations: 380.5 kB / 5.893 GB, free: 101.9 MB / 0.7292 GB Warning: The initial conditions are over specified. The following 13 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe1.mediums[1].p = 0.0 $DER.pipe1.mediums[2].p = 0.0 $DER.pipe3.mediums[1].p = 0.0 $DER.pipe7.mediums[2].p = 0.0 $DER.pipe9.mediums[1].p = 0.0 $DER.pipe10.mediums[1].p = 0.0 $DER.pipe4.mediums[2].p = 0.0 $DER.pipe5.mediums[1].p = 0.0 $DER.pipe8.mediums[2].p = 0.0 $DER.pipe10.mediums[2].p = 0.0 $DER.pipe11.mediums[1].p = 0.0 $DER.pipe5.mediums[2].p = 0.0 $DER.pipe9.mediums[2].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 226 * Number of states: 0 () * Number of discrete variables: 52 (valve3.state_b.phase,valve3.state_a.phase,valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,pipe11.mediums[2].phase,pipe11.mediums[1].phase,pipe11.state_b.phase,pipe11.state_a.phase,pipe5.mediums[2].phase,pipe5.mediums[1].phase,pipe5.state_b.phase,pipe5.state_a.phase,pipe10.mediums[2].phase,pipe10.mediums[1].phase,pipe10.state_b.phase,pipe10.state_a.phase,pipe9.mediums[2].phase,pipe9.mediums[1].phase,pipe9.state_b.phase,pipe9.state_a.phase,pipe8.mediums[2].phase,pipe8.mediums[1].phase,pipe8.state_b.phase,pipe8.state_a.phase,sink.medium.phase,pipe7.mediums[2].phase,pipe7.mediums[1].phase,pipe7.state_b.phase,pipe7.state_a.phase,pipe6.mediums[2].phase,pipe6.mediums[1].phase,pipe6.state_b.phase,pipe6.state_a.phase,pipe4.mediums[2].phase,pipe4.mediums[1].phase,pipe4.state_b.phase,pipe4.state_a.phase,pipe3.mediums[2].phase,pipe3.mediums[1].phase,pipe3.state_b.phase,pipe3.state_a.phase,pipe2.mediums[2].phase,pipe2.mediums[1].phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.mediums[2].phase,pipe1.mediums[1].phase,pipe1.state_b.phase,pipe1.state_a.phase,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 599 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,30 380} Notification: Performance of prepare postOptimizeDAE: time 0.004064/21.11, allocations: 0.6062 MB / 5.894 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003053/21.12, allocations: 0.6689 MB / 5.894 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05315/21.17, allocations: 26.54 MB / 5.92 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002397/21.17, allocations: 228.5 kB / 5.921 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.714e-05/21.17, allocations: 0 / 5.921 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04658/21.22, allocations: 22.97 MB / 5.943 GB, free: 99.06 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09435/21.31, allocations: 46.53 MB / 5.988 GB, free: 95.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001238/21.31, allocations: 16.28 kB / 5.988 GB, free: 95.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005344/21.32, allocations: 0.92 MB / 5.989 GB, free: 95.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07719/21.39, allocations: 10.39 MB / 6 GB, free: 95.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001699/21.39, allocations: 263.5 kB / 6 GB, free: 95.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01844/21.41, allocations: 14.53 MB / 6.014 GB, free: 89.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-05/21.41, allocations: 35.44 kB / 6.014 GB, free: 89.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05297/21.47, allocations: 31.35 MB / 6.045 GB, free: 72.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007143/21.47, allocations: 2.039 MB / 6.047 GB, free: 71.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003165/21.48, allocations: 219 kB / 6.047 GB, free: 71.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008936/21.48, allocations: 0.5718 MB / 6.047 GB, free: 71.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001908/21.49, allocations: 0.5014 MB / 6.048 GB, free: 71.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001036/21.49, allocations: 275.2 kB / 6.048 GB, free: 71.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.007741/21.5, allocations: 3.223 MB / 6.051 GB, free: 70.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.082e-06/21.5, allocations: 0 / 6.051 GB, free: 70.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.02825/21.52, allocations: 6.533 MB / 6.058 GB, free: 69.38 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 83 * Number of states: 31 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].T,pipe4.mediums[1].p,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].p,pipe6.mediums[1].T,pipe6.mediums[2].p,pipe6.mediums[2].T,pipe7.mediums[1].p,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].p,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].p,pipe11.mediums[2].T) * Number of discrete variables: 102 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse52.phase,$cse52.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse57.phase,$cse57.region,$cse64.phase,$cse64.region,$cse65.phase,$cse65.region,$cse67.phase,$cse67.region,$cse68.phase,$cse68.region,$cse70.phase,$cse70.region,$cse71.phase,$cse71.region,$cse73.phase,$cse73.region,$cse75.phase,$cse75.region,$cse76.phase,$cse76.region,$cse77.phase,$cse77.region,$cse79.phase,$cse79.region,$cse80.phase,$cse80.region,$cse82.phase,$cse82.region,$cse83.phase,$cse83.region,$cse85.phase,$cse85.region,$cse86.phase,$cse86.region,$cse87.phase,$cse87.region,$cse88.phase,$cse88.region,$cse90.phase,$cse90.region,$cse91.phase,$cse91.region,$cse92.phase,$cse92.region,$cse93.phase,$cse93.region,$cse95.phase,$cse95.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (562): * Single equations (assignments): 501 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {4 38,2 1,2 1,2 1,2 1,6 64,6 64,6 36,2 1,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02047/21.54, allocations: 5.349 MB / 6.063 GB, free: 68.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.04432/21.59, allocations: 19.45 MB / 6.082 GB, free: 56.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.5e-05/21.59, allocations: 4.781 kB / 6.082 GB, free: 56.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01655/21.61, allocations: 8.601 MB / 6.09 GB, free: 49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01916/21.62, allocations: 3.095 MB / 6.093 GB, free: 46.87 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04802/21.67, allocations: 22.01 MB / 6.115 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01086/21.68, allocations: 5.998 MB / 6.121 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01998/21.7, allocations: 5.667 MB / 6.126 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002431/21.71, allocations: 433 kB / 6.127 GB, free: 20.52 MB / 0.7292 GB Notification: Performance of SimCode: time 1.962e-06/21.71, allocations: 4 kB / 6.127 GB, free: 20.52 MB / 0.7292 GB Notification: Performance of Templates: time 1.654/23.36, allocations: 286.7 MB / 6.407 GB, free: 107.7 MB / 0.7448 GB