Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadModel(Buildings): time 3.8/3.8, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.945e-05, allocations: 11.94 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4804, allocations: 92.69 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.66, allocations: 120.7 MB / 0.7075 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.6603, allocations: 71.95 kB / 0.7075 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004193/0.6645, allocations: 1.096 MB / 0.7086 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.066e-06/0.6646, allocations: 0 / 0.7086 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.6646, allocations: 0 / 0.7086 GB, free: 4.289 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000503/0.6651, allocations: 381 kB / 0.709 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.6652, allocations: 12.03 kB / 0.709 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.6652, allocations: 15.86 kB / 0.709 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.6654, allocations: 163.1 kB / 0.7091 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.6654, allocations: 4 kB / 0.7091 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.6654, allocations: 7.984 kB / 0.7092 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.6656, allocations: 53.62 kB / 0.7092 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.6656, allocations: 4 kB / 0.7092 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.6656, allocations: 3.938 kB / 0.7092 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-06/0.6656, allocations: 0 / 0.7092 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.6657, allocations: 16 kB / 0.7092 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.6662, allocations: 272.9 kB / 0.7095 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.6663, allocations: 34.58 kB / 0.7095 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.6664, allocations: 28.91 kB / 0.7096 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.6664, allocations: 0 / 0.7096 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.6666, allocations: 105 kB / 0.7097 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.619e-06/0.6666, allocations: 0 / 0.7097 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002906/0.6669, allocations: 123.2 kB / 0.7098 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.667, allocations: 85.17 kB / 0.7099 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.6671, allocations: 101 kB / 0.7099 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.6672, allocations: 33.7 kB / 0.71 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.6673, allocations: 84.05 kB / 0.7101 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.6673, allocations: 15.81 kB / 0.7101 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.6673, allocations: 0 / 0.7101 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6675, allocations: 326.8 kB / 0.7104 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.6675, allocations: 12 kB / 0.7104 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.565e-05/0.6676, allocations: 34.58 kB / 0.7104 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.383e-05/0.6677, allocations: 45.69 kB / 0.7105 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.531e-06/0.6677, allocations: 0 / 0.7105 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002283/0.6679, allocations: 123.7 kB / 0.7106 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.668, allocations: 37.69 kB / 0.7106 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.668, allocations: 0 / 0.7106 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.668, allocations: 4 kB / 0.7106 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.6681, allocations: 3.953 kB / 0.7106 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.6681, allocations: 11.92 kB / 0.7106 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.6682, allocations: 15.89 kB / 0.7107 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.6683, allocations: 4 kB / 0.7107 GB, free: 1.906 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * 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 prepare postOptimizeDAE: time 0.0001255/0.6684, allocations: 146.7 kB / 0.7108 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.6684, allocations: 4 kB / 0.7108 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.6685, allocations: 4.625 kB / 0.7108 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.35e-06/0.6685, allocations: 0 / 0.7108 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.401e-06/0.6685, allocations: 7.891 kB / 0.7108 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.929e-06/0.6685, allocations: 3.984 kB / 0.7108 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.6691, allocations: 392.2 kB / 0.7112 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-06/0.6691, allocations: 4 kB / 0.7112 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.6691, allocations: 0 / 0.7112 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.704e-06/0.6691, allocations: 0 / 0.7112 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.6692, allocations: 7.953 kB / 0.7112 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.6692, allocations: 4 kB / 0.7112 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.827e-06/0.6692, allocations: 0 / 0.7112 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.6695, allocations: 233.1 kB / 0.7114 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.6696, allocations: 81.02 kB / 0.7115 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.6696, allocations: 11.98 kB / 0.7115 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.6698, allocations: 15.95 kB / 0.7115 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.6698, allocations: 7.984 kB / 0.7115 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.6699, allocations: 0 / 0.7115 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.116e-05/0.6699, allocations: 91.27 kB / 0.7116 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.58e-07/0.6699, allocations: 0 / 0.7116 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003181/0.6703, allocations: 20 kB / 0.7117 GB, free: 0.7812 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulsStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001337/0.6704, allocations: 108.5 kB / 0.7118 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.6706, allocations: 107.4 kB / 0.7119 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.548e-06/0.6707, allocations: 4.062 kB / 0.7119 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.6708, allocations: 95.33 kB / 0.712 GB, free: 448 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.6711, allocations: 16.05 kB / 0.712 GB, free: 432 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.6714, allocations: 96.84 kB / 0.7121 GB, free: 312 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.6718, allocations: 0.6848 MB / 0.7127 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.343e-05/0.6718, allocations: 7.984 kB / 0.7127 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.6719, allocations: 19.38 kB / 0.7128 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of SimCode: time 1.535e-06/0.6719, allocations: 0 / 0.7128 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.003658/0.6756, allocations: 0.7442 MB / 0.7135 GB, free: 14.83 MB / 0.6042 GB