Modelsim, by default, performs built-in tool optimizations on your design to maximize simulator performance. These optimizations yield performance improvements over non optimized runs. The optimizations will limit the visibility of design object, but you can preserve visibility of all objects in the design by specifying no arguments to +acc:
vopt +acc mydesign -o mydesign_opt
vsim mydesign_opt