Running command: translateModel(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.Factorial") Notification: Performance of loadModel(Buildings): time 3.513/3.513, allocations: 402.1 MB / 416 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.5e-05, allocations: 8 kB / 0.5004 GB, free: 8.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1664, allocations: 92.69 MB / 0.5909 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5779/0.7443, allocations: 119.6 MB / 0.7077 GB, free: 6.789 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.7446, allocations: 91.92 kB / 0.7078 GB, free: 6.699 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.003936/0.7485, allocations: 1.067 MB / 0.7088 GB, free: 5.641 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.549e-06/0.7486, allocations: 0 / 0.7088 GB, free: 5.641 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.898e-06/0.7486, allocations: 8 kB / 0.7088 GB, free: 5.633 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003164/0.7489, allocations: 327.4 kB / 0.7091 GB, free: 5.266 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.749, allocations: 8.031 kB / 0.7091 GB, free: 5.258 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.749, allocations: 3.953 kB / 0.7091 GB, free: 5.254 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.7492, allocations: 178.8 kB / 0.7093 GB, free: 5.039 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.7492, allocations: 6.812 kB / 0.7093 GB, free: 5.035 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.7493, allocations: 4 kB / 0.7093 GB, free: 5.031 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.7494, allocations: 81.97 kB / 0.7094 GB, free: 4.93 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.143e-06/0.7494, allocations: 0 / 0.7094 GB, free: 4.93 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.7495, allocations: 0 / 0.7094 GB, free: 4.93 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.7495, allocations: 3.984 kB / 0.7094 GB, free: 4.926 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.571e-05/0.7495, allocations: 23.86 kB / 0.7094 GB, free: 4.902 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/0.7506, allocations: 1.115 MB / 0.7105 GB, free: 3.629 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.872e-05/0.7507, allocations: 165.1 kB / 0.7107 GB, free: 3.457 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.7507, allocations: 83.22 kB / 0.7108 GB, free: 3.375 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.441e-05/0.7508, allocations: 113.8 kB / 0.7109 GB, free: 3.254 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.813e-06/0.7508, allocations: 0 / 0.7109 GB, free: 3.254 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 9.059e-05/0.7509, allocations: 37.56 kB / 0.7109 GB, free: 3.211 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.214e-05/0.751, allocations: 152.4 kB / 0.711 GB, free: 3.043 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.7512, allocations: 125.1 kB / 0.7112 GB, free: 2.91 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.7512, allocations: 25.7 kB / 0.7112 GB, free: 2.879 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.7513, allocations: 92.05 kB / 0.7113 GB, free: 2.785 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.7513, allocations: 0 / 0.7113 GB, free: 2.785 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-06/0.7513, allocations: 4 kB / 0.7113 GB, free: 2.781 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.7515, allocations: 310.8 kB / 0.7116 GB, free: 2.469 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.7515, allocations: 19.92 kB / 0.7116 GB, free: 2.449 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.089e-05/0.7516, allocations: 40.28 kB / 0.7116 GB, free: 2.395 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.7516, allocations: 20.02 kB / 0.7117 GB, free: 2.375 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-06/0.7517, allocations: 0 / 0.7117 GB, free: 2.375 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002064/0.7519, allocations: 77.45 kB / 0.7117 GB, free: 2.293 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.7519, allocations: 8 kB / 0.7117 GB, free: 2.285 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.588e-06/0.7519, allocations: 3.984 kB / 0.7117 GB, free: 2.281 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.7519, allocations: 3.953 kB / 0.7117 GB, free: 2.277 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.752, allocations: 12 kB / 0.7118 GB, free: 2.266 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.081e-06/0.752, allocations: 4.156 kB / 0.7118 GB, free: 2.262 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.7521, allocations: 7.938 kB / 0.7118 GB, free: 2.254 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.7522, allocations: 4 kB / 0.7118 GB, free: 2.25 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (y[5],y[4],y[3],y[2],y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.7523, allocations: 201.4 kB / 0.712 GB, free: 2.043 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.7524, allocations: 105 kB / 0.7121 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.144e-05/0.7525, allocations: 112.5 kB / 0.7122 GB, free: 1.82 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.073e-05/0.7526, allocations: 180.2 kB / 0.7123 GB, free: 1.637 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.96e-05/0.7527, allocations: 188.2 kB / 0.7125 GB, free: 1.445 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.3e-05/0.7528, allocations: 185 kB / 0.7127 GB, free: 1.258 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.7531, allocations: 405.7 kB / 0.7131 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-05/0.7532, allocations: 101 kB / 0.7132 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.7533, allocations: 115.5 kB / 0.7133 GB, free: 0.582 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.5e-05/0.7534, allocations: 188.2 kB / 0.7135 GB, free: 400 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.296e-05/0.7535, allocations: 180.3 kB / 0.7136 GB, free: 212 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.613e-05/0.7536, allocations: 180.3 kB / 0.7138 GB, free: 24 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001097/0.7537, allocations: 176.3 kB / 0.714 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.7539, allocations: 323.6 kB / 0.7143 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.754, allocations: 190 kB / 0.7145 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.7542, allocations: 180.3 kB / 0.7146 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.7543, allocations: 101 kB / 0.7147 GB, free: 15 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/0.7544, allocations: 180.2 kB / 0.7149 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.7545, allocations: 105 kB / 0.715 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.912e-05/0.7546, allocations: 107.2 kB / 0.7151 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.82e-07/0.7546, allocations: 0 / 0.7151 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003355/0.755, allocations: 12 kB / 0.7151 GB, free: 14.59 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000197/0.7552, allocations: 182.3 kB / 0.7153 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.7553, allocations: 19.92 kB / 0.7153 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.103e-06/0.7553, allocations: 0 / 0.7153 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.466e-06/0.7553, allocations: 320 / 0.7153 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.7557, allocations: 0.5315 MB / 0.7158 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.756, allocations: 174.5 kB / 0.716 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.7563, allocations: 0.6848 MB / 0.7167 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.966e-05/0.7564, allocations: 20.2 kB / 0.7167 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.7564, allocations: 7.438 kB / 0.7167 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of SimCode: time 1.325e-06/0.7565, allocations: 0 / 0.7167 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of Templates: time 0.002892/0.7594, allocations: 480.6 kB / 0.7172 GB, free: 12.45 MB / 0.5886 GB