Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.305/4.305, allocations: 460.5 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.986e-05/3.993e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2388, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8604/1.099, allocations: 131.8 MB / 0.8006 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.1, allocations: 68.64 kB / 0.8007 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004149/1.104, allocations: 1.048 MB / 0.8017 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.694e-06/1.104, allocations: 7.875 kB / 0.8017 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.104, allocations: 3.875 kB / 0.8017 GB, free: 12.35 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.0004196/1.104, allocations: 346 kB / 0.802 GB, free: 12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.104, allocations: 12.92 kB / 0.802 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/1.104, allocations: 34.5 kB / 0.8021 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/1.104, allocations: 3.953 kB / 0.8021 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.63e-05/1.104, allocations: 172.5 kB / 0.8022 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/1.105, allocations: 0 / 0.8022 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/1.105, allocations: 3.875 kB / 0.8023 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/1.105, allocations: 53 kB / 0.8023 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.105, allocations: 0 / 0.8023 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/1.105, allocations: 0.875 kB / 0.8023 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/1.105, allocations: 1.312 kB / 0.8023 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.147e-05/1.105, allocations: 32 kB / 0.8023 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/1.105, allocations: 277.9 kB / 0.8026 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/1.106, allocations: 48.2 kB / 0.8026 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/1.106, allocations: 16.98 kB / 0.8027 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/1.106, allocations: 401.3 kB / 0.803 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/1.106, allocations: 31.5 kB / 0.8031 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/1.106, allocations: 7.812 kB / 0.8031 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001914/1.106, allocations: 55.33 kB / 0.8031 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/1.106, allocations: 51.41 kB / 0.8032 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/1.106, allocations: 101.9 kB / 0.8033 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/1.106, allocations: 25.7 kB / 0.8033 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/1.106, allocations: 85.33 kB / 0.8034 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/1.106, allocations: 5.219 kB / 0.8034 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/1.106, allocations: 0 / 0.8034 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/1.106, allocations: 320.2 kB / 0.8037 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/1.107, allocations: 11.25 kB / 0.8037 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/1.107, allocations: 3.875 kB / 0.8037 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/1.107, allocations: 11.59 kB / 0.8037 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.107, allocations: 3.875 kB / 0.8037 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001166/1.107, allocations: 47.7 kB / 0.8038 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.107, allocations: 7.688 kB / 0.8038 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.107, allocations: 1.594 kB / 0.8038 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.107, allocations: 0 / 0.8038 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/1.107, allocations: 22.36 kB / 0.8038 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.107, allocations: 7.844 kB / 0.8038 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/1.107, allocations: 11.11 kB / 0.8038 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/1.107, allocations: 3.812 kB / 0.8038 GB, free: 10.21 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 5.672e-05/1.107, allocations: 103.9 kB / 0.8039 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/1.107, allocations: 1.172 kB / 0.8039 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/1.107, allocations: 64.14 kB / 0.804 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.107, allocations: 0 / 0.804 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.107, allocations: 7.953 kB / 0.804 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/1.107, allocations: 240 / 0.804 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/1.108, allocations: 165.8 kB / 0.8042 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.108, allocations: 0 / 0.8042 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/1.108, allocations: 14.38 kB / 0.8042 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/1.108, allocations: 3.984 kB / 0.8042 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/1.108, allocations: 1.266 kB / 0.8042 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.108, allocations: 7.953 kB / 0.8042 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.108, allocations: 0 / 0.8042 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/1.108, allocations: 157.7 kB / 0.8043 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/1.109, allocations: 77.11 kB / 0.8044 GB, free: 25.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/1.109, allocations: 1.031 kB / 0.8044 GB, free: 25.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/1.109, allocations: 9.906 kB / 0.8044 GB, free: 25.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/1.109, allocations: 18.41 kB / 0.8044 GB, free: 25.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/1.109, allocations: 0 / 0.8044 GB, free: 25.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.005e-05/1.109, allocations: 89.59 kB / 0.8045 GB, free: 25.53 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.109, allocations: 0 / 0.8045 GB, free: 25.53 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003445/1.109, allocations: 25.05 kB / 0.8045 GB, free: 25.52 MB / 0.6511 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.0005914/1.11, allocations: 0.6915 MB / 0.8052 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001283/1.11, allocations: 27.98 kB / 0.8052 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.11, allocations: 4 kB / 0.8052 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.942e-05/1.11, allocations: 10.81 kB / 0.8053 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/1.11, allocations: 5.234 kB / 0.8053 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/1.111, allocations: 108.7 kB / 0.8054 GB, free: 24.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/1.111, allocations: 0.6815 MB / 0.806 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.181e-05/1.111, allocations: 5.188 kB / 0.806 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/1.111, allocations: 20.56 kB / 0.8061 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/1.111, allocations: 0 / 0.8061 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/1.129, allocations: 1.356 MB / 0.8074 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/1.13, allocations: 164.6 kB / 0.8075 GB, free: 23.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/3.477, allocations: 11.69 kB / 0.8075 GB, free: 23.57 MB / 0.6511 GB