Welcome to HCM,
You are having Diabetes
recently changed your medication ,it is possible that you are having hypoglycemia
for which you should take some sugar to see if it improves your symptoms.
You can confirm it by checking blood Glucose
during symptoms if it is low , dose of anti diabetic drugs Glimeperide should be reduced after consulting your treating Physician.
Other possibility is side effect of Tramadol
which you are taking for pain if there is no hypoglycemia then you can attribute this sweating to Tramadol and if it is disturbing you please change the medicine with some other analgesic
with consultation of your treating doctor.