Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadModel(Buildings): time 4.118/4.118, allocations: 460.5 MB / 472.6 MB, free: 5.363 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.684e-05, allocations: 4 kB / 0.5681 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2316, allocations: 106.2 MB / 0.6718 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7088/0.9404, allocations: 132 MB / 0.8007 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.9407, allocations: 71.48 kB / 0.8008 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003956/0.9447, allocations: 1.13 MB / 0.8019 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.459e-06/0.9447, allocations: 0 / 0.8019 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.678e-06/0.9447, allocations: 3.906 kB / 0.8019 GB, free: 12.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003903/0.9451, allocations: 380.7 kB / 0.8023 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.9452, allocations: 11.69 kB / 0.8023 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.9452, allocations: 5.359 kB / 0.8023 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.992e-05/0.9453, allocations: 168.4 kB / 0.8024 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.9454, allocations: 3.781 kB / 0.8025 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.9454, allocations: 0 / 0.8025 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.9455, allocations: 59.58 kB / 0.8025 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.135e-06/0.9455, allocations: 4 kB / 0.8025 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.9456, allocations: 0 / 0.8025 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-06/0.9456, allocations: 1.688 kB / 0.8025 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.8e-05/0.9457, allocations: 18.28 kB / 0.8025 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.946, allocations: 267.5 kB / 0.8028 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.9462, allocations: 41.62 kB / 0.8028 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.9462, allocations: 29.34 kB / 0.8029 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.9463, allocations: 3.875 kB / 0.8029 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.9464, allocations: 92.83 kB / 0.8029 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.789e-06/0.9464, allocations: 0 / 0.8029 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002587/0.9467, allocations: 124.2 kB / 0.8031 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.9468, allocations: 86.12 kB / 0.8031 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/0.9468, allocations: 106.4 kB / 0.8032 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.9469, allocations: 32.77 kB / 0.8033 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.9469, allocations: 85.22 kB / 0.8034 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.947, allocations: 11.69 kB / 0.8034 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-06/0.947, allocations: 3.375 kB / 0.8034 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.947, allocations: 320.8 kB / 0.8037 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.9471, allocations: 11.72 kB / 0.8037 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.528e-05/0.9472, allocations: 38.98 kB / 0.8037 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/0.9472, allocations: 42.56 kB / 0.8038 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.542e-06/0.9472, allocations: 3.875 kB / 0.8038 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001874/0.9474, allocations: 123.8 kB / 0.8039 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.9475, allocations: 35.19 kB / 0.8039 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.679e-06/0.9475, allocations: 0 / 0.8039 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.9475, allocations: 3.875 kB / 0.8039 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.861e-05/0.9476, allocations: 3.828 kB / 0.8039 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.9476, allocations: 13.55 kB / 0.8039 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.9477, allocations: 9.219 kB / 0.804 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.9477, allocations: 7.531 kB / 0.804 GB, free: 10.8 MB / 0.6355 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.pulseStart,booleanPulse.pulseStart) * 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 7.822e-05/0.9478, allocations: 142.9 kB / 0.8041 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.9479, allocations: 15.05 kB / 0.8041 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.9479, allocations: 5.984 kB / 0.8041 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-06/0.9479, allocations: 0 / 0.8041 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.9479, allocations: 0 / 0.8041 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.393e-06/0.9479, allocations: 7.703 kB / 0.8041 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.9484, allocations: 398.2 kB / 0.8045 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-06/0.9484, allocations: 0 / 0.8045 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/0.9485, allocations: 5.344 kB / 0.8045 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.099e-06/0.9485, allocations: 4 kB / 0.8045 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.9485, allocations: 0 / 0.8045 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.762e-06/0.9485, allocations: 7.844 kB / 0.8045 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.4e-06/0.9485, allocations: 5.391 kB / 0.8045 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.9487, allocations: 228.4 kB / 0.8047 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.9488, allocations: 84.95 kB / 0.8048 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.9488, allocations: 4.141 kB / 0.8048 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.949, allocations: 11.72 kB / 0.8048 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.949, allocations: 9.469 kB / 0.8048 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.9491, allocations: 5.203 kB / 0.8049 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.058e-05/0.9491, allocations: 88.33 kB / 0.8049 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.29e-07/0.9491, allocations: 0 / 0.8049 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003334/0.9495, allocations: 15.44 kB / 0.805 GB, free: 9.949 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * 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.0001014/0.9496, allocations: 108 kB / 0.8051 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.9498, allocations: 110.4 kB / 0.8052 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.78e-06/0.9498, allocations: 0 / 0.8052 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.9499, allocations: 86.94 kB / 0.8052 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.9502, allocations: 15 kB / 0.8053 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.9505, allocations: 103.8 kB / 0.8054 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007333/0.9512, allocations: 0.6882 MB / 0.806 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.642e-05/0.9513, allocations: 3.844 kB / 0.806 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.9514, allocations: 12.72 kB / 0.806 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of SimCode: time 2.249e-06/0.9514, allocations: 0 / 0.806 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.00406/0.9555, allocations: 0.7491 MB / 0.8068 GB, free: 24.86 MB / 0.6511 GB