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_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase") Notification: Performance of loadModel(ModelicaTest): time 1.818/1.818, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.076e-05, allocations: 6.109 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08667, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.57/6.656, allocations: 2.673 GB / 2.987 GB, free: 111.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/6.657, allocations: 71.16 kB / 2.987 GB, free: 111.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.786/16.44, allocations: 2.054 GB / 5.041 GB, free: 27.54 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.959e-06/16.44, allocations: 0 / 5.041 GB, free: 27.54 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0009121/16.44, allocations: 213.9 kB / 5.041 GB, free: 27.51 MB / 0.5417 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.04415/16.49, allocations: 9.517 MB / 5.05 GB, free: 23.45 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/16.49, allocations: 11.12 kB / 5.05 GB, free: 23.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01895/16.51, allocations: 1.925 MB / 5.052 GB, free: 22.99 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.026/16.53, allocations: 7.125 MB / 5.059 GB, free: 21.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008987/16.53, allocations: 0.5324 MB / 5.06 GB, free: 21.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003752/16.54, allocations: 0.7215 MB / 5.06 GB, free: 21.87 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04019/16.58, allocations: 12.89 MB / 5.073 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004687/16.58, allocations: 37.95 kB / 5.073 GB, free: 19.93 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003332/16.58, allocations: 313.4 kB / 5.073 GB, free: 19.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001035/16.58, allocations: 0.6425 MB / 5.074 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03424/16.62, allocations: 12.47 MB / 5.086 GB, free: 19.77 MB / 0.5417 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: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(pipe1.mediums[1].p) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08888/16.71, allocations: 53.95 MB / 5.139 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02152/16.73, allocations: 7.544 MB / 5.146 GB, free: 14.48 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01064/16.74, allocations: 4.279 MB / 5.15 GB, free: 10.64 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6828/17.42, allocations: 98.2 MB / 5.246 GB, free: 8.898 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/17.42, allocations: 103.9 kB / 5.246 GB, free: 8.848 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00763/17.43, allocations: 0.83 MB / 5.247 GB, free: 8.828 MB / 0.573 GB Notification: Performance of pre-optimization done (n=583): time 3.875e-05/17.43, allocations: 0 / 5.247 GB, free: 8.828 MB / 0.573 GB Notification: Performance of matching and sorting (n=705): time 0.1926/17.62, allocations: 45.3 MB / 5.291 GB, free: 6.336 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/17.62, allocations: 173.3 kB / 5.292 GB, free: 6.203 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009994/17.63, allocations: 4.215 MB / 5.296 GB, free: 5.832 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001808/17.63, allocations: 160.8 kB / 5.296 GB, free: 5.797 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002892/17.64, allocations: 2.978 MB / 5.299 GB, free: 4.773 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003554/17.64, allocations: 2.445 MB / 5.301 GB, free: 3.211 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/17.64, allocations: 161 kB / 5.301 GB, free: 3.211 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0006332/17.64, allocations: 0.6287 MB / 5.302 GB, free: 2.883 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01017/17.65, allocations: 4.305 MB / 5.306 GB, free: 2.859 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0125/17.66, allocations: 6.158 MB / 5.312 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4585/18.12, allocations: 46.23 MB / 5.357 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.149e-05/18.12, allocations: 21.31 kB / 5.357 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.04423/18.17, allocations: 14.56 MB / 5.372 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.483/18.65, allocations: 20.2 MB / 5.391 GB, free: 80.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002126/18.65, allocations: 51.69 kB / 5.391 GB, free: 80.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1571/18.81, allocations: 18.45 MB / 5.409 GB, free: 79.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005361/18.81, allocations: 1.06 MB / 5.41 GB, free: 79.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0354/18.85, allocations: 14.98 MB / 5.425 GB, free: 78.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/18.86, allocations: 0.8815 MB / 5.426 GB, free: 78.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002568/18.86, allocations: 389.6 kB / 5.426 GB, free: 78.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/18.86, allocations: 5.562 kB / 5.426 GB, free: 78.81 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03802/18.9, allocations: 13.83 MB / 5.44 GB, free: 78.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000166/18.9, allocations: 51.34 kB / 5.44 GB, free: 78.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1358/19.04, allocations: 16.73 MB / 5.456 GB, free: 78.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005859/19.04, allocations: 1.089 MB / 5.457 GB, free: 78.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03157/19.07, allocations: 13.97 MB / 5.471 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009317/19.08, allocations: 0.8726 MB / 5.472 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002503/19.09, allocations: 380.4 kB / 5.472 GB, free: 77.3 MB / 0.6042 GB Warning: The initial conditions are over specified. The following 12 initial equations are redundant, so they are removed from the initialization sytem: $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: 232 * 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 (606): * Single equations (assignments): 604 * 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.004123/19.09, allocations: 0.5994 MB / 5.473 GB, free: 77.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003097/19.09, allocations: 0.667 MB / 5.473 GB, free: 77.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05302/19.15, allocations: 26.63 MB / 5.499 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002579/19.15, allocations: 226.9 kB / 5.499 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.191e-05/19.15, allocations: 0 / 5.499 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0412/19.19, allocations: 23.06 MB / 5.522 GB, free: 72.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09176/19.28, allocations: 46.06 MB / 5.567 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001238/19.28, allocations: 20 kB / 5.567 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005424/19.29, allocations: 0.908 MB / 5.568 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06681/19.35, allocations: 10.4 MB / 5.578 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00195/19.35, allocations: 263.3 kB / 5.578 GB, free: 30.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01871/19.37, allocations: 14.56 MB / 5.592 GB, free: 17.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.423e-05/19.37, allocations: 29.38 kB / 5.593 GB, free: 17.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5295/19.9, allocations: 31.09 MB / 5.623 GB, free: 79.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007236/19.91, allocations: 2.018 MB / 5.625 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003448/19.91, allocations: 217.5 kB / 5.625 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00938/19.92, allocations: 0.5672 MB / 5.626 GB, free: 79.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00213/19.93, allocations: 0.5011 MB / 5.626 GB, free: 79.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001856/19.93, allocations: 268.7 kB / 5.626 GB, free: 79.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.008671/19.94, allocations: 3.12 MB / 5.629 GB, free: 79.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.181e-06/19.94, allocations: 0 / 5.629 GB, free: 79.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02971/19.97, allocations: 6.466 MB / 5.636 GB, free: 79.08 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * 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 (558): * Single equations (assignments): 497 * 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 {1 10,6 36,2 1,2 1,2 1,2 1,6 64,6 64,4 38,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02117/19.99, allocations: 5.302 MB / 5.641 GB, free: 78.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04649/20.03, allocations: 19.28 MB / 5.66 GB, free: 78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.512e-05/20.03, allocations: 5.281 kB / 5.66 GB, free: 78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01835/20.05, allocations: 8.588 MB / 5.668 GB, free: 77.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01974/20.07, allocations: 2.987 MB / 5.671 GB, free: 77.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1489/20.22, allocations: 65.28 MB / 5.735 GB, free: 72.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01096/20.23, allocations: 5.832 MB / 5.74 GB, free: 71.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002992/20.23, allocations: 0.5258 MB / 5.741 GB, free: 71.59 MB / 0.6042 GB Notification: Performance of SimCode: time 1.762e-06/20.23, allocations: 0 / 5.741 GB, free: 71.59 MB / 0.6042 GB Notification: Performance of Templates: time 1.514/21.75, allocations: 388.7 MB / 6.121 GB, free: 119.1 MB / 0.6511 GB