Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.152/4.152, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.657e-05/4.681e-05, allocations: 4.078 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2194, allocations: 98.72 MB / 0.6302 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.455, allocations: 125.1 MB / 0.7523 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.4554, allocations: 67.97 kB / 0.7524 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004726/0.4601, allocations: 1.109 MB / 0.7535 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.023e-06/0.4602, allocations: 0 / 0.7535 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.4602, allocations: 0 / 0.7535 GB, free: 7.723 MB / 0.6355 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.0006524/0.4608, allocations: 376.2 kB / 0.7539 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.4609, allocations: 8.031 kB / 0.7539 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.461, allocations: 38.55 kB / 0.7539 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.461, allocations: 11.91 kB / 0.7539 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.4612, allocations: 171 kB / 0.7541 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4613, allocations: 0 / 0.7541 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.4613, allocations: 4 kB / 0.7541 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.4615, allocations: 53.62 kB / 0.7541 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4615, allocations: 0 / 0.7541 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.4615, allocations: 0 / 0.7541 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4615, allocations: 0 / 0.7541 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.634e-05/0.4616, allocations: 19.98 kB / 0.7541 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.4622, allocations: 276.8 kB / 0.7544 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.4623, allocations: 38.58 kB / 0.7544 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.4624, allocations: 20.92 kB / 0.7545 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.4624, allocations: 0 / 0.7545 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.4627, allocations: 97.09 kB / 0.7546 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.4627, allocations: 4 kB / 0.7546 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003413/0.463, allocations: 127.2 kB / 0.7547 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.4631, allocations: 81.06 kB / 0.7548 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4632, allocations: 109 kB / 0.7549 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.4633, allocations: 29.7 kB / 0.7549 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.4634, allocations: 84.14 kB / 0.755 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.4634, allocations: 23.72 kB / 0.755 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.4635, allocations: 4 kB / 0.755 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4636, allocations: 322.8 kB / 0.7553 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.4637, allocations: 12 kB / 0.7553 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.4638, allocations: 38.52 kB / 0.7554 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.943e-05/0.4639, allocations: 45.69 kB / 0.7554 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4639, allocations: 0 / 0.7554 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002427/0.4641, allocations: 119.3 kB / 0.7555 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.4642, allocations: 33.77 kB / 0.7555 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4642, allocations: 4.062 kB / 0.7556 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4642, allocations: 4 kB / 0.7556 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.4643, allocations: 7.984 kB / 0.7556 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.4644, allocations: 7.891 kB / 0.7556 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.4645, allocations: 12 kB / 0.7556 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4645, allocations: 0 / 0.7556 GB, free: 5.309 MB / 0.6355 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.0001309/0.4646, allocations: 142.7 kB / 0.7557 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.4647, allocations: 11.91 kB / 0.7557 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.4647, allocations: 8.609 kB / 0.7557 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.4648, allocations: 4 kB / 0.7557 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4648, allocations: 0 / 0.7557 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4648, allocations: 3.953 kB / 0.7557 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.4654, allocations: 396.2 kB / 0.7561 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4654, allocations: 0 / 0.7561 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/0.4654, allocations: 3.984 kB / 0.7561 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4654, allocations: 0 / 0.7561 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.4655, allocations: 8 kB / 0.7561 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.4655, allocations: 3.953 kB / 0.7561 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4655, allocations: 0 / 0.7561 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.4658, allocations: 225.1 kB / 0.7564 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.4659, allocations: 85.02 kB / 0.7564 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.466, allocations: 4 kB / 0.7564 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.4661, allocations: 11.98 kB / 0.7564 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.4662, allocations: 15.94 kB / 0.7565 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.4663, allocations: 8.031 kB / 0.7565 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.023e-05/0.4663, allocations: 87.22 kB / 0.7566 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.3e-07/0.4664, allocations: 4 kB / 0.7566 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000347/0.4667, allocations: 16 kB / 0.7566 GB, free: 4.176 MB / 0.6355 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.0007149/0.4674, allocations: 0.7649 MB / 0.7573 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.4677, allocations: 111.3 kB / 0.7574 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4678, allocations: 0 / 0.7574 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.4679, allocations: 87.41 kB / 0.7575 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.4682, allocations: 18.28 kB / 0.7575 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.4688, allocations: 130.3 kB / 0.7577 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4692, allocations: 0.6928 MB / 0.7583 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.371e-05/0.4692, allocations: 7.938 kB / 0.7583 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.4693, allocations: 15.44 kB / 0.7584 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.4693, allocations: 0 / 0.7584 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.4893, allocations: 1.607 MB / 0.7599 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/0.4896, allocations: 151 kB / 0.7601 GB, free: 492 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.757, allocations: 3.938 kB / 0.7601 GB, free: 488 kB / 0.6355 GB