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.708/4.708, allocations: 458.9 MB / 473.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.789e-05, allocations: 3.906 kB / 0.5697 GB, free: 9.801 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2413, allocations: 106.2 MB / 0.6734 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002076/0.2435, allocations: 1.145 MB / 0.6745 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.2444, allocations: 432.3 kB / 0.675 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.2445, allocations: 4 kB / 0.675 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.2445, allocations: 0 / 0.675 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/0.2446, allocations: 7.969 kB / 0.675 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.2448, allocations: 23.86 kB / 0.675 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.2449, allocations: 19.97 kB / 0.675 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 7.142e-05/0.2449, allocations: 4 kB / 0.675 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.245, allocations: 11.94 kB / 0.675 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.2451, allocations: 23.95 kB / 0.6751 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.2451, allocations: 4 kB / 0.6751 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.2452, allocations: 4 kB / 0.6751 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.2452, allocations: 3.938 kB / 0.6751 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.2452, allocations: 4 kB / 0.6751 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 8.496e-05/0.2453, allocations: 24.23 kB / 0.6751 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2453, allocations: 0 / 0.6751 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2454, allocations: 0 / 0.6751 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.2454, allocations: 0 / 0.6751 GB, free: 0.8984 MB / 0.5417 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.0007115/0.2461, allocations: 392.9 kB / 0.6755 GB, free: 472 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.2461, allocations: 8.031 kB / 0.6755 GB, free: 464 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.2462, allocations: 11.86 kB / 0.6755 GB, free: 452 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.2464, allocations: 167 kB / 0.6756 GB, free: 244 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.2464, allocations: 7.984 kB / 0.6757 GB, free: 236 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.2465, allocations: 4 kB / 0.6757 GB, free: 232 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.2467, allocations: 49.62 kB / 0.6757 GB, free: 176 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2467, allocations: 0 / 0.6757 GB, free: 176 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.2468, allocations: 8 kB / 0.6757 GB, free: 168 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.2468, allocations: 0 / 0.6757 GB, free: 168 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.365e-05/0.2469, allocations: 15.98 kB / 0.6757 GB, free: 152 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.2474, allocations: 272.8 kB / 0.676 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.2476, allocations: 38.56 kB / 0.676 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.2476, allocations: 4.062 kB / 0.676 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.2479, allocations: 116.9 kB / 0.6761 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 4.608e-06/0.2479, allocations: 0 / 0.6761 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0004456/0.2483, allocations: 224.3 kB / 0.6764 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.2484, allocations: 81.11 kB / 0.6764 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2485, allocations: 109 kB / 0.6765 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.2486, allocations: 25.7 kB / 0.6766 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.2487, allocations: 92.05 kB / 0.6766 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.2487, allocations: 11.81 kB / 0.6767 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.2487, allocations: 8 kB / 0.6767 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2489, allocations: 314.8 kB / 0.677 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.2489, allocations: 16 kB / 0.677 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.249, allocations: 34.56 kB / 0.677 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.294e-05/0.2491, allocations: 49.64 kB / 0.6771 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2491, allocations: 0 / 0.6771 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002467/0.2494, allocations: 127.3 kB / 0.6772 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.2494, allocations: 33.7 kB / 0.6772 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2495, allocations: 0 / 0.6772 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2495, allocations: 0 / 0.6772 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.2495, allocations: 4 kB / 0.6772 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.2496, allocations: 3.953 kB / 0.6772 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2497, allocations: 15.89 kB / 0.6772 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2497, allocations: 4 kB / 0.6772 GB, free: 14.41 MB / 0.5573 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 0.0001522/0.2499, allocations: 159.5 kB / 0.6774 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.2499, allocations: 4 kB / 0.6774 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.25, allocations: 8.359 kB / 0.6774 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.25, allocations: 0 / 0.6774 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.25, allocations: 3.938 kB / 0.6774 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.25, allocations: 3.953 kB / 0.6774 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.2506, allocations: 404.4 kB / 0.6778 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2507, allocations: 0 / 0.6778 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-05/0.2507, allocations: 8.062 kB / 0.6778 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.2507, allocations: 7.984 kB / 0.6778 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2507, allocations: 4 kB / 0.6778 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.2507, allocations: 7.938 kB / 0.6778 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2508, allocations: 4 kB / 0.6778 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.2511, allocations: 225.1 kB / 0.678 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.2512, allocations: 85.02 kB / 0.6781 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.2512, allocations: 0 / 0.6781 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.2514, allocations: 19.98 kB / 0.6781 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.2515, allocations: 7.953 kB / 0.6782 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.2515, allocations: 11.97 kB / 0.6782 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.006e-05/0.2516, allocations: 83.83 kB / 0.6782 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2516, allocations: 0 / 0.6782 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003122/0.2519, allocations: 16 kB / 0.6783 GB, free: 13.25 MB / 0.5573 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.0001514/0.2521, allocations: 103.2 kB / 0.6784 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.2524, allocations: 119.3 kB / 0.6785 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2524, allocations: 0 / 0.6785 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.2525, allocations: 87.39 kB / 0.6786 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.2528, allocations: 15.98 kB / 0.6786 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.2533, allocations: 157.2 kB / 0.6787 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.2536, allocations: 0.6887 MB / 0.6794 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.317e-05/0.2537, allocations: 4 kB / 0.6794 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.2537, allocations: 15.42 kB / 0.6794 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/0.2537, allocations: 0 / 0.6794 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of Templates: time 0.004927/0.2587, allocations: 0.7349 MB / 0.6801 GB, free: 11.26 MB / 0.5573 GB