disable "show base" item in Modelsim for automation
Three options (from ModelSim Command Reference Manual):


Add radix hexadecimal to your script (the default is radix hexadecimal -showbase)
Use DefaultRadix directive in your modelsim.ini
Choose Simulate > Runtime Options from the main menu, click the Defaults tab, uncheck the Showbase in Default RadixFlags panel