Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadModel(Buildings): time 4.592/4.592, allocations: 431.3 MB / 445.8 MB, free: 5.438 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.566e-05, allocations: 0 / 0.5354 GB, free: 14.88 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6232/0.6232, allocations: 98.72 MB / 0.6318 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002116/0.6254, allocations: 1.134 MB / 0.6329 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.6264, allocations: 417 kB / 0.6333 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.6265, allocations: 3.938 kB / 0.6333 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.6265, allocations: 0 / 0.6333 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.6266, allocations: 7.984 kB / 0.6333 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.6268, allocations: 15.92 kB / 0.6333 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.753e-05/0.6269, allocations: 27.91 kB / 0.6334 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.567e-05/0.627, allocations: 0 / 0.6334 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.6271, allocations: 19.97 kB / 0.6334 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.6271, allocations: 19.92 kB / 0.6334 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.6272, allocations: 4 kB / 0.6334 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.6272, allocations: 0 / 0.6334 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.6272, allocations: 15.92 kB / 0.6334 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.6273, allocations: 4 kB / 0.6334 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.319e-05/0.6274, allocations: 22.33 kB / 0.6334 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6274, allocations: 4 kB / 0.6334 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6274, allocations: 0 / 0.6334 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.6274, allocations: 0 / 0.6334 GB, free: 10.28 MB / 0.5105 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.0007166/0.6281, allocations: 385 kB / 0.6338 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.6282, allocations: 15.97 kB / 0.6338 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.6283, allocations: 11.84 kB / 0.6338 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.6284, allocations: 163.1 kB / 0.634 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.6285, allocations: 0 / 0.634 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.6285, allocations: 4 kB / 0.634 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.6287, allocations: 53.67 kB / 0.634 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.6287, allocations: 4 kB / 0.634 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.6287, allocations: 0 / 0.634 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.6287, allocations: 4 kB / 0.6341 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.6288, allocations: 15.94 kB / 0.6341 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.6294, allocations: 272.8 kB / 0.6343 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.6295, allocations: 38.58 kB / 0.6344 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.6295, allocations: 4 kB / 0.6344 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.6298, allocations: 113 kB / 0.6345 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.6298, allocations: 0 / 0.6345 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.000457/0.6303, allocations: 216.4 kB / 0.6347 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.6303, allocations: 85.11 kB / 0.6348 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.6305, allocations: 101.3 kB / 0.6349 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.6305, allocations: 29.7 kB / 0.6349 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.6306, allocations: 92.05 kB / 0.635 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.6306, allocations: 23.73 kB / 0.635 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.6306, allocations: 0 / 0.635 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.6308, allocations: 318.8 kB / 0.6353 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.6309, allocations: 15.98 kB / 0.6353 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.6309, allocations: 34.56 kB / 0.6354 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.631, allocations: 49.77 kB / 0.6354 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6311, allocations: 4 kB / 0.6354 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002439/0.6313, allocations: 123.3 kB / 0.6355 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.6314, allocations: 30.08 kB / 0.6355 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6314, allocations: 0 / 0.6355 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.6314, allocations: 4 kB / 0.6356 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.6315, allocations: 7.922 kB / 0.6356 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.6315, allocations: 11.89 kB / 0.6356 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.6316, allocations: 11.97 kB / 0.6356 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.6316, allocations: 12.06 kB / 0.6356 GB, free: 7.789 MB / 0.5105 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.0001446/0.6318, allocations: 147.5 kB / 0.6357 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.6318, allocations: 4 kB / 0.6357 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.6319, allocations: 8.375 kB / 0.6357 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.6319, allocations: 7.984 kB / 0.6358 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6319, allocations: 0 / 0.6358 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.6319, allocations: 3.953 kB / 0.6358 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.6326, allocations: 404.1 kB / 0.6361 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6326, allocations: 4 kB / 0.6361 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/0.6326, allocations: 0 / 0.6361 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.6326, allocations: 0 / 0.6361 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.6326, allocations: 4 kB / 0.6362 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.6327, allocations: 7.891 kB / 0.6362 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6327, allocations: 3.938 kB / 0.6362 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.633, allocations: 221.2 kB / 0.6364 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.6331, allocations: 81.02 kB / 0.6365 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.6331, allocations: 12 kB / 0.6365 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.6333, allocations: 11.98 kB / 0.6365 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.6333, allocations: 11.94 kB / 0.6365 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.6334, allocations: 0 / 0.6365 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.6334, allocations: 91.27 kB / 0.6366 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.7e-07/0.6335, allocations: 3.938 kB / 0.6366 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003076/0.6338, allocations: 16 kB / 0.6366 GB, free: 6.645 MB / 0.5105 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.000145/0.6339, allocations: 107.2 kB / 0.6367 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.6342, allocations: 111.3 kB / 0.6368 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6342, allocations: 0 / 0.6368 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.6344, allocations: 91.39 kB / 0.6369 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.6347, allocations: 15.92 kB / 0.6369 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.6351, allocations: 164.6 kB / 0.6371 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.6354, allocations: 0.6887 MB / 0.6377 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.875e-05/0.6355, allocations: 4 kB / 0.6377 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.6355, allocations: 11.44 kB / 0.6377 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of SimCode: time 7.31e-07/0.6355, allocations: 0 / 0.6377 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of Templates: time 0.003989/0.6395, allocations: 0.759 MB / 0.6385 GB, free: 4.629 MB / 0.5105 GB