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.683/3.683, allocations: 402 MB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.398e-05, allocations: 4 kB / 0.5003 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1723, allocations: 92.68 MB / 0.5908 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6199/0.7923, allocations: 120.8 MB / 0.7088 GB, free: 5.707 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.7925, allocations: 71.97 kB / 0.7088 GB, free: 5.637 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.004254/0.7968, allocations: 1.106 MB / 0.7099 GB, free: 4.535 MB / 0.573 GB Notification: Performance of FrontEnd: time 5.515e-06/0.7969, allocations: 3.984 kB / 0.7099 GB, free: 4.531 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.7969, allocations: 0 / 0.7099 GB, free: 4.531 MB / 0.573 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.0005361/0.7974, allocations: 385 kB / 0.7103 GB, free: 4.102 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7975, allocations: 8.031 kB / 0.7103 GB, free: 4.094 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.7975, allocations: 11.86 kB / 0.7103 GB, free: 4.082 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.7977, allocations: 163.1 kB / 0.7105 GB, free: 3.883 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.7977, allocations: 4 kB / 0.7105 GB, free: 3.879 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.7978, allocations: 4 kB / 0.7105 GB, free: 3.875 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.7979, allocations: 53.61 kB / 0.7105 GB, free: 3.816 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.911e-06/0.7979, allocations: 0 / 0.7105 GB, free: 3.816 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.798, allocations: 11.92 kB / 0.7105 GB, free: 3.805 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-06/0.798, allocations: 4 kB / 0.7105 GB, free: 3.801 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.7981, allocations: 16 kB / 0.7106 GB, free: 3.785 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.7985, allocations: 264.9 kB / 0.7108 GB, free: 3.477 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.7987, allocations: 46.5 kB / 0.7108 GB, free: 3.422 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.7987, allocations: 0 / 0.7108 GB, free: 3.422 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.7989, allocations: 111.1 kB / 0.711 GB, free: 3.297 MB / 0.573 GB Notification: Performance of pre-optimization done (n=9): time 6.153e-06/0.7989, allocations: 3.984 kB / 0.711 GB, free: 3.293 MB / 0.573 GB Notification: Performance of matching and sorting (n=9): time 0.00043/0.7994, allocations: 220.4 kB / 0.7112 GB, free: 3.047 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.7995, allocations: 77.11 kB / 0.7112 GB, free: 2.953 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.7996, allocations: 113.1 kB / 0.7113 GB, free: 2.836 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.7996, allocations: 29.7 kB / 0.7114 GB, free: 2.801 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.7997, allocations: 84.05 kB / 0.7115 GB, free: 2.715 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.7997, allocations: 19.8 kB / 0.7115 GB, free: 2.695 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-06/0.7998, allocations: 4 kB / 0.7115 GB, free: 2.691 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7999, allocations: 318.8 kB / 0.7118 GB, free: 2.371 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.8, allocations: 18.17 kB / 0.7118 GB, free: 2.355 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.607e-05/0.8001, allocations: 34.58 kB / 0.7118 GB, free: 2.312 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.18e-05/0.8002, allocations: 49.62 kB / 0.7119 GB, free: 2.258 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.527e-06/0.8002, allocations: 0 / 0.7119 GB, free: 2.258 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002327/0.8004, allocations: 123.3 kB / 0.712 GB, free: 2.125 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.8005, allocations: 33.7 kB / 0.712 GB, free: 2.086 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.179e-06/0.8005, allocations: 4 kB / 0.712 GB, free: 2.082 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.8005, allocations: 0 / 0.712 GB, free: 2.082 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.8006, allocations: 7.984 kB / 0.712 GB, free: 2.074 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.8006, allocations: 3.953 kB / 0.712 GB, free: 2.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.78e-05/0.8007, allocations: 11.91 kB / 0.7121 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.8007, allocations: 4.062 kB / 0.7121 GB, free: 2.055 MB / 0.573 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.0001628/0.8009, allocations: 157.8 kB / 0.7122 GB, free: 1.887 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.8009, allocations: 4 kB / 0.7122 GB, free: 1.883 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.801, allocations: 16.31 kB / 0.7122 GB, free: 1.867 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.801, allocations: 0 / 0.7122 GB, free: 1.867 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.801, allocations: 3.938 kB / 0.7122 GB, free: 1.863 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.527e-06/0.801, allocations: 7.891 kB / 0.7122 GB, free: 1.855 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.8016, allocations: 392.2 kB / 0.7126 GB, free: 1.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-06/0.8017, allocations: 0 / 0.7126 GB, free: 1.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/0.8017, allocations: 3.984 kB / 0.7126 GB, free: 1.406 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.8017, allocations: 4 kB / 0.7126 GB, free: 1.402 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.8017, allocations: 4 kB / 0.7126 GB, free: 1.398 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.613e-06/0.8017, allocations: 3.953 kB / 0.7126 GB, free: 1.395 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.815e-06/0.8017, allocations: 0 / 0.7126 GB, free: 1.395 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.8021, allocations: 237.1 kB / 0.7129 GB, free: 1.141 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.8021, allocations: 81.02 kB / 0.7129 GB, free: 1.043 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.8022, allocations: 4 kB / 0.7129 GB, free: 1.039 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.8023, allocations: 15.98 kB / 0.713 GB, free: 1.023 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.8024, allocations: 15.94 kB / 0.713 GB, free: 1.008 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.8024, allocations: 0 / 0.713 GB, free: 1.008 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.742e-05/0.8025, allocations: 87.28 kB / 0.7131 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.13e-07/0.8025, allocations: 0 / 0.7131 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003226/0.8028, allocations: 15.98 kB / 0.7131 GB, free: 0.9062 MB / 0.573 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.0001287/0.803, allocations: 107 kB / 0.7132 GB, free: 0.793 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.8032, allocations: 115.3 kB / 0.7133 GB, free: 0.668 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.81e-06/0.8033, allocations: 0 / 0.7133 GB, free: 0.668 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.8034, allocations: 91.39 kB / 0.7134 GB, free: 0.5664 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.8037, allocations: 13.98 kB / 0.7134 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.8041, allocations: 165.2 kB / 0.7135 GB, free: 368 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.8045, allocations: 0.6887 MB / 0.7142 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.077e-05/0.8045, allocations: 7.984 kB / 0.7142 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.8046, allocations: 11.44 kB / 0.7142 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of SimCode: time 1.317e-06/0.8046, allocations: 3.938 kB / 0.7142 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of Templates: time 0.003662/0.8083, allocations: 0.7483 MB / 0.715 GB, free: 14.88 MB / 0.5886 GB