Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadModel(Buildings): time 4.275/4.275, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.573e-05, allocations: 8 kB / 0.5731 GB, free: 5.734 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2202, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7975/1.018, allocations: 132.4 MB / 0.8071 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.018, allocations: 70.78 kB / 0.8071 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004911/1.023, allocations: 1.325 MB / 0.8084 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/1.023, allocations: 0 / 0.8084 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.203e-06/1.023, allocations: 0 / 0.8084 GB, free: 12.11 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.000342/1.023, allocations: 356.3 kB / 0.8088 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/1.023, allocations: 11.69 kB / 0.8088 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/1.023, allocations: 4 kB / 0.8088 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.251e-05/1.024, allocations: 178.1 kB / 0.809 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/1.024, allocations: 0 / 0.809 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/1.024, allocations: 7.438 kB / 0.809 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/1.024, allocations: 50.47 kB / 0.809 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.955e-06/1.024, allocations: 0 / 0.809 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/1.024, allocations: 2.625 kB / 0.809 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-06/1.024, allocations: 0 / 0.809 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.845e-05/1.024, allocations: 17.56 kB / 0.809 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/1.024, allocations: 285.5 kB / 0.8093 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/1.024, allocations: 49.78 kB / 0.8094 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/1.025, allocations: 12.14 kB / 0.8094 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/1.025, allocations: 411.9 kB / 0.8098 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/1.025, allocations: 34.56 kB / 0.8098 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.233e-06/1.025, allocations: 3.938 kB / 0.8098 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001797/1.025, allocations: 59.03 kB / 0.8099 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/1.025, allocations: 51.41 kB / 0.8099 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/1.025, allocations: 99.34 kB / 0.81 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/1.025, allocations: 29.64 kB / 0.81 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/1.025, allocations: 87.67 kB / 0.8101 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/1.025, allocations: 3.906 kB / 0.8101 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-06/1.025, allocations: 4 kB / 0.8101 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.246e-05/1.025, allocations: 321.2 kB / 0.8104 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/1.025, allocations: 7.812 kB / 0.8104 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/1.025, allocations: 7.562 kB / 0.8104 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/1.025, allocations: 10.44 kB / 0.8105 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-06/1.025, allocations: 0 / 0.8105 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001335/1.026, allocations: 47.44 kB / 0.8105 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.026, allocations: 3.844 kB / 0.8105 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.606e-06/1.026, allocations: 0 / 0.8105 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.026, allocations: 4 kB / 0.8105 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/1.026, allocations: 16.94 kB / 0.8105 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.088e-06/1.026, allocations: 0 / 0.8105 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/1.026, allocations: 14.53 kB / 0.8105 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/1.026, allocations: 3.625 kB / 0.8105 GB, free: 10.01 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 4.98e-05/1.026, allocations: 116.7 kB / 0.8107 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/1.026, allocations: 0 / 0.8107 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/1.026, allocations: 64.56 kB / 0.8107 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-06/1.026, allocations: 0 / 0.8107 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.139e-06/1.026, allocations: 0 / 0.8107 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-06/1.026, allocations: 0 / 0.8107 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/1.026, allocations: 176.6 kB / 0.8109 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-06/1.026, allocations: 0 / 0.8109 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/1.027, allocations: 14.22 kB / 0.8109 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.834e-06/1.027, allocations: 0 / 0.8109 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/1.027, allocations: 0 / 0.8109 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.1e-06/1.027, allocations: 6.719 kB / 0.8109 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.605e-06/1.027, allocations: 0 / 0.8109 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/1.027, allocations: 156.6 kB / 0.811 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/1.027, allocations: 83.55 kB / 0.8111 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/1.027, allocations: 0 / 0.8111 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/1.027, allocations: 10.36 kB / 0.8111 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/1.027, allocations: 2.953 kB / 0.8111 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.943e-06/1.027, allocations: 7.844 kB / 0.8111 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.74e-05/1.027, allocations: 82.75 kB / 0.8112 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.92e-07/1.027, allocations: 0 / 0.8112 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003555/1.027, allocations: 37.16 kB / 0.8113 GB, free: 9.328 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 (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.0001743/1.028, allocations: 116.7 kB / 0.8114 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001138/1.028, allocations: 25.62 kB / 0.8114 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.411e-06/1.028, allocations: 3.844 kB / 0.8114 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.323e-05/1.028, allocations: 15.28 kB / 0.8114 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/1.028, allocations: 3.953 kB / 0.8114 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/1.028, allocations: 73.91 kB / 0.8115 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/1.029, allocations: 0.6829 MB / 0.8122 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.121e-05/1.029, allocations: 7.719 kB / 0.8122 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/1.029, allocations: 14.17 kB / 0.8122 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of SimCode: time 1.476e-06/1.029, allocations: 4 kB / 0.8122 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of Templates: time 0.003484/1.032, allocations: 0.8233 MB / 0.813 GB, free: 24.38 MB / 0.6511 GB