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.635/3.635, allocations: 403.9 MB / 411 MB, free: 384 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.335e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5078, allocations: 92.68 MB / 0.5847 GB, free: 2.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/0.6846, allocations: 120.1 MB / 0.7019 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.6849, allocations: 67.97 kB / 0.702 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00409/0.689, allocations: 1.103 MB / 0.7031 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.969e-06/0.689, allocations: 0 / 0.7031 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.315e-06/0.689, allocations: 0 / 0.7031 GB, free: 9.004 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.0004891/0.6895, allocations: 380.1 kB / 0.7034 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.6896, allocations: 12.03 kB / 0.7034 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.6896, allocations: 11.86 kB / 0.7034 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.6898, allocations: 171 kB / 0.7036 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.6898, allocations: 0 / 0.7036 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.6898, allocations: 4 kB / 0.7036 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.55e-05/0.6899, allocations: 16 kB / 0.7036 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.6901, allocations: 45.69 kB / 0.7037 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6901, allocations: 3.938 kB / 0.7037 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.6901, allocations: 3.938 kB / 0.7037 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.425e-06/0.6901, allocations: 3.953 kB / 0.7037 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.6906, allocations: 249.5 kB / 0.7039 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.6907, allocations: 34.58 kB / 0.704 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.6907, allocations: 16.98 kB / 0.704 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.6908, allocations: 4 kB / 0.704 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.6909, allocations: 108.9 kB / 0.7041 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.708e-06/0.691, allocations: 0 / 0.7041 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002611/0.6912, allocations: 89.62 kB / 0.7042 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.6913, allocations: 77.11 kB / 0.7042 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/0.6914, allocations: 101 kB / 0.7043 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.6914, allocations: 29.7 kB / 0.7044 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.6915, allocations: 88.05 kB / 0.7044 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.6916, allocations: 19.88 kB / 0.7045 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-06/0.6916, allocations: 0 / 0.7045 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6917, allocations: 318.8 kB / 0.7048 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.6918, allocations: 16 kB / 0.7048 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.6918, allocations: 34.52 kB / 0.7048 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.912e-05/0.6919, allocations: 19.98 kB / 0.7048 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-06/0.6919, allocations: 0 / 0.7048 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001868/0.6921, allocations: 77.62 kB / 0.7049 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.6922, allocations: 41.77 kB / 0.705 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.777e-06/0.6922, allocations: 0 / 0.705 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.6922, allocations: 0 / 0.705 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.6923, allocations: 4.094 kB / 0.705 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.661e-06/0.6923, allocations: 7.891 kB / 0.705 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.815e-05/0.6924, allocations: 15.89 kB / 0.705 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.6924, allocations: 4 kB / 0.705 GB, free: 6.801 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.0001182/0.6926, allocations: 130.7 kB / 0.7051 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.6926, allocations: 11.98 kB / 0.7051 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.6926, allocations: 16.56 kB / 0.7051 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.975e-06/0.6927, allocations: 0 / 0.7051 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.367e-06/0.6927, allocations: 3.938 kB / 0.7051 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.298e-06/0.6927, allocations: 3.953 kB / 0.7051 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.6932, allocations: 331.1 kB / 0.7055 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-06/0.6932, allocations: 3.938 kB / 0.7055 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.6932, allocations: 0 / 0.7055 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.996e-06/0.6932, allocations: 4 kB / 0.7055 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.6933, allocations: 4.062 kB / 0.7055 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.906e-06/0.6933, allocations: 4 kB / 0.7055 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.475e-06/0.6933, allocations: 3.953 kB / 0.7055 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.6936, allocations: 199.4 kB / 0.7057 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.6936, allocations: 81.02 kB / 0.7057 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.6937, allocations: 7.938 kB / 0.7058 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.6938, allocations: 15.98 kB / 0.7058 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.6939, allocations: 7.984 kB / 0.7058 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.6939, allocations: 3.953 kB / 0.7058 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.018e-05/0.694, allocations: 87.28 kB / 0.7059 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.3e-07/0.694, allocations: 0 / 0.7059 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003295/0.6943, allocations: 12 kB / 0.7059 GB, free: 5.797 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.6945, allocations: 103 kB / 0.706 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.6947, allocations: 115.3 kB / 0.7061 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.512e-06/0.6947, allocations: 4.125 kB / 0.7061 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.6949, allocations: 87.39 kB / 0.7062 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.6952, allocations: 18.98 kB / 0.7062 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.6955, allocations: 88.88 kB / 0.7063 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.6959, allocations: 0.6885 MB / 0.7069 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.998e-05/0.6959, allocations: 4 kB / 0.7069 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.696, allocations: 15.44 kB / 0.707 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of SimCode: time 4.187e-06/0.696, allocations: 0 / 0.707 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of Templates: time 0.003494/0.6995, allocations: 0.7086 MB / 0.7077 GB, free: 3.895 MB / 0.5886 GB