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.74/3.74, allocations: 402 MB / 416.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.096e-05, allocations: 4 kB / 0.501 GB, free: 8.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 92.69 MB / 0.5915 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.Factorial): time 0.0007778/0.2033, allocations: 280.5 kB / 0.5918 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0002763/0.2036, allocations: 75.83 kB / 0.5918 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.2036, allocations: 0 / 0.5918 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.2036, allocations: 0 / 0.5918 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 2.683e-05/0.2037, allocations: 0 / 0.5918 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.2038, allocations: 15.92 kB / 0.5918 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.741e-05/0.2039, allocations: 0 / 0.5918 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.2039, allocations: 0 / 0.5918 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.204, allocations: 4 kB / 0.5918 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.204, allocations: 3.984 kB / 0.5919 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.2041, allocations: 15.92 kB / 0.5919 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.2041, allocations: 0 / 0.5919 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.2042, allocations: 8 kB / 0.5919 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.478e-05/0.2042, allocations: 0 / 0.5919 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 7.019e-05/0.2043, allocations: 7.984 kB / 0.5919 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2043, allocations: 0 / 0.5919 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2043, allocations: 4 kB / 0.5919 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.2043, allocations: 0 / 0.5919 GB, free: 10.96 MB / 0.4948 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.000344/0.2047, allocations: 327.6 kB / 0.5922 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.2047, allocations: 8.031 kB / 0.5922 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.2048, allocations: 7.953 kB / 0.5922 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2049, allocations: 166.9 kB / 0.5924 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.205, allocations: 7.938 kB / 0.5924 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.205, allocations: 0 / 0.5924 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.2052, allocations: 45.67 kB / 0.5924 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.2052, allocations: 0 / 0.5924 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2052, allocations: 0 / 0.5924 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.2053, allocations: 7.953 kB / 0.5924 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.241e-05/0.2053, allocations: 15.98 kB / 0.5924 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/0.2061, allocations: 0.7901 MB / 0.5932 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.175e-05/0.2062, allocations: 173.1 kB / 0.5934 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.2062, allocations: 87.22 kB / 0.5935 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.342e-05/0.2063, allocations: 105.8 kB / 0.5936 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.2063, allocations: 4 kB / 0.5936 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.684e-05/0.2064, allocations: 29.61 kB / 0.5936 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.2065, allocations: 85.05 kB / 0.5937 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.2066, allocations: 117.2 kB / 0.5938 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2067, allocations: 29.7 kB / 0.5938 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.2067, allocations: 95.97 kB / 0.5939 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.2067, allocations: 0 / 0.5939 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.2067, allocations: 4 kB / 0.5939 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2069, allocations: 326.8 kB / 0.5942 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.2069, allocations: 11.98 kB / 0.5942 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/0.207, allocations: 40.28 kB / 0.5943 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.535e-05/0.2071, allocations: 15.98 kB / 0.5943 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2071, allocations: 4.031 kB / 0.5943 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002156/0.2073, allocations: 81.58 kB / 0.5944 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2073, allocations: 4 kB / 0.5944 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.2074, allocations: 7.953 kB / 0.5944 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2074, allocations: 4 kB / 0.5944 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.2075, allocations: 8 kB / 0.5944 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.2075, allocations: 3.938 kB / 0.5944 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.2076, allocations: 7.984 kB / 0.5944 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2077, allocations: 4.156 kB / 0.5944 GB, free: 8.039 MB / 0.4948 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.0001312/0.2078, allocations: 193.5 kB / 0.5946 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.2079, allocations: 107.4 kB / 0.5947 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.208, allocations: 112.8 kB / 0.5948 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.757e-05/0.208, allocations: 188.2 kB / 0.595 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/0.2081, allocations: 104.9 kB / 0.5951 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-05/0.2082, allocations: 197.9 kB / 0.5953 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.232e-05/0.2083, allocations: 180.3 kB / 0.5954 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.2084, allocations: 108.9 kB / 0.5956 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.2085, allocations: 176.3 kB / 0.5957 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.7e-05/0.2086, allocations: 263.5 kB / 0.596 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001728/0.2088, allocations: 379.1 kB / 0.5963 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.877e-05/0.2089, allocations: 112.9 kB / 0.5964 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.25e-05/0.209, allocations: 99.27 kB / 0.5965 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of Backend: time 7.81e-07/0.209, allocations: 0 / 0.5965 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.2094, allocations: 106.3 kB / 0.5966 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0005358/0.21, allocations: 0.9299 MB / 0.5975 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of Templates: time 0.003509/0.2135, allocations: 0.5512 MB / 0.5981 GB, free: 4.102 MB / 0.4948 GB