ModelSource source = (ModelSource) options.get( ModelProcessor.SOURCE );
if ( ( "" + source ).contains( ".tesla." ) ) {
System.out.println( source.getLocation() );
File pom = new File( source.getLocation() );
source = new FileModelSource( new File( pom.getPath().replaceFirst( "[.]tesla[.]", "" ) ) );
((Map)options).put( ModelProcessor.SOURCE, source );
ModelReader reader = manager.getReaderFor(options);
Model model = reader.read(source.getInputStream(), options);