Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.27/4.27, allocations: 464.6 MB / 476.8 MB, free: 2.094 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.484e-05, allocations: 4 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2346, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8422/1.077, allocations: 135.8 MB / 0.8104 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/1.077, allocations: 81.39 kB / 0.8105 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02227/1.1, allocations: 5.371 MB / 0.8157 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.387e-06/1.1, allocations: 2.906 kB / 0.8157 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.634e-05/1.1, allocations: 7.875 kB / 0.8158 GB, free: 11.98 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000664/1.1, allocations: 459.9 kB / 0.8162 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/1.1, allocations: 15.38 kB / 0.8162 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/1.1, allocations: 30.56 kB / 0.8162 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/1.101, allocations: 15.56 kB / 0.8162 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/1.101, allocations: 260.8 kB / 0.8165 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/1.101, allocations: 3.844 kB / 0.8165 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/1.101, allocations: 3.844 kB / 0.8165 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/1.101, allocations: 92.08 kB / 0.8166 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.101, allocations: 0 / 0.8166 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/1.101, allocations: 0 / 0.8166 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/1.101, allocations: 7.797 kB / 0.8166 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/1.102, allocations: 39.88 kB / 0.8166 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/1.102, allocations: 364.2 kB / 0.817 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/1.102, allocations: 67.45 kB / 0.8171 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/1.103, allocations: 41.72 kB / 0.8171 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/1.103, allocations: 3.75 kB / 0.8171 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/1.103, allocations: 89.5 kB / 0.8172 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.795e-06/1.103, allocations: 0 / 0.8172 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003378/1.103, allocations: 109.2 kB / 0.8173 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.103, allocations: 80.73 kB / 0.8174 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/1.104, allocations: 235.6 kB / 0.8176 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/1.104, allocations: 29.58 kB / 0.8176 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/1.104, allocations: 115 kB / 0.8177 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/1.104, allocations: 22.66 kB / 0.8177 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/1.104, allocations: 7.875 kB / 0.8178 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/1.104, allocations: 332.2 kB / 0.8181 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/1.104, allocations: 29.41 kB / 0.8181 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.447e-05/1.104, allocations: 52.12 kB / 0.8181 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.044e-05/1.104, allocations: 36.19 kB / 0.8182 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.104, allocations: 0 / 0.8182 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002377/1.104, allocations: 115.5 kB / 0.8183 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.104, allocations: 3.875 kB / 0.8183 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.104, allocations: 0 / 0.8183 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.104, allocations: 3.844 kB / 0.8183 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/1.105, allocations: 17.67 kB / 0.8183 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.105, allocations: 160 / 0.8183 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/1.105, allocations: 11.81 kB / 0.8183 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/1.105, allocations: 7.859 kB / 0.8183 GB, free: 10.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.774e-05/1.105, allocations: 127 kB / 0.8185 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/1.105, allocations: 19.56 kB / 0.8185 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/1.105, allocations: 118.9 kB / 0.8186 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/1.105, allocations: 3.875 kB / 0.8186 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/1.105, allocations: 3.938 kB / 0.8186 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.105, allocations: 0 / 0.8186 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/1.106, allocations: 233.6 kB / 0.8188 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.106, allocations: 3.844 kB / 0.8188 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/1.106, allocations: 6.656 kB / 0.8188 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.106, allocations: 4 kB / 0.8188 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/1.106, allocations: 3.375 kB / 0.8188 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.106, allocations: 0 / 0.8188 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/1.106, allocations: 3.875 kB / 0.8188 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/1.106, allocations: 146.7 kB / 0.819 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/1.106, allocations: 98.45 kB / 0.8191 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/1.106, allocations: 7.969 kB / 0.8191 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/1.106, allocations: 9.875 kB / 0.8191 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/1.106, allocations: 10.91 kB / 0.8191 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/1.106, allocations: 0 / 0.8191 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002421/1.107, allocations: 194.1 kB / 0.8193 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.473e-06/1.107, allocations: 0 / 0.8193 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003515/1.107, allocations: 42.69 kB / 0.8193 GB, free: 9.434 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: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001454/1.108, allocations: 0.9931 MB / 0.8203 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002484/1.109, allocations: 78.03 kB / 0.8204 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.109, allocations: 0 / 0.8204 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.095e-05/1.109, allocations: 33.31 kB / 0.8204 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/1.109, allocations: 36.42 kB / 0.8204 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007376/1.11, allocations: 296.9 kB / 0.8207 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/1.111, allocations: 0.7326 MB / 0.8214 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001184/1.111, allocations: 30.7 kB / 0.8215 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/1.111, allocations: 45.25 kB / 0.8215 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/1.111, allocations: 7.844 kB / 0.8215 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/1.137, allocations: 4.055 MB / 0.8255 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/1.138, allocations: 197.1 kB / 0.8257 GB, free: 22.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/3.644, allocations: 0 / 0.8257 GB, free: 22.77 MB / 0.6511 GB