Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.252/4.252, allocations: 464.6 MB / 476.8 MB, free: 2.168 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.542e-05, allocations: 4 kB / 0.5732 GB, free: 5.605 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8636/1.102, allocations: 132.4 MB / 0.8072 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/1.102, allocations: 75.12 kB / 0.8072 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005559/1.108, allocations: 1.324 MB / 0.8085 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.033e-06/1.108, allocations: 0 / 0.8085 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.685e-06/1.108, allocations: 0 / 0.8085 GB, free: 11.86 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.0004314/1.108, allocations: 362.5 kB / 0.8089 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/1.108, allocations: 10.78 kB / 0.8089 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/1.108, allocations: 37.81 kB / 0.8089 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/1.108, allocations: 3.75 kB / 0.8089 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.824e-05/1.108, allocations: 170.9 kB / 0.8091 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/1.108, allocations: 3.969 kB / 0.8091 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/1.108, allocations: 0.875 kB / 0.8091 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/1.109, allocations: 50.12 kB / 0.8091 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.109, allocations: 0 / 0.8091 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.109, allocations: 11.06 kB / 0.8091 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.109, allocations: 0 / 0.8091 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/1.109, allocations: 21.08 kB / 0.8092 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/1.109, allocations: 281.6 kB / 0.8094 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/1.11, allocations: 46.38 kB / 0.8095 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/1.11, allocations: 16.58 kB / 0.8095 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/1.11, allocations: 405.4 kB / 0.8099 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/1.11, allocations: 34.47 kB / 0.8099 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.437e-06/1.11, allocations: 0 / 0.8099 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002041/1.11, allocations: 58.08 kB / 0.81 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/1.11, allocations: 51.41 kB / 0.81 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.775e-05/1.11, allocations: 106.7 kB / 0.8101 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/1.11, allocations: 25.7 kB / 0.8101 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/1.11, allocations: 83.45 kB / 0.8102 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/1.111, allocations: 7.531 kB / 0.8102 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/1.111, allocations: 0 / 0.8102 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/1.111, allocations: 321 kB / 0.8105 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.459e-05/1.111, allocations: 6.5 kB / 0.8105 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/1.111, allocations: 11.03 kB / 0.8106 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/1.111, allocations: 3.844 kB / 0.8106 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.111, allocations: 7.938 kB / 0.8106 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001237/1.111, allocations: 61.47 kB / 0.8106 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.111, allocations: 6.969 kB / 0.8106 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.111, allocations: 4 kB / 0.8106 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.111, allocations: 0 / 0.8106 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/1.111, allocations: 14.45 kB / 0.8106 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.111, allocations: 0 / 0.8106 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/1.111, allocations: 10.8 kB / 0.8107 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/1.111, allocations: 7.938 kB / 0.8107 GB, free: 9.711 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 (bin.y,bin.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 6.127e-05/1.111, allocations: 110.9 kB / 0.8108 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/1.111, allocations: 3.938 kB / 0.8108 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/1.112, allocations: 54.44 kB / 0.8108 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/1.112, allocations: 0 / 0.8108 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.112, allocations: 4.078 kB / 0.8108 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.112, allocations: 0 / 0.8108 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/1.112, allocations: 179.2 kB / 0.811 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.112, allocations: 3.984 kB / 0.811 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/1.112, allocations: 16.89 kB / 0.811 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.112, allocations: 0 / 0.811 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.112, allocations: 7.594 kB / 0.811 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.112, allocations: 0 / 0.811 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.112, allocations: 0 / 0.811 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/1.112, allocations: 151.8 kB / 0.8112 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/1.113, allocations: 77.11 kB / 0.8112 GB, free: 25.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/1.113, allocations: 7.875 kB / 0.8113 GB, free: 25.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/1.113, allocations: 6.781 kB / 0.8113 GB, free: 25.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/1.113, allocations: 6.594 kB / 0.8113 GB, free: 25.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/1.113, allocations: 2.953 kB / 0.8113 GB, free: 25.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.658e-05/1.113, allocations: 86.72 kB / 0.8114 GB, free: 25.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.11e-07/1.113, allocations: 0 / 0.8114 GB, free: 25.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003619/1.113, allocations: 26.97 kB / 0.8114 GB, free: 25.04 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 (bin.y,bin.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.0006523/1.114, allocations: 0.717 MB / 0.8121 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001274/1.114, allocations: 15.03 kB / 0.8121 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.114, allocations: 0 / 0.8121 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.519e-05/1.114, allocations: 22.3 kB / 0.8121 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/1.115, allocations: 0 / 0.8121 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/1.115, allocations: 115.2 kB / 0.8122 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/1.115, allocations: 0.6897 MB / 0.8129 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.19e-05/1.115, allocations: 6.562 kB / 0.8129 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/1.115, allocations: 14.78 kB / 0.8129 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of SimCode: time 8.72e-07/1.115, allocations: 0 / 0.8129 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/1.137, allocations: 1.577 MB / 0.8145 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/1.137, allocations: 144.6 kB / 0.8146 GB, free: 23.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.46, allocations: 0 / 0.8146 GB, free: 23.08 MB / 0.6511 GB