SSAS Activity Monitor is an open source tool to monitor the current activity (sessions, transactions, connections, and locks) on an Analysis Services instance. It works for both the Tabular and Multidimensional mode.
The source code is available in the SSAS Activity Monitor project on GitHub.