ASAS: an approach to Automatically generate Simulation models for smArt Systems