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.486/3.486, allocations: 403.9 MB / 411 MB, free: 356 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.737e-05, allocations: 4 kB / 0.4942 GB, free: 1.371 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.539, allocations: 92.7 MB / 0.5847 GB, free: 2.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2173/0.7563, allocations: 118.9 MB / 0.7008 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.7566, allocations: 95.92 kB / 0.7009 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003579/0.7602, allocations: 1.057 MB / 0.702 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.331e-06/0.7602, allocations: 0 / 0.702 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.7603, allocations: 0 / 0.702 GB, free: 10.15 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.0002962/0.7606, allocations: 330.4 kB / 0.7023 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.7606, allocations: 8.031 kB / 0.7023 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.7607, allocations: 7.953 kB / 0.7023 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.7608, allocations: 167 kB / 0.7025 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.7609, allocations: 4 kB / 0.7025 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-06/0.7609, allocations: 4 kB / 0.7025 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.671e-05/0.7609, allocations: 11.98 kB / 0.7025 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.7611, allocations: 73.92 kB / 0.7025 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.582e-06/0.7611, allocations: 0 / 0.7025 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.7611, allocations: 0 / 0.7025 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-06/0.7611, allocations: 11.95 kB / 0.7026 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.7621, allocations: 1.092 MB / 0.7036 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.7622, allocations: 173.1 kB / 0.7038 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.7623, allocations: 80.14 kB / 0.7039 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.7623, allocations: 75.28 kB / 0.7039 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.008e-05/0.7624, allocations: 109.8 kB / 0.704 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.945e-06/0.7624, allocations: 0 / 0.704 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 9.771e-05/0.7625, allocations: 37.56 kB / 0.7041 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.7626, allocations: 89.05 kB / 0.7042 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.7627, allocations: 121.1 kB / 0.7043 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.7627, allocations: 25.7 kB / 0.7043 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.7628, allocations: 88.05 kB / 0.7044 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-06/0.7628, allocations: 0 / 0.7044 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-06/0.7628, allocations: 0 / 0.7044 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.763, allocations: 322.8 kB / 0.7047 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/0.763, allocations: 4 kB / 0.7047 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.7631, allocations: 48.28 kB / 0.7047 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.7632, allocations: 15.98 kB / 0.7048 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.155e-06/0.7633, allocations: 0 / 0.7048 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002749/0.7635, allocations: 85.52 kB / 0.7048 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.7636, allocations: 7.984 kB / 0.7048 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.545e-06/0.7636, allocations: 4 kB / 0.7048 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.7636, allocations: 0 / 0.7048 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.528e-05/0.7637, allocations: 11.95 kB / 0.7049 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.986e-06/0.7637, allocations: 0 / 0.7049 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.278e-05/0.7638, allocations: 4 kB / 0.7049 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.7638, allocations: 7.984 kB / 0.7049 GB, free: 6.816 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.0001419/0.764, allocations: 196.2 kB / 0.7051 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.7641, allocations: 104.9 kB / 0.7052 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.97e-05/0.7642, allocations: 109 kB / 0.7053 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.663e-05/0.7642, allocations: 176.3 kB / 0.7054 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-05/0.7643, allocations: 188.1 kB / 0.7056 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-05/0.7644, allocations: 180.3 kB / 0.7058 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.7647, allocations: 390.2 kB / 0.7062 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.128e-05/0.7648, allocations: 108.9 kB / 0.7063 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.7648, allocations: 101 kB / 0.7064 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.297e-05/0.7649, allocations: 180.3 kB / 0.7065 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.361e-05/0.765, allocations: 184.2 kB / 0.7067 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.409e-05/0.7651, allocations: 180.2 kB / 0.7069 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-05/0.7652, allocations: 180.3 kB / 0.707 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.7654, allocations: 307.6 kB / 0.7073 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.7655, allocations: 190.1 kB / 0.7075 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.311e-05/0.7656, allocations: 180.2 kB / 0.7077 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.7658, allocations: 113 kB / 0.7078 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.808e-05/0.7659, allocations: 176.3 kB / 0.708 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.7659, allocations: 108.9 kB / 0.7081 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.128e-05/0.7661, allocations: 103.6 kB / 0.7082 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.93e-07/0.7661, allocations: 0 / 0.7082 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003271/0.7664, allocations: 8 kB / 0.7082 GB, free: 3.215 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.0001983/0.7666, allocations: 186.3 kB / 0.7084 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.573e-05/0.7667, allocations: 20.98 kB / 0.7084 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.721e-06/0.7667, allocations: 0 / 0.7084 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.769e-06/0.7667, allocations: 0 / 0.7084 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.7671, allocations: 0.5263 MB / 0.7089 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/0.7674, allocations: 135.6 kB / 0.709 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.7677, allocations: 0.6846 MB / 0.7097 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.749e-05/0.7678, allocations: 7.984 kB / 0.7097 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.7678, allocations: 11.44 kB / 0.7097 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of SimCode: time 1.204e-06/0.7678, allocations: 288 / 0.7097 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of Templates: time 0.002714/0.7705, allocations: 461.2 kB / 0.7101 GB, free: 1.137 MB / 0.5886 GB