MagicDraw SysML/Cameo: 19SP3: Export to Modelica from SysPhS sample for HumidifierSystem does not execute in Wolfram SystemModeler Simulation Centre

This page identifies a possible issue, inconsistency, concern, error, or bug!
One of the ways Webel IT Australia helps promote tools, technologies, and languages is by donating a lot of time identifying, tracking, and reporting potential issues, in order to help vendors and developers improve the tools and technologies. In some cases, we also offer workarounds and advice for users. All issues tracked on our public site are offered most constructively and with sincerest gratitude to the tool vendors and technology developers.
DISCLAIMER: Vendors do not officially endorse issue analysis by Webel IT Australia.
Webel IT Australia promotes the amazing Mathematica tool and the powerful Wolfram Language and offers professional Mathematica services for computational computing and data analysis. Our Mathematica tips, issue tracking, and wishlist is offered here most constructively to help improve the tool and language and support the Mathematica user community.
DISCLAIMER: Wolfram Research does not officially endorse analysis by Webel IT Australia.
Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Policy level
Specification keywords
Keywords
Validation for HumidifierSystem:

[13] 21:57 Validation of model HumidifierSystem 
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.heaterControl._HeaterControlSM.HeaterControlSM_region1_pseudostate4.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.InitialStep$_HumidifierSystem$humidifier$heaterControl$_HeaterControlSM$HeaterControlSM_region1_pseudostate4.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.heaterControl._HeaterControlSM.Off.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.Step$_HumidifierSystem$humidifier$heaterControl$_HeaterControlSM$Off.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.heaterControl._HeaterControlSM.On.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.Step$_HumidifierSystem$humidifier$heaterControl$_HeaterControlSM$On.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [112:74-112:97]In component _HumidifierSystem.humidifier.heaterControl._HeaterControlSM, in relation modeIn == /*Real*/(0),  ==  on Real numbers is only allowed inside functions.
Warning: [111:74-111:143]In component _HumidifierSystem.humidifier.heaterControl._HeaterControlSM, in relation modeIn == /*Real*/(1),  ==  on Real numbers is only allowed inside functions.
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.usage._UsageScenarioStateMachine.UsageScenarioStateMachine_region1_pseudostate3.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.InitialStep$_HumidifierSystem$humidifier$usage$_UsageScenarioStateMachine$UsageScenarioStateMachine_region1_pseudostate3.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.usage._UsageScenarioStateMachine.On.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.Step$_HumidifierSystem$humidifier$usage$_UsageScenarioStateMachine$On.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.usage._UsageScenarioStateMachine.Off.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.Step$_HumidifierSystem$humidifier$usage$_UsageScenarioStateMachine$Off.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.usage._UsageScenarioStateMachine.Started.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.Step$_HumidifierSystem$humidifier$usage$_UsageScenarioStateMachine$Started.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.control._ControlStateMachine.ControlStateMachine_region1_pseudostate7.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.InitialStep$_HumidifierSystem$humidifier$control$_ControlStateMachine$ControlStateMachine_region1_pseudostate7.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.control._ControlStateMachine.Off.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.Step$_HumidifierSystem$humidifier$control$_ControlStateMachine$Off.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.control._ControlStateMachine.On.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.Step$_HumidifierSystem$humidifier$control$_ControlStateMachine$On.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.control._ControlStateMachine.WarmUp.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.Step$_HumidifierSystem$humidifier$control$_ControlStateMachine$WarmUp.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [1325:7-1325:57]No corresponding 'inner' declaration found for component .Modelica.StateGraph.Interfaces.CompositeStepState _HumidifierSystem.humidifier.control._ControlStateMachine.CoolDown.stateGraphRoot declared as 'outer '.
  The existing 'inner' components are:
  There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.StateGraph.Step$_HumidifierSystem$humidifier$control$_ControlStateMachine$CoolDown.
  Check if you have not misspelled the 'outer' component name.
  Please declare an 'inner' component with the same name in the top scope.
  Continuing flattening by only considering the 'outer' component declaration.
