Nonlinear contact behavior of HTS tapes during pancake coiling and CORC cabling. (19th May 2021)