source: trunk/modelicaml/org.openmodelica.modelicaml.gen.modelica/src/ModelicaML_config.properties @ 1351

Last change on this file since 1351 was 1021, checked in by wschamai, 13 years ago
  • added code generation before verification models execution
  • modifications due to profile update
File size: 6.1 KB
Line 
1# Configuration
2c_profileName = ModelicaML
3
4# Configuration: Code generation
5c_outputFolder = code-gen/
6c_incFolder = code-inc/
7c_includeModelComments = true
8c_includeAsserts = true
9    #debugMode is used to include code for, e.g. checking if only one OR state is active at an instance or if states are deactivated if the parent state is not active.
10c_debugMode = true
11
12    ### ModelicaML specific
13p_path_ModelicaClassConstructs = ModelicaML::ModelicaClassConstructs
14p_path_ModelicaPredefinedTypes = ModelicaML::ModelicaPredefinedTypes
15p_path_ModelicaCompositeConstructs = ModelicaML::ModelicaCompositeConstructs
16p_path_ModelicaBehaviorConstructs = ModelicaML::ModelicaBehaviorConstructs
17p_path_ModelicaPredefinedEnumerations = ModelicaML::ModelicaPredefinedEnumerations
18p_path_ModelicaRelationsConstructs = ModelicaML::ModelicaRelationsConstructs
19p_path_ModelicaRequirementConstructs = ModelicaML::ModelicaRequirementConstructs
20p_path_ModelicaSimulationConstructs = ModelicaML::ModelicaSimulationConstructs
21p_path_ModelicaAnnotationConstructs = ModelicaML::ModelicaAnnotationConstructs
22p_path_ModelicaMLTestDefinition = ModelicaML::Verification
23p_path_ModelicaMLValueBinding = ModelicaML::ValueBinding
24p_path_ModelicaMLModelReferences = ModelicaML::ModelReferences
25p_path_ModelicaMLCodeGeneration = ModelicaML::CodeGeneration
26
27    #### ModelicaML specific END
28
29# Stereotypes: Modelica Classes
30s_class = ModelicaClass
31s_package = ModelicaPackage
32s_operator = Operator
33s_model = Model
34s_block = Block
35s_connector = Connector
36s_record = Record
37s_type = Type
38s_enumeration = ModelicaEnumeration
39s_function = Function
40    ### ModelicaML specific
41s_calculationModel = CalculationModel
42s_testScenario = VerificationScenario
43s_test = VerificationModel
44s_requirement = Requirement
45s_requirementRepresentative = RequirementRepresentative
46s_measureOfEffectiveness = MeasureOfEffectiveness
47
48s_ModelicaModelReference = ModelicaModelReference
49s_p_modelPath = modelPath
50
51s_ModelicaModelProxy = ModelicaModelProxy
52
53s_CodeGenerationSpecification = CodeGenerationSpecification
54    #### ModelicaML specific END
55
56    ### ModelicaML specific: Verification Definition Dependencies
57s_requires = Requires
58s_requiredFor = RequiredFor
59s_usedToVerify = UsedToVerify
60    #### ModelicaML specific END: Verification  Definition Dependencies
61   
62   
63# Stereotypes: Modelica Classes Properties
64s_p_final = final
65s_p_partial = partial
66s_p_encapsulated = encapsulated
67s_p_expandable = expandable
68    ### ModelicaML specific
69s_p_iconImagePath = iconImagePath
70    #### ModelicaML specific END
71
72# Stereotypes: Modelica Relations
73s_extends = ExtendsRelation
74s_typeExtend = TypeRelation
75s_redeclare = RedeclareRelation
76s_partialDerivativeFunction = PartialDerivativeOfFunctionRelation
77s_constrainedby = ConstrainedByRelation
78s_import = Import
79
80
81# Stereotypes: Modelica Function Properties
82    #### NOTE: in ModelicaML 'external' keyword is set if s_p_externalLanguageSpecification != null
83s_p_external = external
84s_p_externalLanguageSpecification = externalLanguageSpecification
85s_p_externalFunctionCall = externalFunctionCall
86s_p_externalAnnotation = externalAnnotation
87
88
89# Stereotypes: Modelica Components
90s_component = Component
91s_variable = Variable
92s_port = ConnectionPort
93s_functionArgument = FunctionArgument
94    #### ModelicaML specific
95s_requirementInstance = RequirementInstance
96s_calculatedProperty = CalculatedProperty
97    #### ModelicaML specific END
98
99
100# Stereotypes: Modelica Components Properties
101s_p_innerouter = scope
102s_p_replaceable = replaceable
103s_p_causality = causality
104s_p_conditionalAttribute = conditionalExpression
105s_p_modification = modification
106s_p_declarationEquation = declarationEquationOrAssignment
107    #### ModelicaML specific
108s_p_declarationAssignment = declarationAssignment
109    #### ModelicaML specific END
110s_p_arraySubscripts = arraySize
111s_p_variability = variability
112    ### ISSUE: TODO: For components we use use UML "public" and "protected" and exclude "private" and "package". We should do the same for classes.
113s_p_visibility = visibility
114    ### ISSUE : TODO: END
115s_p_flowFlag = flowFlag
116    ## s_partialDerivativeFunction
117s_p_partialDerivativeFunctionArguments = arguments
118
119# Stereotypes: Modelica Behavior
120s_equation = Equations(Code)
121s_algorithm = Algorithm(Code)
122s_assert = Assert
123s_connect = Connection
124s_if = If
125s_when = When
126    ### ModelicaML specific
127s_modelicaStateMachine = ModelicaMLStateMachine
128    ## ModelicaML specific: ModelicaMLStateMachine
129s_p_samplingExpression = samplingExpression
130    ### ModelicaML specific END
131s_stateDependency = StateDependency
132s_conditionalEquation = ConditionalEquations(Diagram)
133s_conditionalEquationEquations = Equations(CodeInDiagram)
134s_conditionalAlgorithm = ConditionalAlgorithm(Diagram)
135s_conditionalAlgorithmStatements = AlgorithmStatements(CodeInDiagram)
136s_executionOrderPriority = ExecutionOrderPriority
137s_p_isSubActivity = isSubActivity
138s_p_forIndices = forIndices
139s_p_loopKind = loopKind
140s_p_whileExpression = whileExpression
141    ## ModelicaML specific: StateTransitionSpecification
142s_StateTransitionSpecification = StateTransitionSpecification
143s_p_suppressExitActions = suppressExitActions
144s_p_suppressEntryActions = suppressEntryActions
145    ## ModelicaML specific: StateSpecification
146s_StateSpecification = StateSpecification
147s_p_freezeExpression = freezeExpression
148    ## ModelicaML specific: AdditionalIncludes
149s_AdditionalIncludes = AdditionalIncludes
150s_p_additionalActionCode = additionalActionCode
151    ## ModelicaML specific END
152    ## ModelicaML specific: ControlFlowSpecification
153s_p_priority = priority
154    ## ModelicaML specific: StateDependency
155s_p_isInState = isInState
156s_p_logicalOperator = logicalOperator
157    ### ModelicaML specific END
158   
159    ## ModelicaML specific: s_connect
160s_p_connectionEnds = explicitConnectionEnds
161    ### ModelicaML specific END
162   
163# Stereotypes: Modelica Behavior Properties
164s_p_initial = initial
165    ## Assert (NOTE: not supported by SysML4Modelica)
166s_p_condition = condition
167s_p_level = level
168s_p_message = message
169
170
171# Stereotypes: Modelica Annotation
172s_annotation = Annotation
173
174s_annotation_icon = Annotation(Icon)
175s_p_iconAnnotationString = iconAnnotationString
Note: See TracBrowser for help on using the repository browser.