Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadModel(Buildings): time 4.367/4.367, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.634e-05, allocations: 4 kB / 0.5731 GB, free: 5.746 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1971, allocations: 107.2 MB / 0.6777 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7207/0.9179, allocations: 135.8 MB / 0.8103 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/0.9183, allocations: 85.11 kB / 0.8104 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03416/0.9525, allocations: 5.375 MB / 0.8157 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.095e-06/0.9525, allocations: 0 / 0.8157 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.053e-05/0.9526, allocations: 3.906 kB / 0.8157 GB, free: 11.88 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.0007777/0.9534, allocations: 461.6 kB / 0.8161 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.9535, allocations: 7.844 kB / 0.8161 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.9536, allocations: 19.06 kB / 0.8161 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.9542, allocations: 256.1 kB / 0.8164 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.9543, allocations: 10.3 kB / 0.8164 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.9543, allocations: 3.844 kB / 0.8164 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.9547, allocations: 82.61 kB / 0.8165 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.9547, allocations: 3.984 kB / 0.8165 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.9547, allocations: 7.5 kB / 0.8165 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.9548, allocations: 0 / 0.8165 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.955, allocations: 40.42 kB / 0.8165 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009041/0.9559, allocations: 361.9 kB / 0.8169 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.9562, allocations: 71.3 kB / 0.8169 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.9564, allocations: 31.17 kB / 0.817 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.9564, allocations: 4.031 kB / 0.817 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.9567, allocations: 89.95 kB / 0.817 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 4.675e-06/0.9567, allocations: 0 / 0.817 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004852/0.9572, allocations: 117.9 kB / 0.8172 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.9573, allocations: 81.09 kB / 0.8172 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005618/0.9579, allocations: 236.8 kB / 0.8175 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.9579, allocations: 29.61 kB / 0.8175 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.9581, allocations: 115.5 kB / 0.8176 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.9581, allocations: 30.3 kB / 0.8176 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.9582, allocations: 0 / 0.8176 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.9583, allocations: 328.8 kB / 0.8179 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.9584, allocations: 28.64 kB / 0.818 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.9586, allocations: 56.11 kB / 0.818 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.9588, allocations: 28.98 kB / 0.818 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.9588, allocations: 4.031 kB / 0.8181 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004338/0.9592, allocations: 114 kB / 0.8182 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.9593, allocations: 7.75 kB / 0.8182 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.886e-06/0.9593, allocations: 0 / 0.8182 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.9594, allocations: 0 / 0.8182 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.9596, allocations: 15.53 kB / 0.8182 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.9596, allocations: 2.484 kB / 0.8182 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.9598, allocations: 7.75 kB / 0.8182 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.9599, allocations: 7.875 kB / 0.8182 GB, free: 10.02 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 0.0001373/0.96, allocations: 127.5 kB / 0.8183 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/0.9601, allocations: 19.47 kB / 0.8183 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.9607, allocations: 128.1 kB / 0.8185 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/0.9607, allocations: 3.969 kB / 0.8185 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.191e-06/0.9608, allocations: 0 / 0.8185 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.991e-06/0.9608, allocations: 0 / 0.8185 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.9612, allocations: 238.9 kB / 0.8187 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.228e-06/0.9613, allocations: 0 / 0.8187 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.9614, allocations: 11.03 kB / 0.8187 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.826e-06/0.9614, allocations: 0 / 0.8187 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.9614, allocations: 3.844 kB / 0.8187 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.967e-06/0.9615, allocations: 0 / 0.8187 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.441e-06/0.9615, allocations: 0 / 0.8187 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.962, allocations: 148.7 kB / 0.8189 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.9621, allocations: 99.02 kB / 0.8189 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.048e-05/0.9622, allocations: 4 kB / 0.8189 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.9624, allocations: 11.25 kB / 0.819 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.9625, allocations: 7.125 kB / 0.819 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.9626, allocations: 7.625 kB / 0.819 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004677/0.9631, allocations: 193.4 kB / 0.8192 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.779e-06/0.9631, allocations: 3.844 kB / 0.8192 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008388/0.964, allocations: 41.97 kB / 0.8192 GB, free: 9.375 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.002661/0.9666, allocations: 415.2 kB / 0.8196 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.9671, allocations: 79.19 kB / 0.8197 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.716e-06/0.9671, allocations: 0 / 0.8197 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.9674, allocations: 41.16 kB / 0.8197 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.968, allocations: 32.41 kB / 0.8197 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.969, allocations: 226.5 kB / 0.82 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007313/0.9698, allocations: 0.7382 MB / 0.8207 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.97, allocations: 22.03 kB / 0.8207 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.9701, allocations: 19 kB / 0.8207 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of SimCode: time 2.765e-06/0.9702, allocations: 0 / 0.8207 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of Templates: time 0.008674/0.9789, allocations: 2.261 MB / 0.8229 GB, free: 24.11 MB / 0.6511 GB