Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_UnitDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.483/4.483, allocations: 460.5 MB / 472.6 MB, free: 5.363 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.324e-05/4.317e-05, allocations: 8 kB / 0.5682 GB, free: 10.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2389, allocations: 106.2 MB / 0.6719 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8686/1.107, allocations: 131.4 MB / 0.8002 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.108, allocations: 74.98 kB / 0.8003 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003229/1.111, allocations: 0.8625 MB / 0.8011 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/1.111, allocations: 3.969 kB / 0.8011 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.111, allocations: 0 / 0.8011 GB, free: 12.46 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.0004925/1.112, allocations: 361.9 kB / 0.8015 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.112, allocations: 7.844 kB / 0.8015 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/1.112, allocations: 45.81 kB / 0.8015 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/1.112, allocations: 7.859 kB / 0.8015 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/1.112, allocations: 170.3 kB / 0.8017 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/1.112, allocations: 0 / 0.8017 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/1.112, allocations: 7.594 kB / 0.8017 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/1.112, allocations: 47.5 kB / 0.8017 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/1.112, allocations: 0 / 0.8017 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.112, allocations: 7.75 kB / 0.8017 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.112, allocations: 0 / 0.8017 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.499e-05/1.112, allocations: 14.53 kB / 0.8018 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/1.113, allocations: 285 kB / 0.802 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/1.113, allocations: 43.89 kB / 0.8021 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/1.113, allocations: 18.67 kB / 0.8021 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/1.113, allocations: 3.281 kB / 0.8021 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/1.113, allocations: 64.16 kB / 0.8021 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/1.113, allocations: 2.734 kB / 0.8022 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002054/1.113, allocations: 74.45 kB / 0.8022 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/1.113, allocations: 58.48 kB / 0.8023 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/1.113, allocations: 100.6 kB / 0.8024 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/1.113, allocations: 29.58 kB / 0.8024 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/1.114, allocations: 86.33 kB / 0.8025 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/1.114, allocations: 11.66 kB / 0.8025 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/1.114, allocations: 3.938 kB / 0.8025 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.945e-05/1.114, allocations: 313.5 kB / 0.8028 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/1.114, allocations: 11.53 kB / 0.8028 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/1.114, allocations: 47.67 kB / 0.8029 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.4e-05/1.114, allocations: 21.2 kB / 0.8029 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.114, allocations: 0 / 0.8029 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001662/1.114, allocations: 80.64 kB / 0.803 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.114, allocations: 14.5 kB / 0.803 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.114, allocations: 0 / 0.803 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.114, allocations: 3.938 kB / 0.803 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/1.114, allocations: 26.05 kB / 0.803 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.114, allocations: 0 / 0.803 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/1.114, allocations: 14.11 kB / 0.803 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/1.114, allocations: 3.875 kB / 0.803 GB, free: 10.72 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 6.218e-05/1.114, allocations: 113.6 kB / 0.8031 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/1.115, allocations: 192 / 0.8031 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/1.115, allocations: 83.28 kB / 0.8032 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.115, allocations: 3.938 kB / 0.8032 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.115, allocations: 7.891 kB / 0.8032 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.115, allocations: 3.984 kB / 0.8032 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/1.115, allocations: 325.7 kB / 0.8035 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/1.115, allocations: 0 / 0.8035 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/1.115, allocations: 14.36 kB / 0.8035 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/1.115, allocations: 0 / 0.8035 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/1.115, allocations: 5.172 kB / 0.8035 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.115, allocations: 3.844 kB / 0.8035 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.115, allocations: 0 / 0.8035 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/1.115, allocations: 167.1 kB / 0.8037 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/1.116, allocations: 81.02 kB / 0.8038 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/1.116, allocations: 4.125 kB / 0.8038 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/1.116, allocations: 23.09 kB / 0.8038 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/1.116, allocations: 6.406 kB / 0.8038 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/1.116, allocations: 3.875 kB / 0.8038 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.802e-05/1.116, allocations: 80.47 kB / 0.8039 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.116, allocations: 0 / 0.8039 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003293/1.116, allocations: 14.22 kB / 0.8039 GB, free: 9.934 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.0008003/1.117, allocations: 0.6996 MB / 0.8046 GB, free: 25.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001602/1.117, allocations: 39.55 kB / 0.8046 GB, free: 25.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.117, allocations: 0 / 0.8046 GB, free: 25.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/1.117, allocations: 18.31 kB / 0.8046 GB, free: 25.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/1.118, allocations: 13.77 kB / 0.8047 GB, free: 25.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/1.118, allocations: 119.8 kB / 0.8048 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/1.118, allocations: 0.6862 MB / 0.8054 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.498e-05/1.118, allocations: 1.641 kB / 0.8054 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/1.118, allocations: 20.11 kB / 0.8055 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/1.118, allocations: 0 / 0.8055 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/1.143, allocations: 1.346 MB / 0.8068 GB, free: 24.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/1.143, allocations: 169.2 kB / 0.8069 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/3.292, allocations: 3.938 kB / 0.8069 GB, free: 23.98 MB / 0.6511 GB