Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") Notification: Performance of loadModel(BuildingSystems): time 2.926/2.926, allocations: 343.8 MB / 355.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.734e-05, allocations: 8 kB / 436.6 MB, free: 2.469 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1388, allocations: 77.74 MB / 0.5023 GB, free: 4.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.333, allocations: 402.8 MB / 0.8956 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/1.334, allocations: 111.4 kB / 0.8957 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 34.33/35.67, allocations: 7.278 GB / 8.174 GB, free: 40.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.213e-06/35.67, allocations: 0 / 8.174 GB, free: 40.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.005858/35.67, allocations: 0.5705 MB / 8.174 GB, free: 40.8 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 0.07231/35.74, allocations: 20.38 MB / 8.194 GB, free: 32.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/35.74, allocations: 14.62 kB / 8.194 GB, free: 32.97 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01906/35.76, allocations: 3.008 MB / 8.197 GB, free: 31.53 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1049/35.87, allocations: 35.15 MB / 8.231 GB, free: 27.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001648/35.87, allocations: 1.288 MB / 8.233 GB, free: 25.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007578/35.88, allocations: 1.749 MB / 8.234 GB, free: 24.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08216/35.96, allocations: 24.32 MB / 8.258 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00116/35.96, allocations: 60.88 kB / 8.258 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007113/35.97, allocations: 0.707 MB / 8.259 GB, free: 2.129 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004702/35.97, allocations: 420 kB / 8.259 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.184/37.15, allocations: 21.5 MB / 8.28 GB, free: 56.69 MB / 0.7762 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.2251/37.38, allocations: 101.9 MB / 8.38 GB, free: 48 MB / 0.7918 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02845/37.41, allocations: 13.14 MB / 8.393 GB, free: 47.86 MB / 0.7918 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01999/37.43, allocations: 9.817 MB / 8.402 GB, free: 47.68 MB / 0.7918 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003768/37.43, allocations: 2.627 MB / 8.405 GB, free: 44.95 MB / 0.7918 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/37.43, allocations: 159.4 kB / 8.405 GB, free: 44.9 MB / 0.7918 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01425/37.44, allocations: 1.16 MB / 8.406 GB, free: 44.56 MB / 0.7918 GB Notification: Performance of pre-optimization done (n=1034): time 3.823e-05/37.44, allocations: 0 / 8.406 GB, free: 44.56 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1034): time 0.04179/37.49, allocations: 15.99 MB / 8.422 GB, free: 42.81 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/37.49, allocations: 160 kB / 8.422 GB, free: 42.74 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06904/37.56, allocations: 24.56 MB / 8.446 GB, free: 36.82 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 0.002731/37.56, allocations: 230.7 kB / 8.446 GB, free: 36.65 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.0168/37.57, allocations: 11.18 MB / 8.457 GB, free: 28.25 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.005816/37.58, allocations: 3.655 MB / 8.461 GB, free: 25.43 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001652/37.58, allocations: 267.2 kB / 8.461 GB, free: 25.23 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 0.001396/37.58, allocations: 0.8659 MB / 8.462 GB, free: 24.68 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01718/37.6, allocations: 7.253 MB / 8.469 GB, free: 22.02 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02179/37.62, allocations: 10.89 MB / 8.479 GB, free: 15.48 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02135/37.64, allocations: 9.48 MB / 8.489 GB, free: 12.1 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.493e-05/37.64, allocations: 24.31 kB / 8.489 GB, free: 12.1 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.06038/37.7, allocations: 21.98 MB / 8.51 GB, free: 4.23 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 1.233/38.94, allocations: 63.42 MB / 8.572 GB, free: 102.1 MB / 0.8388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004666/38.94, allocations: 111.4 kB / 8.572 GB, free: 102.1 MB / 0.8388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006656/38.94, allocations: 2.075 MB / 8.574 GB, free: 101.8 MB / 0.8388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01857/38.96, allocations: 3.164 MB / 8.577 GB, free: 101.8 MB / 0.8388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05667/39.02, allocations: 66.48 MB / 8.642 GB, free: 48.39 MB / 0.8388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03038/39.05, allocations: 2.073 MB / 8.644 GB, free: 48.39 MB / 0.8388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003571/39.05, allocations: 0.5395 MB / 8.645 GB, free: 48.39 MB / 0.8388 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/39.05, allocations: 6.469 kB / 8.645 GB, free: 48.39 MB / 0.8388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05172/39.11, allocations: 20.07 MB / 8.664 GB, free: 47.75 MB / 0.8388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004265/39.11, allocations: 112.3 kB / 8.664 GB, free: 47.75 MB / 0.8388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005675/39.11, allocations: 2.012 MB / 8.666 GB, free: 47.43 MB / 0.8388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01805/39.13, allocations: 3.168 MB / 8.67 GB, free: 47.42 MB / 0.8388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06308/39.19, allocations: 68.02 MB / 8.736 GB, free: 25.21 MB / 0.87 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02855/39.22, allocations: 2.017 MB / 8.738 GB, free: 25.21 MB / 0.87 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003602/39.23, allocations: 0.5413 MB / 8.738 GB, free: 25.21 MB / 0.87 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1580): * Single equations (assignments): 1529 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.005671/39.23, allocations: 0.8592 MB / 8.739 GB, free: 25.11 MB / 0.87 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007745/39.24, allocations: 2.062 MB / 8.741 GB, free: 24.84 MB / 0.87 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04867/39.29, allocations: 17.72 MB / 8.759 GB, free: 23.83 MB / 0.87 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000135/39.29, allocations: 98.31 kB / 8.759 GB, free: 23.83 MB / 0.87 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.052e-05/39.29, allocations: 23.16 kB / 8.759 GB, free: 23.83 MB / 0.87 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03449/39.32, allocations: 14.16 MB / 8.773 GB, free: 23.11 MB / 0.87 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 postOpt removeSimpleEquations (simulation): time 0.1196/39.44, allocations: 44.7 MB / 8.816 GB, free: 18.75 MB / 0.87 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.191e-05/39.44, allocations: 3.906 kB / 8.816 GB, free: 18.75 MB / 0.87 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01595/39.46, allocations: 2.35 MB / 8.819 GB, free: 18.67 MB / 0.87 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006126/39.46, allocations: 1.952 MB / 8.82 GB, free: 18.34 MB / 0.87 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002318/39.47, allocations: 295 kB / 8.821 GB, free: 18.34 MB / 0.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6814/40.15, allocations: 66.63 MB / 8.886 GB, free: 142 MB / 0.9013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/40.15, allocations: 10.03 kB / 8.886 GB, free: 142 MB / 0.9013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06742/40.22, allocations: 26.01 MB / 8.911 GB, free: 140.6 MB / 0.9013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01978/40.24, allocations: 5.094 MB / 8.916 GB, free: 139.5 MB / 0.9013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009715/40.24, allocations: 246.9 kB / 8.916 GB, free: 139.5 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.024/40.27, allocations: 1.407 MB / 8.918 GB, free: 139.5 MB / 0.9013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002875/40.27, allocations: 0.651 MB / 8.918 GB, free: 139.5 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002477/40.27, allocations: 373.4 kB / 8.919 GB, free: 139.5 MB / 0.9013 GB Notification: Performance of sorting global known variables: time 0.04885/40.32, allocations: 19.21 MB / 8.938 GB, free: 138.8 MB / 0.9013 GB Notification: Performance of sort global known variables: time 1.478e-06/40.32, allocations: 3.484 kB / 8.938 GB, free: 138.8 MB / 0.9013 GB Notification: Performance of remove unused functions: time 0.06212/40.39, allocations: 12.54 MB / 8.95 GB, free: 138.1 MB / 0.9013 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 80 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].vol3.dynBal.U,borHol.intHex[1].vol4.dynBal.U,borHol.intHex[1].intRes2UTub.capFil1.T,borHol.intHex[1].intRes2UTub.capFil2.T,borHol.intHex[1].intRes2UTub.capFil3.T,borHol.intHex[1].intRes2UTub.capFil4.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].vol3.dynBal.U,borHol.intHex[2].vol4.dynBal.U,borHol.intHex[2].intRes2UTub.capFil1.T,borHol.intHex[2].intRes2UTub.capFil2.T,borHol.intHex[2].intRes2UTub.capFil3.T,borHol.intHex[2].intRes2UTub.capFil4.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].vol3.dynBal.U,borHol.intHex[3].vol4.dynBal.U,borHol.intHex[3].intRes2UTub.capFil1.T,borHol.intHex[3].intRes2UTub.capFil2.T,borHol.intHex[3].intRes2UTub.capFil3.T,borHol.intHex[3].intRes2UTub.capFil4.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].vol3.dynBal.U,borHol.intHex[4].vol4.dynBal.U,borHol.intHex[4].intRes2UTub.capFil1.T,borHol.intHex[4].intRes2UTub.capFil2.T,borHol.intHex[4].intRes2UTub.capFil3.T,borHol.intHex[4].intRes2UTub.capFil4.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].vol3.dynBal.U,borHol.intHex[5].vol4.dynBal.U,borHol.intHex[5].intRes2UTub.capFil1.T,borHol.intHex[5].intRes2UTub.capFil2.T,borHol.intHex[5].intRes2UTub.capFil3.T,borHol.intHex[5].intRes2UTub.capFil4.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].vol3.dynBal.U,borHol.intHex[6].vol4.dynBal.U,borHol.intHex[6].intRes2UTub.capFil1.T,borHol.intHex[6].intRes2UTub.capFil2.T,borHol.intHex[6].intRes2UTub.capFil3.T,borHol.intHex[6].intRes2UTub.capFil4.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].vol3.dynBal.U,borHol.intHex[7].vol4.dynBal.U,borHol.intHex[7].intRes2UTub.capFil1.T,borHol.intHex[7].intRes2UTub.capFil2.T,borHol.intHex[7].intRes2UTub.capFil3.T,borHol.intHex[7].intRes2UTub.capFil4.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].vol3.dynBal.U,borHol.intHex[8].vol4.dynBal.U,borHol.intHex[8].intRes2UTub.capFil1.T,borHol.intHex[8].intRes2UTub.capFil2.T,borHol.intHex[8].intRes2UTub.capFil3.T,borHol.intHex[8].intRes2UTub.capFil4.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].vol3.dynBal.U,borHol.intHex[9].vol4.dynBal.U,borHol.intHex[9].intRes2UTub.capFil1.T,borHol.intHex[9].intRes2UTub.capFil2.T,borHol.intHex[9].intRes2UTub.capFil3.T,borHol.intHex[9].intRes2UTub.capFil4.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].vol3.dynBal.U,borHol.intHex[10].vol4.dynBal.U,borHol.intHex[10].intRes2UTub.capFil1.T,borHol.intHex[10].intRes2UTub.capFil2.T,borHol.intHex[10].intRes2UTub.capFil3.T,borHol.intHex[10].intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (921): * Single equations (assignments): 874 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006685/40.39, allocations: 2.052 MB / 8.952 GB, free: 137.9 MB / 0.9013 GB Notification: Performance of simCode: created initialization part: time 0.07131/40.46, allocations: 36.87 MB / 8.988 GB, free: 128.5 MB / 0.9013 GB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/40.46, allocations: 6.656 kB / 8.988 GB, free: 128.5 MB / 0.9013 GB Notification: Performance of simCode: created simulation system equations: time 0.0216/40.49, allocations: 11.82 MB / 8.999 GB, free: 124.4 MB / 0.9013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07728/40.56, allocations: 13.32 MB / 9.012 GB, free: 124.1 MB / 0.9013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1327/40.7, allocations: 49.42 MB / 9.061 GB, free: 113.8 MB / 0.9013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0419/40.74, allocations: 17.3 MB / 9.077 GB, free: 112.2 MB / 0.9013 GB Notification: Performance of simCode: alias equations: time 0.09975/40.84, allocations: 29.49 MB / 9.106 GB, free: 96.98 MB / 0.9013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00576/40.84, allocations: 1.162 MB / 9.107 GB, free: 95.93 MB / 0.9013 GB Notification: Performance of SimCode: time 1.763e-06/40.84, allocations: 4 kB / 9.107 GB, free: 95.93 MB / 0.9013 GB Notification: Performance of Templates: time 2.426/43.27, allocations: 0.491 GB / 9.598 GB, free: 116.1 MB / 0.9325 GB