Command economies 'don't work'
That depends what you mean by not working. The Soviet Union enjoyed consistent growth throughout it's history, with the exception of the last few years. I'm not suggesting it was a panacea, and outwith the big cities it was immensely poor. But clearly something was done correctly during it's economic history. I suspect very cheap gas had something to do with it, but central planning cannot be fatal to economic functioning.