Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.794/4.794, allocations: 404.1 MB / 411.3 MB, free: 320 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.952e-05, allocations: 4.219 kB / 0.4945 GB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6606, allocations: 92.69 MB / 0.585 GB, free: 2.27 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/0.9447, allocations: 120.3 MB / 0.7025 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/0.9451, allocations: 79.94 kB / 0.7026 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00758/0.9527, allocations: 1.35 MB / 0.7039 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9528, allocations: 0 / 0.7039 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.9528, allocations: 4 kB / 0.7039 GB, free: 8.367 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004749/0.9533, allocations: 405.8 kB / 0.7043 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.9534, allocations: 12.03 kB / 0.7043 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.9534, allocations: 3.953 kB / 0.7043 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.9537, allocations: 175 kB / 0.7045 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.9537, allocations: 0 / 0.7045 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.9537, allocations: 8 kB / 0.7045 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000119/0.9539, allocations: 23.92 kB / 0.7045 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.954, allocations: 57.69 kB / 0.7046 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.954, allocations: 0 / 0.7046 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.9541, allocations: 4 kB / 0.7046 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.9541, allocations: 7.953 kB / 0.7046 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.9546, allocations: 241.5 kB / 0.7048 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.9548, allocations: 46.56 kB / 0.7049 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.856e-05/0.9548, allocations: 32.83 kB / 0.7049 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.9549, allocations: 4 kB / 0.7049 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.9551, allocations: 109 kB / 0.705 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.805e-06/0.9551, allocations: 0 / 0.705 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0004603/0.9556, allocations: 105.8 kB / 0.7051 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.9557, allocations: 114.8 kB / 0.7052 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.9559, allocations: 104.9 kB / 0.7053 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.9559, allocations: 25.7 kB / 0.7054 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.956, allocations: 88.14 kB / 0.7054 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.956, allocations: 15.84 kB / 0.7055 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.956, allocations: 0 / 0.7055 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9562, allocations: 322.8 kB / 0.7058 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/0.9563, allocations: 16 kB / 0.7058 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.9564, allocations: 23.98 kB / 0.7058 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.9566, allocations: 27.92 kB / 0.7058 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9566, allocations: 4 kB / 0.7058 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003541/0.9569, allocations: 101.6 kB / 0.7059 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.287e-05/0.957, allocations: 67.33 kB / 0.706 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.9571, allocations: 0 / 0.706 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.9571, allocations: 4 kB / 0.706 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-05/0.9571, allocations: 4 kB / 0.706 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.9571, allocations: 0 / 0.706 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.569e-05/0.9572, allocations: 7.859 kB / 0.706 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.9573, allocations: 4 kB / 0.706 GB, free: 6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,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 (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * 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 0.000162/0.9575, allocations: 143.4 kB / 0.7061 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003591/0.9578, allocations: 117.9 kB / 0.7063 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.9579, allocations: 11.94 kB / 0.7063 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.9579, allocations: 8.609 kB / 0.7063 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.9579, allocations: 7.953 kB / 0.7063 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.958, allocations: 0 / 0.7063 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.958, allocations: 0 / 0.7063 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.9582, allocations: 162.3 kB / 0.7064 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9582, allocations: 0 / 0.7064 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-06/0.9582, allocations: 0 / 0.7064 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.9582, allocations: 0 / 0.7064 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.9583, allocations: 4 kB / 0.7064 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.9583, allocations: 0 / 0.7064 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.9583, allocations: 7.984 kB / 0.7065 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.9589, allocations: 148.9 kB / 0.7066 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.959, allocations: 77.11 kB / 0.7067 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.9591, allocations: 8 kB / 0.7067 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.9592, allocations: 4 kB / 0.7067 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.9593, allocations: 11.91 kB / 0.7067 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.9594, allocations: 4 kB / 0.7067 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001652/0.9596, allocations: 91.31 kB / 0.7068 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.61e-07/0.9596, allocations: 0 / 0.7068 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006181/0.9602, allocations: 27.95 kB / 0.7068 GB, free: 5.086 MB / 0.5886 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.y,booTab.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 1 * 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.0009294/0.9612, allocations: 0.7136 MB / 0.7075 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003391/0.9615, allocations: 178.8 kB / 0.7077 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9615, allocations: 0 / 0.7077 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.9617, allocations: 99.39 kB / 0.7078 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.9619, allocations: 4 kB / 0.7078 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.9625, allocations: 153.7 kB / 0.7079 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.9629, allocations: 0.6885 MB / 0.7086 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.9629, allocations: 0 / 0.7086 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.963, allocations: 19.42 kB / 0.7086 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/0.963, allocations: 64 / 0.7086 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04121/1.004, allocations: 1.447 MB / 0.71 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003253/1.005, allocations: 150.2 kB / 0.7102 GB, free: 1.473 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.671/3.675, allocations: 4 kB / 0.7102 GB, free: 1.469 MB / 0.5886 GB