Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadModel(Buildings): time 4.133/4.133, allocations: 464.6 MB / 476.8 MB, free: 2.137 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.535e-05, allocations: 4 kB / 0.5731 GB, free: 5.762 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1934, allocations: 107.2 MB / 0.6777 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7418/0.9353, allocations: 132.2 MB / 0.8068 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.9355, allocations: 76.78 kB / 0.8069 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003495/0.9391, allocations: 1.054 MB / 0.8079 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.991e-06/0.9391, allocations: 0 / 0.8079 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.9391, allocations: 0 / 0.8079 GB, free: 12.08 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.0003123/0.9394, allocations: 346.4 kB / 0.8082 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.9395, allocations: 11.41 kB / 0.8083 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.9395, allocations: 0 / 0.8083 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.31e-05/0.9396, allocations: 174.6 kB / 0.8084 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.9397, allocations: 4 kB / 0.8084 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.9397, allocations: 3.906 kB / 0.8084 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.9398, allocations: 54.25 kB / 0.8085 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.384e-06/0.9398, allocations: 0 / 0.8085 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.9399, allocations: 3.5 kB / 0.8085 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-06/0.9399, allocations: 0 / 0.8085 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.28e-05/0.94, allocations: 23.12 kB / 0.8085 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.9403, allocations: 284.1 kB / 0.8088 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.9406, allocations: 50.97 kB / 0.8088 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.9406, allocations: 12.52 kB / 0.8088 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.9409, allocations: 399.3 kB / 0.8092 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.9409, allocations: 30.56 kB / 0.8093 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.223e-06/0.9409, allocations: 0 / 0.8093 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001839/0.9411, allocations: 58.77 kB / 0.8093 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.9411, allocations: 51.41 kB / 0.8094 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.522e-05/0.9412, allocations: 103.1 kB / 0.8095 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.9412, allocations: 33.27 kB / 0.8095 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.9413, allocations: 84.08 kB / 0.8096 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.9413, allocations: 10.12 kB / 0.8096 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.9413, allocations: 3.938 kB / 0.8096 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.9414, allocations: 318.6 kB / 0.8099 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.9414, allocations: 11.22 kB / 0.8099 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.9414, allocations: 7.656 kB / 0.8099 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.9415, allocations: 6.828 kB / 0.8099 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-06/0.9415, allocations: 0 / 0.8099 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001132/0.9416, allocations: 50.69 kB / 0.81 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.9417, allocations: 7.688 kB / 0.81 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.563e-06/0.9417, allocations: 0 / 0.81 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.9417, allocations: 0 / 0.81 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.9418, allocations: 17.33 kB / 0.81 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.113e-06/0.9418, allocations: 7.844 kB / 0.81 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.9419, allocations: 10.81 kB / 0.81 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.9419, allocations: 3.875 kB / 0.81 GB, free: 9.98 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.953e-05/0.942, allocations: 108.4 kB / 0.8101 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.9421, allocations: 0 / 0.8101 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.9422, allocations: 66.78 kB / 0.8102 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.9422, allocations: 0 / 0.8102 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.332e-06/0.9422, allocations: 4 kB / 0.8102 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.9423, allocations: 0 / 0.8102 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.9424, allocations: 169.1 kB / 0.8103 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.9424, allocations: 3.844 kB / 0.8103 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.9426, allocations: 13.22 kB / 0.8104 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.62e-06/0.9426, allocations: 0 / 0.8104 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.001e-06/0.9426, allocations: 0 / 0.8104 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.24e-06/0.9426, allocations: 3.844 kB / 0.8104 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.9426, allocations: 0 / 0.8104 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.9427, allocations: 159.1 kB / 0.8105 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.9428, allocations: 80.67 kB / 0.8106 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.9428, allocations: 0 / 0.8106 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.9429, allocations: 10.67 kB / 0.8106 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.943, allocations: 6.828 kB / 0.8106 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-06/0.943, allocations: 0 / 0.8106 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.9431, allocations: 89.42 kB / 0.8107 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.14e-07/0.9431, allocations: 4 kB / 0.8107 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000312/0.9434, allocations: 15.72 kB / 0.8107 GB, free: 9.305 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.0001559/0.9436, allocations: 116.7 kB / 0.8108 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.9437, allocations: 15.06 kB / 0.8108 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.311e-06/0.9437, allocations: 0 / 0.8108 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.9438, allocations: 21.64 kB / 0.8109 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.944, allocations: 11.08 kB / 0.8109 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.9442, allocations: 73.7 kB / 0.8109 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.9448, allocations: 0.6823 MB / 0.8116 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.456e-05/0.9448, allocations: 3.906 kB / 0.8116 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.9449, allocations: 14.2 kB / 0.8116 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.321e-06/0.9449, allocations: 0 / 0.8116 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.00313/0.948, allocations: 0.6403 MB / 0.8122 GB, free: 24.37 MB / 0.6511 GB