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_trunk_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase") Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 270.1 MB / 283.6 MB, free: 3.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.6e-05, allocations: 4 kB / 348.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.624/7.737, allocations: 2.95 GB / 3.351 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/7.738, allocations: 77.14 kB / 3.351 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 10.21/17.95, allocations: 2.142 GB / 5.493 GB, free: 28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.916e-06/17.95, allocations: 0 / 5.493 GB, free: 28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000887/17.95, allocations: 207.6 kB / 5.493 GB, free: 27.95 MB / 0.6355 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.04843/18, allocations: 9.819 MB / 5.502 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/18, allocations: 11.22 kB / 5.503 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/18.02, allocations: 1.983 MB / 5.504 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02662/18.05, allocations: 7.108 MB / 5.511 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008781/18.05, allocations: 0.5413 MB / 5.512 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003755/18.05, allocations: 0.7091 MB / 5.513 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04192/18.09, allocations: 12.9 MB / 5.525 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004157/18.09, allocations: 36.34 kB / 5.525 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003369/18.1, allocations: 315.9 kB / 5.526 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001041/18.1, allocations: 0.649 MB / 5.526 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03529/18.13, allocations: 12.46 MB / 5.538 GB, free: 6.695 MB / 0.6355 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.6361/18.77, allocations: 53.86 MB / 5.591 GB, free: 37.34 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0212/18.79, allocations: 7.497 MB / 5.598 GB, free: 37.26 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01022/18.8, allocations: 4.312 MB / 5.602 GB, free: 37.22 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1518/18.95, allocations: 64.94 MB / 5.666 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/18.95, allocations: 102.1 kB / 5.666 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006845/18.96, allocations: 0.834 MB / 5.667 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=586): time 3.127e-05/18.96, allocations: 2.625 kB / 5.667 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=709): time 0.202/19.16, allocations: 45.51 MB / 5.711 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/19.16, allocations: 179.4 kB / 5.711 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/19.17, allocations: 4.266 MB / 5.716 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001821/19.17, allocations: 158.1 kB / 5.716 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0034/19.18, allocations: 3.289 MB / 5.719 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003516/19.18, allocations: 2.46 MB / 5.721 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/19.18, allocations: 161.2 kB / 5.721 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0007574/19.18, allocations: 0.6215 MB / 5.722 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0107/19.19, allocations: 4.319 MB / 5.726 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01235/19.21, allocations: 6.13 MB / 5.732 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3918/19.6, allocations: 42.41 MB / 5.774 GB, free: 18.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.168e-05/19.6, allocations: 14.81 kB / 5.774 GB, free: 18.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.04204/19.64, allocations: 14.93 MB / 5.788 GB, free: 13.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0131/19.65, allocations: 23.73 MB / 5.811 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/19.65, allocations: 56 kB / 5.812 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2045/19.86, allocations: 20.99 MB / 5.832 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005772/19.86, allocations: 1.053 MB / 5.833 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03704/19.9, allocations: 15 MB / 5.848 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/19.91, allocations: 0.8798 MB / 5.849 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002565/19.91, allocations: 387.2 kB / 5.849 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/19.91, allocations: 4 kB / 5.849 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5708/20.49, allocations: 14.09 MB / 5.863 GB, free: 112.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/20.49, allocations: 52.34 kB / 5.863 GB, free: 112.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1471/20.63, allocations: 17.31 MB / 5.88 GB, free: 112.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005884/20.64, allocations: 1.081 MB / 5.881 GB, free: 112.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0306/20.67, allocations: 14.07 MB / 5.894 GB, free: 111 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/20.68, allocations: 0.8668 MB / 5.895 GB, free: 111 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002455/20.68, allocations: 378.4 kB / 5.896 GB, free: 111 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.003785/20.69, allocations: 0.6087 MB / 5.896 GB, free: 110.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002751/20.69, allocations: 0.6674 MB / 5.897 GB, free: 110.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06951/20.76, allocations: 26.54 MB / 5.923 GB, free: 109.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004256/20.76, allocations: 228 kB / 5.923 GB, free: 109.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.059e-05/20.76, allocations: 0.75 kB / 5.923 GB, free: 109.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.052/20.81, allocations: 22.96 MB / 5.945 GB, free: 108.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09522/20.91, allocations: 46.54 MB / 5.991 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001066/20.91, allocations: 20.38 kB / 5.991 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005972/20.91, allocations: 0.9158 MB / 5.992 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0733/20.99, allocations: 10.38 MB / 6.002 GB, free: 100.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001726/20.99, allocations: 260.6 kB / 6.002 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/21.01, allocations: 14.54 MB / 6.016 GB, free: 91.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.557e-05/21.01, allocations: 38.05 kB / 6.016 GB, free: 91.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05408/21.06, allocations: 31.35 MB / 6.047 GB, free: 75.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006395/21.07, allocations: 2.041 MB / 6.049 GB, free: 74.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00241/21.07, allocations: 218 kB / 6.049 GB, free: 74.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008523/21.08, allocations: 0.5752 MB / 6.05 GB, free: 74.06 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001676/21.08, allocations: 0.5022 MB / 6.05 GB, free: 73.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009319/21.08, allocations: 270.2 kB / 6.051 GB, free: 73.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.006994/21.09, allocations: 3.217 MB / 6.054 GB, free: 71.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.084e-06/21.09, allocations: 1.688 kB / 6.054 GB, free: 71.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.02666/21.11, allocations: 6.533 MB / 6.06 GB, free: 65.22 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.01911/21.13, allocations: 5.363 MB / 6.065 GB, free: 61.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.04174/21.18, allocations: 19.45 MB / 6.084 GB, free: 44.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.201e-05/21.18, allocations: 4.781 kB / 6.084 GB, free: 44.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01609/21.19, allocations: 8.591 MB / 6.093 GB, free: 37.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01937/21.21, allocations: 3.096 MB / 6.096 GB, free: 35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6432/21.85, allocations: 22.2 MB / 6.117 GB, free: 105.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01342/21.87, allocations: 5.996 MB / 6.123 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.021/21.89, allocations: 5.661 MB / 6.129 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00248/21.89, allocations: 438.2 kB / 6.129 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of SimCode: time 2.839e-06/21.89, allocations: 1.531 kB / 6.129 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of Templates: time 1.123/23.01, allocations: 285.8 MB / 6.408 GB, free: 121.5 MB / 0.7448 GB