Running command: translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadModel(BuildingSystems): time 3.246/3.246, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.906e-05/3.915e-05, allocations: 11.94 kB / 436.6 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1392, allocations: 77.72 MB / 0.5022 GB, free: 4.578 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5993/0.7386, allocations: 106 MB / 0.6057 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.7389, allocations: 67.97 kB / 0.6058 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004019/0.7429, allocations: 1.053 MB / 0.6068 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.87e-06/0.7429, allocations: 0 / 0.6068 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.928e-06/0.7429, allocations: 0 / 0.6068 GB, free: 14.01 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004376/0.7434, allocations: 346.4 kB / 0.6072 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7434, allocations: 12.03 kB / 0.6072 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.7435, allocations: 8.703 kB / 0.6072 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.7437, allocations: 171 kB / 0.6073 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.7437, allocations: 4 kB / 0.6073 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.7437, allocations: 8 kB / 0.6073 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.7439, allocations: 41.69 kB / 0.6074 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.059e-06/0.7439, allocations: 0 / 0.6074 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.7439, allocations: 8 kB / 0.6074 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-06/0.7439, allocations: 0 / 0.6074 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.744, allocations: 16.88 kB / 0.6074 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.7445, allocations: 296.6 kB / 0.6077 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.7448, allocations: 42.56 kB / 0.6077 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.7448, allocations: 12.92 kB / 0.6077 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003689/0.7452, allocations: 401.6 kB / 0.6081 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.7453, allocations: 30.56 kB / 0.6082 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.353e-06/0.7453, allocations: 4 kB / 0.6082 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001933/0.7455, allocations: 61.58 kB / 0.6082 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.7455, allocations: 51.41 kB / 0.6083 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.7457, allocations: 104.9 kB / 0.6084 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.7457, allocations: 25.7 kB / 0.6084 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.7458, allocations: 88.14 kB / 0.6085 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.7458, allocations: 7.891 kB / 0.6085 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-06/0.7458, allocations: 0 / 0.6085 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.746, allocations: 318.8 kB / 0.6088 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.746, allocations: 8 kB / 0.6088 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.7461, allocations: 8 kB / 0.6088 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.7461, allocations: 8 kB / 0.6088 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-06/0.7461, allocations: 0 / 0.6088 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001328/0.7463, allocations: 57.72 kB / 0.6089 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.7463, allocations: 8.609 kB / 0.6089 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.7463, allocations: 0 / 0.6089 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7463, allocations: 0 / 0.6089 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.7465, allocations: 23.92 kB / 0.6089 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.7465, allocations: 7.953 kB / 0.6089 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-05/0.7466, allocations: 11.94 kB / 0.6089 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.941e-06/0.7466, allocations: 0 / 0.6089 GB, free: 11.56 MB / 0.4948 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 9.301e-05/0.7467, allocations: 105 kB / 0.609 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.7468, allocations: 4 kB / 0.609 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.747, allocations: 57.7 kB / 0.6091 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-06/0.747, allocations: 0 / 0.6091 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.911e-06/0.747, allocations: 4 kB / 0.6091 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.339e-06/0.747, allocations: 3.953 kB / 0.6091 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.7472, allocations: 165.7 kB / 0.6092 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7473, allocations: 3.984 kB / 0.6092 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.7474, allocations: 12 kB / 0.6093 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.513e-06/0.7474, allocations: 0 / 0.6093 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.7474, allocations: 3.984 kB / 0.6093 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.7474, allocations: 3.938 kB / 0.6093 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-06/0.7474, allocations: 4 kB / 0.6093 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.7476, allocations: 151.4 kB / 0.6094 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.7477, allocations: 81.11 kB / 0.6095 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.7477, allocations: 0 / 0.6095 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.7479, allocations: 11.98 kB / 0.6095 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.7479, allocations: 3.984 kB / 0.6095 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.748, allocations: 8 kB / 0.6095 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.941e-05/0.748, allocations: 79.28 kB / 0.6096 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.96e-07/0.748, allocations: 4 kB / 0.6096 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003235/0.7484, allocations: 19.94 kB / 0.6096 GB, free: 10.75 MB / 0.4948 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.0001873/0.7486, allocations: 116.7 kB / 0.6097 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.7487, allocations: 23.94 kB / 0.6097 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.421e-06/0.7487, allocations: 3.938 kB / 0.6097 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.834e-05/0.7488, allocations: 12 kB / 0.6098 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.749, allocations: 7.938 kB / 0.6098 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.7493, allocations: 76.92 kB / 0.6098 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.7496, allocations: 0.6809 MB / 0.6105 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.7497, allocations: 4 kB / 0.6105 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.7497, allocations: 11.42 kB / 0.6105 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of SimCode: time 1.407e-06/0.7498, allocations: 0 / 0.6105 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of Templates: time 0.006329/0.7561, allocations: 0.6537 MB / 0.6112 GB, free: 9.113 MB / 0.4948 GB