As complexity of software systems is increasing, using a proper modelling language for designing and analysing a system is becoming more and more important. Over the recent years there is a tendency for using domain-specific languages which enable expressing design solutions in the idiom and the level of abstraction of the specific problem domain. Since a design process passes through different levels of abstractions and different properties of systems are being modelled, different modelling languages are used. While this approach enables an efficient and accurate design, it suffers from a problem of transformation between the models. This paper addresses a challenge of transformation between UML, a modelling language widely used, to a domain-specific language SaveComp component model (SaveCCM) intended for real-time embedded systems. In this paper we discuss a possible solution for achieving interoperability between SaveCCM and UML. The challenge of a transformation is to keep all necessary information including the semantics of the models. The paper presents the strategy for the transformation, its implementation and an analysis of the results.