Running command: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadModel(IBPSA): time 2.795/2.795, allocations: 288.1 MB / 300.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.465e-05, allocations: 3.125 kB / 370.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 67.01 MB / 437.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4884/0.6093, allocations: 98.25 MB / 0.5233 GB, free: 18.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.6095, allocations: 71.47 kB / 0.5234 GB, free: 18.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00468/0.6142, allocations: 1.124 MB / 0.5245 GB, free: 33.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.668e-06/0.6143, allocations: 0 / 0.5245 GB, free: 33.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.082e-06/0.6143, allocations: 1.375 kB / 0.5245 GB, free: 33.73 MB / 458.7 MB 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.0004324/0.6148, allocations: 384.4 kB / 0.5248 GB, free: 33.35 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6148, allocations: 9.625 kB / 0.5249 GB, free: 33.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.6149, allocations: 6.734 kB / 0.5249 GB, free: 33.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.615, allocations: 179.8 kB / 0.525 GB, free: 33.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.615, allocations: 3.25 kB / 0.525 GB, free: 33.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.615, allocations: 4.562 kB / 0.525 GB, free: 33.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.6152, allocations: 50 kB / 0.5251 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.19e-06/0.6152, allocations: 1.375 kB / 0.5251 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.6152, allocations: 4.516 kB / 0.5251 GB, free: 33.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.6152, allocations: 1.375 kB / 0.5251 GB, free: 33.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.002e-05/0.6153, allocations: 16.42 kB / 0.5251 GB, free: 33.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.6157, allocations: 264 kB / 0.5254 GB, free: 32.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.6159, allocations: 44.45 kB / 0.5254 GB, free: 32.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.6159, allocations: 23.8 kB / 0.5254 GB, free: 32.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.616, allocations: 5.438 kB / 0.5254 GB, free: 32.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.6161, allocations: 102.1 kB / 0.5255 GB, free: 32.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 2.926e-06/0.6162, allocations: 0 / 0.5255 GB, free: 32.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002675/0.6164, allocations: 127.2 kB / 0.5257 GB, free: 32.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.6165, allocations: 82.36 kB / 0.5257 GB, free: 32.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.6166, allocations: 99.91 kB / 0.5258 GB, free: 32.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.6166, allocations: 32.95 kB / 0.5259 GB, free: 32.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.6167, allocations: 85.61 kB / 0.5259 GB, free: 32.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.6168, allocations: 20.39 kB / 0.526 GB, free: 32.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.6168, allocations: 2.312 kB / 0.526 GB, free: 32.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.617, allocations: 316.8 kB / 0.5263 GB, free: 32.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.617, allocations: 13.84 kB / 0.5263 GB, free: 32.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.6171, allocations: 36.03 kB / 0.5263 GB, free: 32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.697e-05/0.6172, allocations: 52.72 kB / 0.5264 GB, free: 31.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.728e-06/0.6172, allocations: 0 / 0.5264 GB, free: 31.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002153/0.6174, allocations: 116.4 kB / 0.5265 GB, free: 31.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.6175, allocations: 38.38 kB / 0.5265 GB, free: 31.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6175, allocations: 0 / 0.5265 GB, free: 31.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.6175, allocations: 1.344 kB / 0.5265 GB, free: 31.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.6176, allocations: 12.12 kB / 0.5265 GB, free: 31.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.6176, allocations: 1.469 kB / 0.5265 GB, free: 31.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.799e-05/0.6177, allocations: 13.08 kB / 0.5265 GB, free: 31.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.6177, allocations: 3.844 kB / 0.5265 GB, free: 31.85 MB / 458.7 MB 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.0001154/0.6179, allocations: 145.5 kB / 0.5267 GB, free: 31.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.6179, allocations: 7.344 kB / 0.5267 GB, free: 31.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.6179, allocations: 13.27 kB / 0.5267 GB, free: 31.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.171e-06/0.618, allocations: 1 kB / 0.5267 GB, free: 31.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.597e-06/0.618, allocations: 1.469 kB / 0.5267 GB, free: 31.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-06/0.618, allocations: 1.125 kB / 0.5267 GB, free: 31.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.6185, allocations: 401.5 kB / 0.5271 GB, free: 31.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.592e-06/0.6186, allocations: 3.953 kB / 0.5271 GB, free: 31.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.6186, allocations: 2.125 kB / 0.5271 GB, free: 31.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.067e-06/0.6186, allocations: 1.281 kB / 0.5271 GB, free: 31.35 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.6186, allocations: 6.641 kB / 0.5271 GB, free: 31.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.722e-06/0.6186, allocations: 0.9375 kB / 0.5271 GB, free: 31.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.721e-06/0.6187, allocations: 0 / 0.5271 GB, free: 31.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.619, allocations: 229.3 kB / 0.5273 GB, free: 31.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.619, allocations: 87.45 kB / 0.5274 GB, free: 31.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.6191, allocations: 7.922 kB / 0.5274 GB, free: 31.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.6192, allocations: 10.72 kB / 0.5274 GB, free: 31.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.6193, allocations: 8.875 kB / 0.5274 GB, free: 31.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.6194, allocations: 4.016 kB / 0.5274 GB, free: 31.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.034e-05/0.6195, allocations: 86.38 kB / 0.5275 GB, free: 31 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.6195, allocations: 0 / 0.5275 GB, free: 31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.6198, allocations: 19.62 kB / 0.5275 GB, free: 31 MB / 458.7 MB 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.0001369/0.62, allocations: 110.1 kB / 0.5276 GB, free: 30.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.6202, allocations: 109.5 kB / 0.5277 GB, free: 30.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6202, allocations: 0 / 0.5277 GB, free: 30.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.6204, allocations: 92 kB / 0.5278 GB, free: 30.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.6207, allocations: 14.42 kB / 0.5278 GB, free: 30.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.621, allocations: 104.4 kB / 0.5279 GB, free: 30.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.6213, allocations: 0.6884 MB / 0.5286 GB, free: 30 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.01e-05/0.6214, allocations: 5.188 kB / 0.5286 GB, free: 30 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.6214, allocations: 11.5 kB / 0.5286 GB, free: 30 MB / 458.7 MB Notification: Performance of SimCode: time 1.646e-06/0.6214, allocations: 1.25 kB / 0.5286 GB, free: 30 MB / 458.7 MB Notification: Performance of Templates: time 0.003589/0.625, allocations: 0.7433 MB / 0.5294 GB, free: 29.91 MB / 458.7 MB