Considering the commander at the academy mentioned smooth bore guns were invented several years ago I'd say it's about 15~16 century, which is very late stage of medieval time. And I can imagine all those "modern stuffs" were made with magic.
For example: Perhaps they managed to invent "battery" by infusing thunder magic into a crystal?