Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_UnitDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.952/3.952, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.872e-05, allocations: 2.781 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2264, allocations: 98.73 MB / 0.6302 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2279/0.4544, allocations: 124.5 MB / 0.7518 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4547, allocations: 67.95 kB / 0.7518 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003452/0.4582, allocations: 0.8761 MB / 0.7527 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4582, allocations: 0 / 0.7527 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.4582, allocations: 4 kB / 0.7527 GB, free: 8.543 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.0005667/0.4588, allocations: 350.4 kB / 0.753 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4589, allocations: 16.03 kB / 0.753 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.4589, allocations: 30.56 kB / 0.7531 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.459, allocations: 11.86 kB / 0.7531 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.4591, allocations: 163 kB / 0.7532 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.4591, allocations: 11.98 kB / 0.7532 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.4592, allocations: 4 kB / 0.7532 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.4593, allocations: 41.69 kB / 0.7533 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.4594, allocations: 0 / 0.7533 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.4594, allocations: 8 kB / 0.7533 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4594, allocations: 0 / 0.7533 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.4595, allocations: 20 kB / 0.7533 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.46, allocations: 284.8 kB / 0.7536 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.4602, allocations: 38.64 kB / 0.7536 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.25e-05/0.4603, allocations: 17.05 kB / 0.7536 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.4603, allocations: 4 kB / 0.7536 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.4605, allocations: 63.39 kB / 0.7537 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 5.29e-06/0.4605, allocations: 7.922 kB / 0.7537 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002467/0.4607, allocations: 73.48 kB / 0.7538 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.4608, allocations: 59.41 kB / 0.7538 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.4609, allocations: 97 kB / 0.7539 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.4609, allocations: 29.64 kB / 0.754 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.461, allocations: 96.06 kB / 0.754 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.4611, allocations: 11.81 kB / 0.7541 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.4611, allocations: 0 / 0.7541 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4612, allocations: 322.8 kB / 0.7544 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-05/0.4613, allocations: 12 kB / 0.7544 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.4613, allocations: 40.3 kB / 0.7544 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.4614, allocations: 23.94 kB / 0.7544 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4614, allocations: 0 / 0.7544 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000199/0.4617, allocations: 81.58 kB / 0.7545 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4617, allocations: 4 kB / 0.7545 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4617, allocations: 8 kB / 0.7545 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4617, allocations: 160 / 0.7545 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.4619, allocations: 23.98 kB / 0.7546 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.4619, allocations: 11.89 kB / 0.7546 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.4621, allocations: 8 kB / 0.7546 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4621, allocations: 320 / 0.7546 GB, free: 6.371 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.unitDelay1.y,unitDelay1.y,$PRE.unitDelay1.firstTrigger,unitDelay1.firstTrigger,$whenCondition1,unitDelay1.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 8.716e-05/0.4622, allocations: 113 kB / 0.7547 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.4622, allocations: 7.906 kB / 0.7547 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.4624, allocations: 74.31 kB / 0.7548 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.4625, allocations: 0 / 0.7548 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4625, allocations: 3.984 kB / 0.7548 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4625, allocations: 3.953 kB / 0.7548 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.463, allocations: 322.6 kB / 0.7551 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.463, allocations: 0 / 0.7551 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.4631, allocations: 15.98 kB / 0.7551 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4631, allocations: 0 / 0.7551 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.4631, allocations: 4 kB / 0.7551 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.4632, allocations: 3.953 kB / 0.7551 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4632, allocations: 0 / 0.7551 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.4634, allocations: 167.5 kB / 0.7553 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.4635, allocations: 92.95 kB / 0.7553 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.4635, allocations: 0 / 0.7553 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.4637, allocations: 16.36 kB / 0.7554 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.4637, allocations: 3.953 kB / 0.7554 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.4638, allocations: 15.92 kB / 0.7554 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.4638, allocations: 91.2 kB / 0.7555 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4638, allocations: 0 / 0.7555 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003274/0.4642, allocations: 12 kB / 0.7555 GB, free: 5.336 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: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.firstTrigger) * Number of discrete states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0005321/0.4647, allocations: 0.7085 MB / 0.7562 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.4649, allocations: 32 kB / 0.7562 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4649, allocations: 0 / 0.7562 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.291e-05/0.465, allocations: 19.94 kB / 0.7562 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.4653, allocations: 12.47 kB / 0.7562 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.4658, allocations: 111.1 kB / 0.7563 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.466, allocations: 0.6887 MB / 0.757 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.549e-05/0.4661, allocations: 4.188 kB / 0.757 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.4662, allocations: 15.44 kB / 0.757 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/0.4662, allocations: 0 / 0.757 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.4892, allocations: 1.347 MB / 0.7583 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000358/0.4896, allocations: 164.8 kB / 0.7585 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.579, allocations: 0 / 0.7585 GB, free: 2.152 MB / 0.6355 GB