Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase") Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 270 MB / 282.7 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.326e-05, allocations: 4 kB / 347 MB, free: 3.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3277, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.34/7.668, allocations: 2.95 GB / 3.349 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/7.668, allocations: 76.62 kB / 3.349 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 9.721/17.39, allocations: 2.142 GB / 5.491 GB, free: 25.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.875e-06/17.39, allocations: 0 / 5.491 GB, free: 25.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0008888/17.39, allocations: 215.3 kB / 5.492 GB, free: 25.64 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.04565/17.44, allocations: 9.818 MB / 5.501 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/17.44, allocations: 9.312 kB / 5.501 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01896/17.45, allocations: 1.979 MB / 5.503 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02576/17.48, allocations: 7.104 MB / 5.51 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000852/17.48, allocations: 0.5356 MB / 5.51 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003578/17.48, allocations: 0.7118 MB / 5.511 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03993/17.52, allocations: 12.9 MB / 5.524 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004013/17.53, allocations: 40.34 kB / 5.524 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003292/17.53, allocations: 311.9 kB / 5.524 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001024/17.53, allocations: 0.6445 MB / 5.525 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03731/17.57, allocations: 12.47 MB / 5.537 GB, free: 9.926 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.6082/18.18, allocations: 53.87 MB / 5.59 GB, free: 21.25 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/18.19, allocations: 7.496 MB / 5.597 GB, free: 21.17 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00916/18.2, allocations: 4.31 MB / 5.601 GB, free: 21.13 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.154/18.36, allocations: 64.93 MB / 5.664 GB, free: 29.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/18.36, allocations: 99.19 kB / 5.665 GB, free: 29.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007065/18.36, allocations: 0.8391 MB / 5.665 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=586): time 2.732e-05/18.36, allocations: 0 / 5.665 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=709): time 0.193/18.56, allocations: 45.5 MB / 5.71 GB, free: 26.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/18.56, allocations: 179.5 kB / 5.71 GB, free: 26.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/18.57, allocations: 4.265 MB / 5.714 GB, free: 25.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001908/18.57, allocations: 156 kB / 5.714 GB, free: 25.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003021/18.57, allocations: 2.96 MB / 5.717 GB, free: 24.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.003687/18.58, allocations: 2.456 MB / 5.72 GB, free: 23.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00175/18.58, allocations: 160.3 kB / 5.72 GB, free: 23.05 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0008534/18.58, allocations: 0.6245 MB / 5.72 GB, free: 22.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01035/18.59, allocations: 4.323 MB / 5.725 GB, free: 22.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01227/18.6, allocations: 6.127 MB / 5.731 GB, free: 20.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3787/18.98, allocations: 41.83 MB / 5.771 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.046e-05/18.98, allocations: 19.38 kB / 5.771 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.03771/19.02, allocations: 14.58 MB / 5.786 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.01109/19.03, allocations: 19.69 MB / 5.805 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/19.03, allocations: 53.36 kB / 5.805 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7358/19.77, allocations: 21.24 MB / 5.826 GB, free: 115.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005521/19.77, allocations: 1.054 MB / 5.827 GB, free: 115.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03384/19.81, allocations: 15 MB / 5.841 GB, free: 114.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/19.82, allocations: 0.8816 MB / 5.842 GB, free: 114.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002615/19.82, allocations: 386.1 kB / 5.843 GB, free: 114.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/19.82, allocations: 3.531 kB / 5.843 GB, free: 114.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0367/19.86, allocations: 13.9 MB / 5.856 GB, free: 114.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/19.86, allocations: 48.52 kB / 5.856 GB, free: 114.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1352/19.99, allocations: 16.75 MB / 5.873 GB, free: 114.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005506/20, allocations: 1.082 MB / 5.874 GB, free: 114.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02955/20.03, allocations: 14 MB / 5.887 GB, free: 113.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009249/20.04, allocations: 0.8647 MB / 5.888 GB, free: 113.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002331/20.04, allocations: 379.7 kB / 5.888 GB, free: 113.1 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.003782/20.04, allocations: 0.6002 MB / 5.889 GB, free: 113 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002656/20.05, allocations: 0.6716 MB / 5.89 GB, free: 113 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05212/20.1, allocations: 26.54 MB / 5.916 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002513/20.1, allocations: 230.5 kB / 5.916 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.763e-05/20.1, allocations: 2.062 kB / 5.916 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03996/20.14, allocations: 22.97 MB / 5.938 GB, free: 110.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09183/20.23, allocations: 46.53 MB / 5.984 GB, free: 96.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001165/20.23, allocations: 24.12 kB / 5.984 GB, free: 96.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005342/20.24, allocations: 0.9159 MB / 5.985 GB, free: 96.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07168/20.31, allocations: 10.38 MB / 5.995 GB, free: 94.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001799/20.31, allocations: 266.8 kB / 5.995 GB, free: 94.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01794/20.33, allocations: 14.53 MB / 6.009 GB, free: 82.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.253e-05/20.33, allocations: 30.22 kB / 6.009 GB, free: 82.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05281/20.38, allocations: 31.35 MB / 6.04 GB, free: 53.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007166/20.39, allocations: 2.032 MB / 6.042 GB, free: 51.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003161/20.39, allocations: 219.1 kB / 6.042 GB, free: 51.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009028/20.4, allocations: 0.5726 MB / 6.043 GB, free: 50.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001877/20.4, allocations: 0.5097 MB / 6.043 GB, free: 50.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001304/20.4, allocations: 271.2 kB / 6.043 GB, free: 50.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.007629/20.41, allocations: 3.22 MB / 6.047 GB, free: 47.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.044e-06/20.41, allocations: 0 / 6.047 GB, free: 47.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.02756/20.44, allocations: 6.529 MB / 6.053 GB, free: 41.47 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.01961/20.46, allocations: 5.361 MB / 6.058 GB, free: 38.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.04294/20.5, allocations: 19.27 MB / 6.077 GB, free: 21.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.479e-05/20.5, allocations: 6.5 kB / 6.077 GB, free: 21.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.5434/21.04, allocations: 10.02 MB / 6.087 GB, free: 112.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0197/21.06, allocations: 3.088 MB / 6.09 GB, free: 112.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0496/21.11, allocations: 22.08 MB / 6.111 GB, free: 108.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01236/21.13, allocations: 5.838 MB / 6.117 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003093/21.13, allocations: 0.5273 MB / 6.118 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.809e-06/21.13, allocations: 3.375 kB / 6.118 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of Templates: time 1.098/22.23, allocations: 390.4 MB / 6.499 GB, free: 85.54 MB / 0.7292 GB