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.3_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase") Notification: Performance of loadModel(ModelicaTest): time 2.262/2.262, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.4e-05/4.406e-05, allocations: 11.92 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3213, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.09/7.411, allocations: 2.951 GB / 3.325 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/7.411, allocations: 79.09 kB / 3.325 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 9.615/17.03, allocations: 2.118 GB / 5.443 GB, free: 28.27 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.773e-06/17.03, allocations: 0 / 5.443 GB, free: 28.27 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0009155/17.03, allocations: 218.7 kB / 5.443 GB, free: 28.22 MB / 0.6199 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.04817/17.08, allocations: 9.807 MB / 5.453 GB, free: 23.94 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/17.08, allocations: 11.12 kB / 5.453 GB, free: 23.94 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01947/17.1, allocations: 1.977 MB / 5.455 GB, free: 23.47 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02604/17.12, allocations: 7.105 MB / 5.462 GB, free: 22.15 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000833/17.12, allocations: 0.5383 MB / 5.462 GB, free: 22.14 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00351/17.13, allocations: 0.7191 MB / 5.463 GB, free: 22.12 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03916/17.16, allocations: 12.89 MB / 5.475 GB, free: 20.06 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003434/17.17, allocations: 43.31 kB / 5.475 GB, free: 20.04 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002907/17.17, allocations: 320.4 kB / 5.476 GB, free: 20.04 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009509/17.17, allocations: 0.6393 MB / 5.476 GB, free: 20.01 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03592/17.2, allocations: 12.46 MB / 5.488 GB, free: 17.54 MB / 0.6199 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.5954/17.8, allocations: 53.87 MB / 5.541 GB, free: 25.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01872/17.82, allocations: 7.499 MB / 5.548 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009203/17.83, allocations: 4.305 MB / 5.553 GB, free: 25.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1531/17.98, allocations: 64.92 MB / 5.616 GB, free: 17.38 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/17.98, allocations: 98.25 kB / 5.616 GB, free: 17.33 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00697/17.99, allocations: 0.8433 MB / 5.617 GB, free: 17.31 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=586): time 2.948e-05/17.99, allocations: 1.547 kB / 5.617 GB, free: 17.31 MB / 0.6668 GB Notification: Performance of matching and sorting (n=709): time 0.1996/18.19, allocations: 45.51 MB / 5.661 GB, free: 14.45 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/18.19, allocations: 177.2 kB / 5.662 GB, free: 14.32 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/18.2, allocations: 4.269 MB / 5.666 GB, free: 13.95 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001863/18.2, allocations: 162.6 kB / 5.666 GB, free: 13.91 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.003468/18.2, allocations: 3.29 MB / 5.669 GB, free: 12.98 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.00362/18.21, allocations: 2.455 MB / 5.671 GB, free: 11.42 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/18.21, allocations: 164.8 kB / 5.672 GB, free: 11.42 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.0008217/18.21, allocations: 0.6221 MB / 5.672 GB, free: 11.1 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01063/18.22, allocations: 4.315 MB / 5.676 GB, free: 11.08 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01251/18.23, allocations: 6.134 MB / 5.682 GB, free: 9.176 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3941/18.63, allocations: 42.4 MB / 5.724 GB, free: 6.273 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.167e-05/18.63, allocations: 20.55 kB / 5.724 GB, free: 6.27 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.05558/18.68, allocations: 15.63 MB / 5.739 GB, free: 15.68 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.01307/18.7, allocations: 23.73 MB / 5.762 GB, free: 6.441 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/18.7, allocations: 49.25 kB / 5.762 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6842/19.38, allocations: 20.06 MB / 5.782 GB, free: 98.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00562/19.39, allocations: 1.058 MB / 5.783 GB, free: 98.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03332/19.42, allocations: 14.99 MB / 5.798 GB, free: 97.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/19.43, allocations: 0.8783 MB / 5.798 GB, free: 97.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002495/19.43, allocations: 389.4 kB / 5.799 GB, free: 97.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/19.43, allocations: 6.906 kB / 5.799 GB, free: 97.25 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03697/19.47, allocations: 13.89 MB / 5.812 GB, free: 97.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/19.47, allocations: 52.94 kB / 5.812 GB, free: 97.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1508/19.62, allocations: 17.31 MB / 5.829 GB, free: 96.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005835/19.63, allocations: 1.083 MB / 5.83 GB, free: 96.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02967/19.66, allocations: 14.07 MB / 5.844 GB, free: 95.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/19.67, allocations: 0.869 MB / 5.845 GB, free: 95.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002343/19.67, allocations: 372.8 kB / 5.845 GB, free: 95.74 MB / 0.698 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.003106/19.67, allocations: 0.6068 MB / 5.846 GB, free: 95.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002146/19.68, allocations: 0.6713 MB / 5.847 GB, free: 95.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05349/19.73, allocations: 26.53 MB / 5.873 GB, free: 94.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002561/19.73, allocations: 226.8 kB / 5.873 GB, free: 94.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.849e-05/19.73, allocations: 1.344 kB / 5.873 GB, free: 94.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04194/19.77, allocations: 22.97 MB / 5.895 GB, free: 92.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09516/19.87, allocations: 46.54 MB / 5.941 GB, free: 79.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001184/19.87, allocations: 18.38 kB / 5.941 GB, free: 79.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005856/19.87, allocations: 0.9178 MB / 5.942 GB, free: 79.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07448/19.95, allocations: 10.38 MB / 5.952 GB, free: 77.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001788/19.95, allocations: 261.9 kB / 5.952 GB, free: 77.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/19.97, allocations: 14.54 MB / 5.966 GB, free: 67.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-05/19.97, allocations: 30.41 kB / 5.966 GB, free: 67.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05167/20.02, allocations: 31.36 MB / 5.997 GB, free: 37.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006699/20.03, allocations: 2.032 MB / 5.999 GB, free: 36.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002729/20.03, allocations: 230.7 kB / 5.999 GB, free: 35.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008432/20.04, allocations: 0.5705 MB / 6 GB, free: 35.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001803/20.04, allocations: 0.4958 MB / 6 GB, free: 35.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009516/20.04, allocations: 274.8 kB / 6 GB, free: 34.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.007451/20.05, allocations: 3.219 MB / 6.003 GB, free: 31.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.283e-06/20.05, allocations: 0 / 6.003 GB, free: 31.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.02747/20.08, allocations: 6.531 MB / 6.01 GB, free: 25.96 MB / 0.698 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.01947/20.1, allocations: 5.34 MB / 6.015 GB, free: 22.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.5489/20.64, allocations: 20.67 MB / 6.035 GB, free: 97.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.529e-05/20.64, allocations: 5.281 kB / 6.035 GB, free: 97.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01815/20.66, allocations: 8.592 MB / 6.044 GB, free: 97.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02048/20.68, allocations: 3.098 MB / 6.047 GB, free: 97.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05232/20.74, allocations: 22.01 MB / 6.068 GB, free: 93.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01238/20.75, allocations: 5.994 MB / 6.074 GB, free: 92.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.02166/20.77, allocations: 5.67 MB / 6.08 GB, free: 92.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002442/20.77, allocations: 435.8 kB / 6.08 GB, free: 92.58 MB / 0.698 GB Notification: Performance of SimCode: time 2.337e-06/20.77, allocations: 2.344 kB / 6.08 GB, free: 92.58 MB / 0.698 GB Notification: Performance of Templates: time 1.07/21.84, allocations: 285.8 MB / 6.359 GB, free: 92.62 MB / 0.698 GB