Warning: [211:78-211:108]In component _HumidifierSystem.humidifier.control._ControlStateMachine, in relation waterVolumeIn == /*Real*/(0),  ==  on Real numbers is only allowed inside functions.
Warning: [209:78-209:100]In component _HumidifierSystem.humidifier.control._ControlStateMachine, in relation swtch == /*Real*/(1),  ==  on Real numbers is only allowed inside functions.
Warning: [210:78-210:100]In component _HumidifierSystem.humidifier.control._ControlStateMachine, in relation swtch == /*Real*/(0),  ==  on Real numbers is only allowed inside functions.
Warning: [214:78-214:100]In component _HumidifierSystem.humidifier.control._ControlStateMachine, in relation swtch == /*Real*/(0),  ==  on Real numbers is only allowed inside functions.
Warning: Parameter _HumidifierSystem.room.sVP.p2 has no value, and is fixed during initialization (fixed = true), using available start value (start = 7.5) as default value.
Warning: Parameter _HumidifierSystem.room.sVP.roomTemperature has no value, and is fixed during initialization (fixed = true), using available start value (start = 30.0) as default value.
Warning: Parameter _HumidifierSystem.room.sVP.p1 has no value, and is fixed during initialization (fixed = true), using available start value (start = 6.11) as default value.
Warning: Parameter _HumidifierSystem.room.sVP.logBase has no value, and is fixed during initialization (fixed = true), using available start value (start = 10.0) as default value.
Warning: Parameter _HumidifierSystem.room.sVP.celciusOffset has no value, and is fixed during initialization (fixed = true), using available start value (start = 273.0) as default value.
Warning: Parameter _HumidifierSystem.room.sVP.hPa2Pa has no value, and is fixed during initialization (fixed = true), using available start value (start = 100.0) as default value.
Warning: Parameter _HumidifierSystem.room.rH.hB.airExchangeRate has no value, and is fixed during initialization (fixed = true), using available start value (start = 1e-08) as default value.
Warning: Parameter _HumidifierSystem.room.rH.hB.envHumidity has no value, and is fixed during initialization (fixed = true), using available start value (start = 0.35) as default value.
Warning: Parameter _HumidifierSystem.room.rH.hB.volume has no value, and is fixed during initialization (fixed = true), using available start value (start = 25000.0) as default value.
Warning: Parameter _HumidifierSystem.room.rH.vPC.roomTemperature has no value, and is fixed during initialization (fixed = true), using available start value (start = 30.0) as default value.
Warning: Parameter _HumidifierSystem.room.rH.vPC.gasConst has no value, and is fixed during initialization (fixed = true), using available start value (start = 8.314) as default value.
Warning: Parameter _HumidifierSystem.room.rH.vPC.molecularW has no value, and is fixed during initialization (fixed = true), using available start value (start = 18.015) as default value.
Warning: Parameter _HumidifierSystem.room.rH.vPC.celciusOffset has no value, and is fixed during initialization (fixed = true), using available start value (start = 273.0) as default value.
Warning: Parameter _HumidifierSystem.room.rH.vPC.volume has no value, and is fixed during initialization (fixed = true), using available start value (start = 25000.0) as default value.
Warning: Parameter _HumidifierSystem.room.rH.relHumCalc.C2 has no value, and is fixed during initialization (fixed = true), using available start value (start = 1.0) as default value.
Warning: Parameter _HumidifierSystem.room.mLpH2mLpS.gain has no value, and is fixed during initialization (fixed = true), using available start value (start = 0.00028) as default value.
Warning: Parameter _HumidifierSystem.room.toPercentage.gain has no value, and is fixed during initialization (fixed = true), using available start value (start = 100.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.heaterControl.prLow has no value, and is fixed during initialization (fixed = true), using available start value (start = 0.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.heaterControl.prHigh has no value, and is fixed during initialization (fixed = true), using available start value (start = 1.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.heaterControl.threshold has no value, and is fixed during initialization (fixed = true), using available start value (start = 0.5) as default value.
Warning: Parameter _HumidifierSystem.humidifier.heaterControl.targetHumidityIn has no value, and is fixed during initialization (fixed = true), using available start value (start = 50.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.watertank.tankVolume has no value, and is fixed during initialization (fixed = true), using available start value (start = 50000.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.watertank.litpSec2mLitpHr has no value, and is fixed during initialization (fixed = true), using available start value (start = 3600000.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.control.safeTemperature has no value, and is fixed during initialization (fixed = true), using available start value (start = 50.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.h.tI.specificHeat has no value, and is fixed during initialization (fixed = true), using available start value (start = 4180.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.h.tI.waterVolume has no value, and is fixed during initialization (fixed = true), using available start value (start = 0.1) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.h.hC.C1 has no value, and is fixed during initialization (fixed = true), using available start value (start = 1.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.e.eC.evaporationHeat has no value, and is fixed during initialization (fixed = true), using available start value (start = 2270.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.e.eC.specificHeat has no value, and is fixed during initialization (fixed = true), using available start value (start = 1.996) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.e.eC.boilingTemperature has no value, and is fixed during initialization (fixed = true), using available start value (start = 100.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.e.eC.environmentTemperature has no value, and is fixed during initialization (fixed = true), using available start value (start = 20.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.e.eC2.boilingTemperature has no value, and is fixed during initialization (fixed = true), using available start value (start = 99.98999999999999) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.e.eC2.noPower has no value, and is fixed during initialization (fixed = true), using available start value (start = 0.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.e.eC2.litPSec2mLitPHour has no value, and is fixed during initialization (fixed = true), using available start value (start = 3600000.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.r.roomTemperature has no value, and is fixed during initialization (fixed = true), using available start value (start = 30.0) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.r.radiationFactor has no value, and is fixed during initialization (fixed = true), using available start value (start = 0.1) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.r.fanEfficiency has no value, and is fixed during initialization (fixed = true), using available start value (start = 0.1) as default value.
Warning: Parameter _HumidifierSystem.humidifier.vaporGenerationPlant.vGPC.maxHeaterPower has no value, and is fixed during initialization (fixed = true), using available start value (start = 400.0) as default value.
Warning: [1390:9-1391:7]The variable _HumidifierSystem.humidifier.usage._UsageScenarioStateMachine.UsageScenarioStateMachine_region1_transition1.t_start is inferred to be discrete due to use with pre outside a when clause. It is recommended to declare the variable as discrete.
Warning: [1390:9-1391:7]The variable _HumidifierSystem.humidifier.usage._UsageScenarioStateMachine.UsageScenarioStateMachine_region1_transition0.t_start is inferred to be discrete due to use with pre outside a when clause. It is recommended to declare the variable as discrete.
Notification: The initialization problem is underdetermined, the following variables were chosen to be initialized from their start values: _HumidifierSystem.humidifier.vaporGenerationPlant.h.hC.xIntg, _HumidifierSystem.room.rH.relHumCalc.xInt, _HumidifierSystem.humidifier.watertank.xInteg
Validation of model HumidifierSystem completed successfully.
The model has 107 variables and 107 equations.
Among these, 2 variables are declared as 'outer'.
Execution error for HumidifierSystem:

Internal error: Codegen.generateZeroCrossingStatement: Unexpected relation:  EQUAL
Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)