Gauge model at finite temperature with massive quarks and at finite density on anisotropic lattice