Compound creation may sometimes fail due to small misalignments: Deformation in 2 or more bodies - #10 by Matej
You can also find some tips regarding tie constraints (tolerance, master/slave selection) here: *WARNING in gentiedmpc: no tied MP - #6 by FEAnalyst
The rules regarding master and slave selection are crucial. Most importantly, master should be the one with a coarser mesh.