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.667/3.667, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.395e-05/4.403e-05, allocations: 15.86 kB / 0.499 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5706/0.5706, allocations: 92.69 MB / 0.5896 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.774, allocations: 119.6 MB / 0.7063 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.7743, allocations: 91.92 kB / 0.7064 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00386/0.7782, allocations: 1.064 MB / 0.7075 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.897e-06/0.7782, allocations: 0 / 0.7075 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.7782, allocations: 0 / 0.7075 GB, free: 5.625 MB / 0.5886 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.0002968/0.7786, allocations: 326.6 kB / 0.7078 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.7786, allocations: 11.97 kB / 0.7078 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.7787, allocations: 3.953 kB / 0.7078 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.7788, allocations: 174.9 kB / 0.708 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.7788, allocations: 0 / 0.708 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.7789, allocations: 7.984 kB / 0.708 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.779, allocations: 81.97 kB / 0.708 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7791, allocations: 0 / 0.708 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.7791, allocations: 0 / 0.708 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-06/0.7791, allocations: 0 / 0.708 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.7792, allocations: 27.86 kB / 0.7081 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.7802, allocations: 1.115 MB / 0.7092 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.7804, allocations: 165.1 kB / 0.7093 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.7804, allocations: 88.08 kB / 0.7094 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.7805, allocations: 79.28 kB / 0.7095 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.686e-05/0.7806, allocations: 113.8 kB / 0.7096 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 2.011e-06/0.7806, allocations: 0 / 0.7096 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 9.113e-05/0.7807, allocations: 33.61 kB / 0.7096 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/0.7808, allocations: 152.4 kB / 0.7098 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.781, allocations: 121.2 kB / 0.7099 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.781, allocations: 29.64 kB / 0.7099 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.7811, allocations: 100 kB / 0.71 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-06/0.7811, allocations: 3.938 kB / 0.71 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-06/0.7811, allocations: 0 / 0.71 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7813, allocations: 310.8 kB / 0.7103 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.7813, allocations: 15.98 kB / 0.7103 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.215e-05/0.7814, allocations: 40.28 kB / 0.7104 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.7814, allocations: 20.02 kB / 0.7104 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.501e-06/0.7815, allocations: 0 / 0.7104 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002059/0.7817, allocations: 77.45 kB / 0.7105 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.7817, allocations: 8 kB / 0.7105 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.664e-06/0.7817, allocations: 384 / 0.7105 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.7818, allocations: 8.109 kB / 0.7105 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.655e-05/0.7818, allocations: 11.98 kB / 0.7105 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.795e-06/0.7819, allocations: 4 kB / 0.7105 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/0.782, allocations: 7.938 kB / 0.7105 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.782, allocations: 3.938 kB / 0.7105 GB, free: 2.16 MB / 0.5886 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.0001314/0.7821, allocations: 192.1 kB / 0.7107 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.005e-05/0.7822, allocations: 105 kB / 0.7108 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.623e-05/0.7823, allocations: 108.6 kB / 0.7109 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.805e-05/0.7824, allocations: 192.2 kB / 0.7111 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.508e-05/0.7825, allocations: 180.3 kB / 0.7112 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.49e-05/0.7826, allocations: 180.6 kB / 0.7114 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.7829, allocations: 409.2 kB / 0.7118 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/0.783, allocations: 109.1 kB / 0.7119 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.783, allocations: 112.9 kB / 0.712 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.427e-05/0.7831, allocations: 176.3 kB / 0.7122 GB, free: 320 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.821e-05/0.7832, allocations: 186.5 kB / 0.7124 GB, free: 128 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000115/0.7834, allocations: 176.3 kB / 0.7125 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.901e-05/0.7835, allocations: 184.2 kB / 0.7127 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.7836, allocations: 311.7 kB / 0.713 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.7838, allocations: 194 kB / 0.7132 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.7839, allocations: 176.3 kB / 0.7134 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.7841, allocations: 105 kB / 0.7135 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.7842, allocations: 180.2 kB / 0.7136 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.7842, allocations: 116.9 kB / 0.7137 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.965e-05/0.7843, allocations: 99.27 kB / 0.7138 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.99e-07/0.7844, allocations: 0 / 0.7138 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003328/0.7847, allocations: 8 kB / 0.7138 GB, free: 14.52 MB / 0.6042 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.0002092/0.7849, allocations: 182.2 kB / 0.714 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.785, allocations: 24.23 kB / 0.714 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.211e-06/0.7851, allocations: 4.062 kB / 0.714 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.083e-06/0.7851, allocations: 3.938 kB / 0.714 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.7855, allocations: 0.5188 MB / 0.7145 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.7857, allocations: 140.2 kB / 0.7147 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.7861, allocations: 0.677 MB / 0.7153 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.093e-05/0.7861, allocations: 19.92 kB / 0.7154 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.7862, allocations: 7.438 kB / 0.7154 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of SimCode: time 1.915e-06/0.7862, allocations: 0 / 0.7154 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.002977/0.7892, allocations: 478.1 kB / 0.7158 GB, free: 12.41 MB / 0.6042 GB