docs: public String generateOutput() {
          if (blockDynTab[0].instances == 0) {
              addBlockByNo(0);
          } // add main block
          for (int blockNo = 0; blockNo < mtp.blockTabCnt; blockNo++) {
              BlockDynTabRec bdtr = blockDynTab[blockNo];
              bdtr.currBlockInstNo = bdtr.firstBlockInstNo;
          }
          StringBuilder out = new StringBuilder();
          writeBlockInstances(out, 0, -1);
          return out.toString();
      }