Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadModel(Buildings): time 4.222/4.222, allocations: 460.4 MB / 472.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.924e-05, allocations: 8 kB / 0.5681 GB, free: 10.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2023, allocations: 106.2 MB / 0.6718 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.734/0.9363, allocations: 131.8 MB / 0.8005 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.9366, allocations: 67.47 kB / 0.8006 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003822/0.9404, allocations: 1.047 MB / 0.8016 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9405, allocations: 0 / 0.8016 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.9405, allocations: 0 / 0.8016 GB, free: 12.8 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003299/0.9408, allocations: 355.8 kB / 0.8019 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.9409, allocations: 7.656 kB / 0.802 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.9409, allocations: 3.875 kB / 0.802 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.92e-05/0.941, allocations: 168.4 kB / 0.8021 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.941, allocations: 7.797 kB / 0.8021 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.9411, allocations: 3.938 kB / 0.8021 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.9412, allocations: 52.44 kB / 0.8022 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.9412, allocations: 4 kB / 0.8022 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.9412, allocations: 3.562 kB / 0.8022 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.133e-06/0.9413, allocations: 3.844 kB / 0.8022 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.9413, allocations: 20.08 kB / 0.8022 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.9417, allocations: 280.2 kB / 0.8025 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.942, allocations: 50.34 kB / 0.8025 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.975e-05/0.9421, allocations: 15.92 kB / 0.8025 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.9423, allocations: 394.7 kB / 0.8029 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.9423, allocations: 38.94 kB / 0.803 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.475e-06/0.9423, allocations: 0 / 0.803 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001771/0.9425, allocations: 57.08 kB / 0.803 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.9425, allocations: 51.41 kB / 0.8031 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.9426, allocations: 103.2 kB / 0.8032 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.9427, allocations: 33.27 kB / 0.8032 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.9427, allocations: 80.14 kB / 0.8033 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.9427, allocations: 14.48 kB / 0.8033 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-06/0.9428, allocations: 0 / 0.8033 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.9428, allocations: 310.8 kB / 0.8036 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.9428, allocations: 7.125 kB / 0.8036 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.9429, allocations: 7.812 kB / 0.8036 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.9429, allocations: 10.55 kB / 0.8036 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.9429, allocations: 0 / 0.8036 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000122/0.9431, allocations: 55.27 kB / 0.8036 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.9431, allocations: 6.875 kB / 0.8037 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.573e-06/0.9431, allocations: 3.938 kB / 0.8037 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.9431, allocations: 0 / 0.8037 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.9433, allocations: 14.16 kB / 0.8037 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.564e-06/0.9433, allocations: 6.484 kB / 0.8037 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.238e-05/0.9434, allocations: 18.33 kB / 0.8037 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-06/0.9434, allocations: 0 / 0.8037 GB, free: 10.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.954e-05/0.9435, allocations: 108.9 kB / 0.8038 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.9435, allocations: 7.75 kB / 0.8038 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.9437, allocations: 55.02 kB / 0.8039 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-06/0.9437, allocations: 4.109 kB / 0.8039 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9437, allocations: 0 / 0.8039 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.9437, allocations: 3.953 kB / 0.8039 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.9439, allocations: 173.4 kB / 0.804 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9439, allocations: 0 / 0.804 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.944, allocations: 22.58 kB / 0.8041 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.673e-06/0.944, allocations: 0 / 0.8041 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.653e-06/0.9441, allocations: 3.938 kB / 0.8041 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.9441, allocations: 1.641 kB / 0.8041 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.767e-06/0.9441, allocations: 0 / 0.8041 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.9442, allocations: 147.1 kB / 0.8042 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.9443, allocations: 81.02 kB / 0.8043 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.9443, allocations: 7.844 kB / 0.8043 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.9444, allocations: 10.42 kB / 0.8043 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.9445, allocations: 6.328 kB / 0.8043 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.9445, allocations: 1.688 kB / 0.8043 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.9446, allocations: 86.53 kB / 0.8044 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.13e-07/0.9446, allocations: 0 / 0.8044 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003294/0.9449, allocations: 21.19 kB / 0.8044 GB, free: 10.02 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001588/0.9451, allocations: 127.3 kB / 0.8045 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.9452, allocations: 19.89 kB / 0.8045 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.299e-06/0.9452, allocations: 0 / 0.8045 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.9453, allocations: 13.14 kB / 0.8046 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.9455, allocations: 7.719 kB / 0.8046 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.9457, allocations: 70.59 kB / 0.8046 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.9464, allocations: 0.6819 MB / 0.8053 GB, free: 25.15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.336e-05/0.9464, allocations: 8.391 kB / 0.8053 GB, free: 25.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.9465, allocations: 12.03 kB / 0.8053 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of SimCode: time 1.379e-06/0.9465, allocations: 0 / 0.8053 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.003296/0.9498, allocations: 0.6367 MB / 0.8059 GB, free: 25.08 MB / 0.6511 GB