Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") Notification: Performance of loadModel(Buildings): time 3.778/3.778, allocations: 402 MB / 416.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.692e-05/5.693e-05, allocations: 4 kB / 0.501 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2604, allocations: 92.69 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.001956/0.2624, allocations: 1.101 MB / 0.5925 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0006034/0.263, allocations: 208.6 kB / 0.5927 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.2631, allocations: 0 / 0.5927 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.2631, allocations: 3.938 kB / 0.5928 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.2632, allocations: 11.97 kB / 0.5928 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.2633, allocations: 15.92 kB / 0.5928 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.144e-05/0.2634, allocations: 23.91 kB / 0.5928 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.354e-05/0.2635, allocations: 12 kB / 0.5928 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.2636, allocations: 15.97 kB / 0.5928 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.2637, allocations: 15.92 kB / 0.5928 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.017e-05/0.2637, allocations: 4 kB / 0.5928 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.2637, allocations: 0 / 0.5928 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.2638, allocations: 4 kB / 0.5929 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.2638, allocations: 4 kB / 0.5929 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.052e-05/0.2639, allocations: 31.92 kB / 0.5929 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2639, allocations: 0 / 0.5929 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2639, allocations: 0 / 0.5929 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.2639, allocations: 0 / 0.5929 GB, free: 9.91 MB / 0.4948 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.0006817/0.2646, allocations: 363.5 kB / 0.5932 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.2647, allocations: 8.031 kB / 0.5932 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.2647, allocations: 11.86 kB / 0.5933 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2649, allocations: 167 kB / 0.5934 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.2649, allocations: 4 kB / 0.5934 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.2649, allocations: 8 kB / 0.5934 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.2652, allocations: 69.64 kB / 0.5935 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2653, allocations: 0 / 0.5935 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2653, allocations: 0 / 0.5935 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.2653, allocations: 0 / 0.5935 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.2656, allocations: 55.95 kB / 0.5935 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.2662, allocations: 292.7 kB / 0.5938 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.2664, allocations: 70.61 kB / 0.5939 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.2665, allocations: 0 / 0.5939 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002937/0.2668, allocations: 79.36 kB / 0.594 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.2668, allocations: 0 / 0.594 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0006451/0.2675, allocations: 137.6 kB / 0.5941 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.2675, allocations: 55.34 kB / 0.5941 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.2676, allocations: 105 kB / 0.5942 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.2676, allocations: 29.7 kB / 0.5943 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.2677, allocations: 84.14 kB / 0.5944 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.2678, allocations: 15.88 kB / 0.5944 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.2678, allocations: 0 / 0.5944 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2679, allocations: 318.8 kB / 0.5947 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.2681, allocations: 31.97 kB / 0.5947 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.2683, allocations: 68.2 kB / 0.5948 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.2685, allocations: 31.98 kB / 0.5948 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2685, allocations: 0 / 0.5948 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004542/0.269, allocations: 125.6 kB / 0.5949 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.269, allocations: 4 kB / 0.5949 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.269, allocations: 0 / 0.5949 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2691, allocations: 4 kB / 0.5949 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.2692, allocations: 15.98 kB / 0.5949 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.2693, allocations: 3.953 kB / 0.5949 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.2694, allocations: 15.92 kB / 0.595 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.2694, allocations: 8.031 kB / 0.595 GB, free: 7.543 MB / 0.4948 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 0.0001164/0.2695, allocations: 117.8 kB / 0.5951 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.2696, allocations: 7.906 kB / 0.5951 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.27, allocations: 110 kB / 0.5952 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2701, allocations: 7.984 kB / 0.5952 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2701, allocations: 0 / 0.5952 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.2701, allocations: 85.06 kB / 0.5953 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.2702, allocations: 0 / 0.5953 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.2703, allocations: 11.98 kB / 0.5953 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.2704, allocations: 8 kB / 0.5953 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005479/0.2709, allocations: 188.9 kB / 0.5955 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005153/0.2715, allocations: 279.1 kB / 0.5957 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00019/0.2717, allocations: 39.98 kB / 0.5958 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.308e-05/0.2717, allocations: 87.45 kB / 0.5959 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of Backend: time 7.51e-07/0.2717, allocations: 0 / 0.5959 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.2723, allocations: 130.2 kB / 0.596 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0006076/0.2729, allocations: 0.5764 MB / 0.5966 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of Templates: time 0.003839/0.2768, allocations: 0.6497 MB / 0.5972 GB, free: 5.16 MB / 0.4948 GB