You are having trouble figuring out what is going wrong in your network and you want to look at your network to find out what is going wrong
Use the stream redirection operator with cout
It's really simple to output your whole network, you just go:
MarSystemManager mng; MarSystem* net = mng.create("Series", "net"); cout << *net;
All of the components of the network, and the state of all their controls will be written to the standard output.
If the format is too hard to understand, try using put_html: