Modeling, validation and software implementation of production systems using high level Petri nets