@User so batch mode simulation runs fine on your side as well if run from console. So we are again at the starting point. I have no idea why your simulation runs forever if run from xschem. If you set batch mode sim and press 'Simulate' is the ngspice process running forever? did you check with console 'ps' command or 'top' utility?