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_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase") Notification: Performance of loadModel(ModelicaTest): time 1.819/1.819, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.46e-05, allocations: 7.984 kB / 273.1 MB, free: 252 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.08978, allocations: 48.71 MB / 321.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.646/6.735, allocations: 2.673 GB / 2.987 GB, free: 108.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/6.736, allocations: 77.5 kB / 2.987 GB, free: 108.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.14/16.88, allocations: 2.054 GB / 5.041 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.055e-06/16.88, allocations: 0 / 5.041 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0009382/16.88, allocations: 219.4 kB / 5.041 GB, free: 25.86 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.04779/16.93, allocations: 9.521 MB / 5.05 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/16.93, allocations: 10.22 kB / 5.05 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01963/16.95, allocations: 1.925 MB / 5.052 GB, free: 21.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0276/16.97, allocations: 7.12 MB / 5.059 GB, free: 20.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000992/16.97, allocations: 0.5346 MB / 5.06 GB, free: 20.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003956/16.98, allocations: 0.7163 MB / 5.06 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04247/17.02, allocations: 12.9 MB / 5.073 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000489/17.02, allocations: 30.66 kB / 5.073 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003672/17.03, allocations: 314.6 kB / 5.073 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/17.03, allocations: 0.6399 MB / 5.074 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03725/17.06, allocations: 12.46 MB / 5.086 GB, free: 18.24 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.09237/17.16, allocations: 53.94 MB / 5.139 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01961/17.18, allocations: 7.471 MB / 5.146 GB, free: 180 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01463/17.19, allocations: 4.551 MB / 5.151 GB, free: 15.65 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7237/17.91, allocations: 98.22 MB / 5.246 GB, free: 12.39 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/17.91, allocations: 101.7 kB / 5.247 GB, free: 12.34 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007512/17.92, allocations: 0.8304 MB / 5.247 GB, free: 12.32 MB / 0.573 GB Notification: Performance of pre-optimization done (n=583): time 3.684e-05/17.92, allocations: 0 / 5.247 GB, free: 12.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=705): time 0.1998/18.12, allocations: 45.29 MB / 5.292 GB, free: 9.824 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/18.12, allocations: 175.8 kB / 5.292 GB, free: 9.691 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/18.13, allocations: 4.219 MB / 5.296 GB, free: 9.32 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002172/18.14, allocations: 151.3 kB / 5.296 GB, free: 9.289 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003654/18.14, allocations: 3.313 MB / 5.299 GB, free: 8.309 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004122/18.14, allocations: 2.443 MB / 5.302 GB, free: 6.75 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/18.15, allocations: 160.3 kB / 5.302 GB, free: 6.75 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0008611/18.15, allocations: 0.629 MB / 5.302 GB, free: 6.426 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01113/18.16, allocations: 4.306 MB / 5.307 GB, free: 6.402 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01312/18.17, allocations: 6.154 MB / 5.313 GB, free: 4.438 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4466/18.62, allocations: 44.06 MB / 5.356 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.112e-05/18.62, allocations: 12 kB / 5.356 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.04341/18.66, allocations: 14.91 MB / 5.37 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.4814/19.14, allocations: 24.24 MB / 5.394 GB, free: 77.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002123/19.14, allocations: 50.06 kB / 5.394 GB, free: 77.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1599/19.3, allocations: 18.45 MB / 5.412 GB, free: 77.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005968/19.31, allocations: 1.058 MB / 5.413 GB, free: 77.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03494/19.34, allocations: 14.97 MB / 5.428 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01187/19.36, allocations: 0.8867 MB / 5.428 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002607/19.36, allocations: 384.2 kB / 5.429 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/19.36, allocations: 7.375 kB / 5.429 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03725/19.4, allocations: 13.83 MB / 5.442 GB, free: 76.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/19.4, allocations: 50.84 kB / 5.442 GB, free: 76.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1481/19.54, allocations: 17.3 MB / 5.459 GB, free: 76.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005937/19.55, allocations: 1.095 MB / 5.46 GB, free: 76.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03061/19.58, allocations: 14.04 MB / 5.474 GB, free: 75.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/19.59, allocations: 0.8663 MB / 5.475 GB, free: 75.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002593/19.6, allocations: 381.8 kB / 5.475 GB, free: 75.08 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.004398/19.6, allocations: 0.5968 MB / 5.476 GB, free: 74.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003164/19.6, allocations: 0.6704 MB / 5.477 GB, free: 74.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05609/19.66, allocations: 26.62 MB / 5.503 GB, free: 73.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002677/19.66, allocations: 230.8 kB / 5.503 GB, free: 73.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.395e-05/19.66, allocations: 2.156 kB / 5.503 GB, free: 73.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04348/19.7, allocations: 23.07 MB / 5.525 GB, free: 70.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09328/19.8, allocations: 46.05 MB / 5.57 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001177/19.8, allocations: 16 kB / 5.57 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005562/19.8, allocations: 0.9079 MB / 5.571 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06669/19.87, allocations: 10.4 MB / 5.581 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001785/19.87, allocations: 261.8 kB / 5.582 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/19.89, allocations: 14.56 MB / 5.596 GB, free: 16.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.022e-05/19.89, allocations: 28.06 kB / 5.596 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5415/20.43, allocations: 31.04 MB / 5.626 GB, free: 79.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007384/20.44, allocations: 2.013 MB / 5.628 GB, free: 79.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003432/20.44, allocations: 225.9 kB / 5.628 GB, free: 79.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009082/20.45, allocations: 0.5701 MB / 5.629 GB, free: 79.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002143/20.45, allocations: 0.5011 MB / 5.629 GB, free: 78.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001723/20.45, allocations: 265.7 kB / 5.63 GB, free: 78.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.008569/20.46, allocations: 3.122 MB / 5.633 GB, free: 78.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.292e-06/20.46, allocations: 0 / 5.633 GB, free: 78.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02992/20.49, allocations: 6.467 MB / 5.639 GB, free: 78.55 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.02109/20.51, allocations: 5.305 MB / 5.644 GB, free: 77.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04815/20.56, allocations: 19.45 MB / 5.663 GB, free: 77.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.627e-05/20.56, allocations: 6.531 kB / 5.663 GB, free: 77.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01894/20.58, allocations: 8.591 MB / 5.672 GB, free: 77.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02019/20.6, allocations: 2.988 MB / 5.674 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1515/20.75, allocations: 65.21 MB / 5.738 GB, free: 72.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01191/20.76, allocations: 5.996 MB / 5.744 GB, free: 71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.02123/20.79, allocations: 5.618 MB / 5.749 GB, free: 70.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002603/20.79, allocations: 435.1 kB / 5.75 GB, free: 70 MB / 0.6042 GB Notification: Performance of SimCode: time 2.274e-06/20.79, allocations: 0 / 5.75 GB, free: 70 MB / 0.6042 GB Notification: Performance of Templates: time 1.031/21.82, allocations: 282.6 MB / 6.026 GB, free: 11.44 MB / 0.6198 GB