Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadModel(Buildings): time 3.868/3.868, allocations: 403.9 MB / 411 MB, free: 372 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.546e-05, allocations: 11.88 kB / 0.4942 GB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.5673, allocations: 92.68 MB / 0.5847 GB, free: 2.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.7564, allocations: 120.3 MB / 0.7022 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.7566, allocations: 75.95 kB / 0.7022 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005366/0.762, allocations: 1.354 MB / 0.7036 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.97e-06/0.762, allocations: 0 / 0.7036 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.7621, allocations: 0 / 0.7036 GB, free: 8.5 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.0003753/0.7624, allocations: 393.9 kB / 0.7039 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.7625, allocations: 8.031 kB / 0.7039 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.7625, allocations: 11.86 kB / 0.704 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.7628, allocations: 175.1 kB / 0.7041 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.7628, allocations: 0 / 0.7041 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.7628, allocations: 4 kB / 0.7041 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.653e-05/0.7629, allocations: 20 kB / 0.7041 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.763, allocations: 73.53 kB / 0.7042 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.347e-06/0.7631, allocations: 0 / 0.7042 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.7631, allocations: 4 kB / 0.7042 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.7631, allocations: 7.953 kB / 0.7042 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.7635, allocations: 245.5 kB / 0.7045 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.576e-05/0.7636, allocations: 42.56 kB / 0.7045 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.7637, allocations: 28.89 kB / 0.7045 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.919e-06/0.7637, allocations: 0 / 0.7045 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.7639, allocations: 116.9 kB / 0.7046 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.288e-06/0.7639, allocations: 0 / 0.7046 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003241/0.7642, allocations: 109.6 kB / 0.7047 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.7643, allocations: 110.8 kB / 0.7048 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.7644, allocations: 101 kB / 0.7049 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.7644, allocations: 29.69 kB / 0.705 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.7645, allocations: 88.05 kB / 0.7051 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.7646, allocations: 15.81 kB / 0.7051 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-06/0.7646, allocations: 7.969 kB / 0.7051 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7647, allocations: 318.8 kB / 0.7054 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.018e-05/0.7648, allocations: 20 kB / 0.7054 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.812e-05/0.7648, allocations: 23.92 kB / 0.7054 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.765, allocations: 27.98 kB / 0.7054 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-06/0.765, allocations: 0 / 0.7054 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000271/0.7653, allocations: 109.5 kB / 0.7056 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/0.7653, allocations: 63.39 kB / 0.7056 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.058e-06/0.7654, allocations: 0 / 0.7056 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.7654, allocations: 4 kB / 0.7056 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-05/0.7654, allocations: 0 / 0.7056 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.781e-06/0.7654, allocations: 0 / 0.7056 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.7655, allocations: 7.953 kB / 0.7056 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.7655, allocations: 4 kB / 0.7056 GB, free: 6.129 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.0001366/0.7657, allocations: 143.2 kB / 0.7058 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.7657, allocations: 7.906 kB / 0.7058 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.7657, allocations: 4.625 kB / 0.7058 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.7658, allocations: 11.98 kB / 0.7058 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.195e-06/0.7658, allocations: 0 / 0.7058 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.118e-06/0.7658, allocations: 0 / 0.7058 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.766, allocations: 154.3 kB / 0.7059 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.766, allocations: 128 / 0.7059 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-06/0.766, allocations: 4 kB / 0.7059 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.681e-06/0.766, allocations: 3.984 kB / 0.7059 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.766, allocations: 0 / 0.7059 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.766, allocations: 7.938 kB / 0.706 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.413e-06/0.766, allocations: 0 / 0.706 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.7663, allocations: 152.9 kB / 0.7061 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.7664, allocations: 77.11 kB / 0.7062 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.7665, allocations: 7.984 kB / 0.7062 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-05/0.7665, allocations: 4 kB / 0.7062 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.7666, allocations: 4 kB / 0.7062 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.7666, allocations: 7.984 kB / 0.7062 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.602e-05/0.7667, allocations: 83.28 kB / 0.7063 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.69e-07/0.7667, allocations: 4 kB / 0.7063 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003082/0.767, allocations: 28.03 kB / 0.7063 GB, free: 5.348 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.0002279/0.7672, allocations: 135 kB / 0.7064 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.7675, allocations: 174.7 kB / 0.7066 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.383e-06/0.7675, allocations: 0 / 0.7066 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.7677, allocations: 103.4 kB / 0.7067 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.7678, allocations: 8.641 kB / 0.7067 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.7681, allocations: 120 kB / 0.7068 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.7684, allocations: 0.6885 MB / 0.7075 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.7685, allocations: 3.984 kB / 0.7075 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.87e-05/0.7685, allocations: 11.44 kB / 0.7075 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of SimCode: time 9.61e-07/0.7685, allocations: 0 / 0.7075 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of Templates: time 0.003587/0.7721, allocations: 0.8085 MB / 0.7083 GB, free: 3.215 MB / 0.5886 GB