Full-wave high-order FEM model for lossy anisotropic waveguides