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.811/3.811, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.75e-05, allocations: 7.938 kB / 0.499 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5106, allocations: 92.68 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.6878, allocations: 120.7 MB / 0.7074 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.6881, allocations: 71.95 kB / 0.7075 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004212/0.6923, allocations: 1.096 MB / 0.7086 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.133e-06/0.6924, allocations: 0 / 0.7086 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.327e-06/0.6924, allocations: 0 / 0.7086 GB, free: 4.434 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.0005025/0.6929, allocations: 384.2 kB / 0.7089 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.6929, allocations: 8.031 kB / 0.7089 GB, free: 4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.693, allocations: 15.84 kB / 0.709 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.6932, allocations: 159.1 kB / 0.7091 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.6932, allocations: 4 kB / 0.7091 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.6932, allocations: 11.98 kB / 0.7091 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.6934, allocations: 53.62 kB / 0.7092 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6934, allocations: 0 / 0.7092 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.6934, allocations: 3.938 kB / 0.7092 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.6934, allocations: 0 / 0.7092 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.6935, allocations: 20 kB / 0.7092 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.694, allocations: 268.8 kB / 0.7095 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.6941, allocations: 38.58 kB / 0.7095 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.6942, allocations: 24.98 kB / 0.7095 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.6942, allocations: 7.875 kB / 0.7095 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.6944, allocations: 105.1 kB / 0.7096 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.55e-06/0.6944, allocations: 0 / 0.7096 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002945/0.6947, allocations: 123.3 kB / 0.7097 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.6948, allocations: 81.11 kB / 0.7098 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.6949, allocations: 101 kB / 0.7099 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.6949, allocations: 29.7 kB / 0.7099 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.695, allocations: 96.03 kB / 0.71 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.6951, allocations: 11.81 kB / 0.7101 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-06/0.6951, allocations: 4 kB / 0.7101 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6952, allocations: 318.8 kB / 0.7104 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.6953, allocations: 12 kB / 0.7104 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.6954, allocations: 38.58 kB / 0.7104 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.178e-05/0.6954, allocations: 49.67 kB / 0.7105 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.566e-06/0.6955, allocations: 0 / 0.7105 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002226/0.6957, allocations: 119.3 kB / 0.7106 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.6957, allocations: 33.7 kB / 0.7106 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6958, allocations: 0 / 0.7106 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6958, allocations: 3.938 kB / 0.7106 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.6958, allocations: 7.953 kB / 0.7106 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.295e-06/0.6959, allocations: 3.984 kB / 0.7106 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.696, allocations: 15.97 kB / 0.7106 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.696, allocations: 4 kB / 0.7106 GB, free: 2.055 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.0001213/0.6961, allocations: 138.7 kB / 0.7108 GB, free: 1.906 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.6962, allocations: 4 kB / 0.7108 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.6962, allocations: 8.625 kB / 0.7108 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.157e-06/0.6962, allocations: 4 kB / 0.7108 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.819e-06/0.6962, allocations: 7.891 kB / 0.7108 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.914e-06/0.6962, allocations: 0 / 0.7108 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.6968, allocations: 400.2 kB / 0.7112 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-06/0.6968, allocations: 0 / 0.7112 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.6968, allocations: 3.938 kB / 0.7112 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.472e-06/0.6969, allocations: 4 kB / 0.7112 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.6969, allocations: 11.94 kB / 0.7112 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.303e-06/0.6969, allocations: 4.062 kB / 0.7112 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.699e-06/0.6969, allocations: 0 / 0.7112 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.6972, allocations: 225.1 kB / 0.7114 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.6973, allocations: 85.02 kB / 0.7115 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.6973, allocations: 4 kB / 0.7115 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.6975, allocations: 15.94 kB / 0.7115 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.6976, allocations: 11.92 kB / 0.7115 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.6976, allocations: 4 kB / 0.7115 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.6977, allocations: 87.83 kB / 0.7116 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.18e-07/0.6977, allocations: 0 / 0.7116 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003488/0.698, allocations: 20 kB / 0.7116 GB, free: 0.9258 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.0001334/0.6982, allocations: 108.4 kB / 0.7117 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.6984, allocations: 115.6 kB / 0.7118 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.576e-06/0.6984, allocations: 0 / 0.7118 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.6986, allocations: 91.39 kB / 0.7119 GB, free: 0.582 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.6988, allocations: 15.92 kB / 0.7119 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.6992, allocations: 105 kB / 0.712 GB, free: 452 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.6995, allocations: 0.6887 MB / 0.7127 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.798e-05/0.6996, allocations: 4 kB / 0.7127 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.6996, allocations: 15.38 kB / 0.7127 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3.22e-06/0.6996, allocations: 0 / 0.7127 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.003541/0.7032, allocations: 0.7512 MB / 0.7135 GB, free: 14.96 MB / 0.6042 GB