You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A set of fluid package models fail in OpenModelica.
Error log
Error in model: AixLib.Fluid.Movers.DpControlledMovers.Examples.DpControlled_dpConst
Failed to build model: AixLib.Fluid.Movers.DpControlledMovers.Examples.DpControlled_dpConst
[D:/04_git/AixLib/AixLib/Fluid/Movers/DpControlledMovers/DpControlled_dp.mo:100:3-108:28:writable] Error: Variable gain.u not found in scope DpControlled_dp.
Error in model: AixLib.Fluid.Movers.Examples.PumpHydraulicResistance_closedLoop
Failed to build model: AixLib.Fluid.Movers.Examples.PumpHydraulicResistance_closedLoop
[D:/04_git/AixLib/AixLib/Obsolete/Year2021/Fluid/Movers/Pump.mo:39:3-39:48:writable] Warning: Conditional component ‘V_flow‘ is used in a non-connect context.
[D:/04_git/AixLib/AixLib/Obsolete/Year2021/Fluid/Movers/Pump.mo:49:7-49:152:writable] Warning: Conditional component ‘V_flow‘ is used in a non-connect context.
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information.
Error: Too few equations, under-determined system. The model has 38 equation(s) and 40 variable(s).
Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!
Error: post-optimization module wrapFunctionCalls (simulation) failed.
Error in model: AixLib.Fluid.Movers.PumpsPolynomialBased.Examples.PumpHeadControlled
Simulation execution failed for model: AixLib.Fluid.Movers.PumpsPolynomialBased.Examples.PumpHeadControlled
assert | warning | The following assertion has been violated during initialization at time 0.000000
| | | | pump.deMultiplex3_1.u[1] >= pump.deMultiplex3_1.u[2]
assert | error | Input signals are not consistent: limit1 < limit2
assert | error | Failed to solve the initialization problem with global homotopy with equidistant step size.
assert | debug | Unable to solve initialization problem.
assert | info | simulation terminated by an assertion at initialization
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Error in model: AixLib.Fluid.Movers.PumpsPolynomialBased.Examples.PumpSpeedControlledDpV
Failed to build model: AixLib.Fluid.Movers.PumpsPolynomialBased.Examples.PumpSpeedControlledDpV
[D:/05_Programme/OpenModelica1.19.2-64bit/lib/omlibrary/Modelica 4.0.0/StateGraph.mo:1896:5-1896:55:writable] Warning: An inner declaration for outer component stateGraphRoot could not be found and was automatically generated.
[D:/05_Programme/OpenModelica1.19.2-64bit/lib/omlibrary/Modelica 4.0.0/StateGraph.mo:1896:5-1896:55:writable] Notification: The diagnostics message for the missing inner is: A "stateGraphRoot" component was automatically introduced.
Error: Too many equations, over-determined system. The model has 277 equation(s) and 276 variable(s).
[D:/05_Programme/OpenModelica1.19.2-64bit/lib/omlibrary/Modelica 4.0.0/StateGraph.mo:1864:5-1864:72:writable] Warning: Equation 123 (size: 1) ctrlDpVarN.ActiveState.outerStatePort.subgraphStatePort.activeSteps + ctrlDpVarN.Standby.outerStatePort.subgraphStatePort.activeSteps + ctrlDpVarN.ActiveState.stateGraphRoot.subgraphStatePort.activeSteps = 0.0 is not big enough to solve for enough variables.
Remaining unsolved variables are:
Already solved: ctrlDpVarN.Standby.outerStatePort.subgraphStatePort.activeSteps, ctrlDpVarN.ActiveState.outerStatePort.subgraphStatePort.activeSteps
Equations used to solve those variables:
Equation 204 (size: 1): ctrlDpVarN.Standby.outerStatePort.subgraphStatePort.activeSteps = if ctrlDpVarN.Standby.outerStatePort.localActive then 1.0 else 0.0
Equation 210 (size: 1): ctrlDpVarN.ActiveState.outerStatePort.subgraphStatePort.activeSteps = if ctrlDpVarN.ActiveState.outerStatePort.localActive then 1.0 else 0.0
Error in model: AixLib.Fluid.Examples.GeothermalHeatPump.GeothermalHeatPump
Failed to build model: AixLib.Fluid.Examples.GeothermalHeatPump.GeothermalHeatPump
[D:/04_git/AixLib/AixLib/Fluid/Storage/BufferStorage.mo:312:11-312:43:writable] Warning: Conditional component ‘mHC1_flow_nominal‘ is used in a non-connect context.
[D:/04_git/AixLib/AixLib/Fluid/Storage/BufferStorage.mo:305:5-305:34:writable] Warning: Conditional component ‘m_flow_small_HC1‘ is used in a non-connect context.
[D:/04_git/AixLib/AixLib/Fluid/Storage/BufferStorage.mo:333:3-334:118:writable] Warning: Conditional component ‘mHC1_flow_nominal‘ is used in a non-connect context.
[D:/04_git/AixLib/AixLib/Fluid/Storage/BufferStorage.mo:312:11-312:43:writable] Warning: Conditional component ‘mHC1_flow_nominal‘ is used in a non-connect context.
[D:/04_git/AixLib/AixLib/Fluid/Storage/BufferStorage.mo:305:5-305:34:writable] Warning: Conditional component ‘m_flow_small_HC1‘ is used in a non-connect context.
[D:/04_git/AixLib/AixLib/Fluid/Storage/BufferStorage.mo:333:3-334:118:writable] Warning: Conditional component ‘mHC1_flow_nominal‘ is used in a non-connect context.
Error: Too few equations, under-determined system. The model has 4628 equation(s) and 4629 variable(s).
Error in model: AixLib.Fluid.HeatExchangers.Examples.HeatingRod
Failed to build model: AixLib.Fluid.HeatExchangers.Examples.HeatingRod
[D:/04_git/AixLib/AixLib/Fluid/Interfaces/TwoPortHeatMassExchanger.mo:69:3-70:44:writable] Error: Illegal access of protected element rho_default.
[D:/04_git/AixLib/AixLib/Fluid/HeatExchangers/Examples/HeatingRod.mo:6:5-6:49:writable] Error: Variable heatingRod.rho_default not found in scope HeatingRod.
Error in model: AixLib.Fluid.DistrictHeatingCooling.Pipes.Examples.DHCPipe
Failed to build model: AixLib.Fluid.DistrictHeatingCooling.Pipes.Examples.DHCPipe
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
[CodegenCFunctions.tpl:7073:13-7073:13:writable] Error: Template error: ASUB non-scalar {}[1]. The inner exp has type: Real[1, 0]. After ASUB it is still an array: Real[0]..
[C:/OM119/OM64bit/OMCompiler/Compiler/SimCode/SimCodeMain.mo:528:7-528:78:writable] Error: Internal error D:\05_Programme\OpenModelica1.19.2-64bit\bin\omc.exe: [unknown function name] failed
[CodegenCFunctions.tpl:7073:13-7073:13:writable] Error: Template error: ASUB non-scalar {}[1]. The inner exp has type: Real[1, 0]. After ASUB it is still an array: Real[0]..
[C:/OM119/OM64bit/OMCompiler/Compiler/SimCode/SimCodeMain.mo:528:7-528:78:writable] Error: Internal error D:\05_Programme\OpenModelica1.19.2-64bit\bin\omc.exe: [unknown function name] failed
Error in model: AixLib.Fluid.DistrictHeatingCooling.Pipes.Examples.PlugFlowPipeEmbedded
Failed to build model: AixLib.Fluid.DistrictHeatingCooling.Pipes.Examples.PlugFlowPipeEmbedded
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
[CodegenCFunctions.tpl:7073:13-7073:13:writable] Error: Template error: ASUB non-scalar {}[1]. The inner exp has type: Real[1, 0]. After ASUB it is still an array: Real[0]..
[C:/OM119/OM64bit/OMCompiler/Compiler/SimCode/SimCodeMain.mo:528:7-528:78:writable] Error: Internal error D:\05_Programme\OpenModelica1.19.2-64bit\bin\omc.exe: [unknown function name] failed
[CodegenCFunctions.tpl:7073:13-7073:13:writable] Error: Template error: ASUB non-scalar {}[1]. The inner exp has type: Real[1, 0]. After ASUB it is still an array: Real[0]..
[C:/OM119/OM64bit/OMCompiler/Compiler/SimCode/SimCodeMain.mo:528:7-528:78:writable] Error: Internal error D:\05_Programme\OpenModelica1.19.2-64bit\bin\omc.exe: [unknown function name] failed
Error in model: AixLib.Fluid.DistrictHeatingCooling.Pipes.Examples.PlugFlowPipeZeta
Failed to build model: AixLib.Fluid.DistrictHeatingCooling.Pipes.Examples.PlugFlowPipeZeta
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
[CodegenCFunctions.tpl:7073:13-7073:13:writable] Error: Template error: ASUB non-scalar {}[1]. The inner exp has type: Real[1, 0]. After ASUB it is still an array: Real[0]..
[C:/OM119/OM64bit/OMCompiler/Compiler/SimCode/SimCodeMain.mo:528:7-528:78:writable] Error: Internal error D:\05_Programme\OpenModelica1.19.2-64bit\bin\omc.exe: [unknown function name] failed
[CodegenCFunctions.tpl:7073:13-7073:13:writable] Error: Template error: ASUB non-scalar {}[1]. The inner exp has type: Real[1, 0]. After ASUB it is still an array: Real[0]..
[C:/OM119/OM64bit/OMCompiler/Compiler/SimCode/SimCodeMain.mo:528:7-528:78:writable] Error: Internal error D:\05_Programme\OpenModelica1.19.2-64bit\bin\omc.exe: [unknown function name] failed
Error in model: AixLib.Fluid.DistrictHeatingCooling.Pipes.Examples.StaticPipe
Failed to build model: AixLib.Fluid.DistrictHeatingCooling.Pipes.Examples.StaticPipe
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
[CodegenCFunctions.tpl:7073:13-7073:13:writable] Error: Template error: ASUB non-scalar {}[1]. The inner exp has type: Real[1, 0]. After ASUB it is still an array: Real[0]..
[C:/OM119/OM64bit/OMCompiler/Compiler/SimCode/SimCodeMain.mo:528:7-528:78:writable] Error: Internal error D:\05_Programme\OpenModelica1.19.2-64bit\bin\omc.exe: [unknown function name] failed
[CodegenCFunctions.tpl:7073:13-7073:13:writable] Error: Template error: ASUB non-scalar {}[1]. The inner exp has type: Real[1, 0]. After ASUB it is still an array: Real[0]..
[C:/OM119/OM64bit/OMCompiler/Compiler/SimCode/SimCodeMain.mo:528:7-528:78:writable] Error: Internal error D:\05_Programme\OpenModelica1.19.2-64bit\bin\omc.exe: [unknown function name] failed
Error in model: AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage
Simulation execution failed for model: AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage
assert | warning | The following assertion has been violated at time 0.000000
| | | | (if substation2.jun1.res2.m_flow_nominal_pos > 1e-15 then substation2.jun1.res2.m_flow_nominal_pos else 1.0) >= -100000.0 and (if substation2.jun1.res2.m_flow_nominal_pos > 1e-15 then substation2.jun1.res2.m_flow_nominal_pos else 1.0) <= -0.0
assert | warning | Nominal variable violating min/max constraint: -100000.0 <= $cse92 <= -0.0, has value: 5
assert | warning | The following assertion has been violated at time 0.000000
| | | | (if substation2.jun1.res3.m_flow_nominal_pos > 1e-15 then substation2.jun1.res3.m_flow_nominal_pos else 1.0) >= -100000.0 and (if substation2.jun1.res3.m_flow_nominal_pos > 1e-15 then substation2.jun1.res3.m_flow_nominal_pos else 1.0) <= -0.0
assert | warning | Nominal variable violating min/max constraint: -100000.0 <= $cse93 <= -0.0, has value: 5
assert | warning | The following assertion has been violated at time 0.000000
| | | | (if substation1.jun1.res2.m_flow_nominal_pos > 1e-15 then substation1.jun1.res2.m_flow_nominal_pos else 1.0) >= -100000.0 and (if substation1.jun1.res2.m_flow_nominal_pos > 1e-15 then substation1.jun1.res2.m_flow_nominal_pos else 1.0) <= -0.0
assert | warning | Nominal variable violating min/max constraint: -100000.0 <= $cse105 <= -0.0, has value: 5
assert | warning | The following assertion has been violated at time 0.000000
| | | | (if substation1.jun1.res3.m_flow_nominal_pos > 1e-15 then substation1.jun1.res3.m_flow_nominal_pos else 1.0) >= -100000.0 and (if substation1.jun1.res3.m_flow_nominal_pos > 1e-15 then substation1.jun1.res3.m_flow_nominal_pos else 1.0) <= -0.0
assert | warning | Nominal variable violating min/max constraint: -100000.0 <= $cse106 <= -0.0, has value: 5
assert | warning | The following assertion has been violated during initialization at time 0.000000
| | | | substation1.pumHeaPri.nominalValuesDefineDefaultPressureCurve
assert | warning | *** Warning: You are using a flow or pressure controlled mover with the
| | | | default pressure curve.
| | | | This leads to approximate calculations of the electrical power
| | | | consumption. Add the correct pressure curve in the record per
| | | | to obtain an accurate computation.
| | | | Setting nominalValuesDefineDefaultPressureCurve=true will suppress this warning.
assert | warning | The following assertion has been violated during initialization at time 0.000000
| | | | substation1.pumCoo.nominalValuesDefineDefaultPressureCurve
assert | warning | *** Warning: You are using a flow or pressure controlled mover with the
| | | | default pressure curve.
| | | | This leads to approximate calculations of the electrical power
| | | | consumption. Add the correct pressure curve in the record per
| | | | to obtain an accurate computation.
| | | | Setting nominalValuesDefineDefaultPressureCurve=true will suppress this warning.
assert | warning | The following assertion has been violated during initialization at time 0.000000
| | | | substation2.pumHeaPri.nominalValuesDefineDefaultPressureCurve
assert | warning | *** Warning: You are using a flow or pressure controlled mover with the
| | | | default pressure curve.
| | | | This leads to approximate calculations of the electrical power
| | | | consumption. Add the correct pressure curve in the record per
| | | | to obtain an accurate computation.
| | | | Setting nominalValuesDefineDefaultPressureCurve=true will suppress this warning.
assert | warning | The following assertion has been violated during initialization at time 0.000000
| | | | substation2.pumCoo.nominalValuesDefineDefaultPressureCurve
assert | warning | *** Warning: You are using a flow or pressure controlled mover with the
| | | | default pressure curve.
| | | | This leads to approximate calculations of the electrical power
| | | | consumption. Add the correct pressure curve in the record per
| | | | to obtain an accurate computation.
| | | | Setting nominalValuesDefineDefaultPressureCurve=true will suppress this warning.
LOG_SUCCESS | info | The initialization finished successfully with 3 homotopy steps.
assert | debug | New end position is not bigger then previous last node.
stdout | warning | Integrator attempt to handle a problem with a called assert.
assert | debug | New end position is not bigger then previous last node.
stdout | info | model terminate | Simulation terminated by an assert at time: 32.7733
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions("-d=initialization").
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
The text was updated successfully, but these errors were encountered:
Describe the bug
A set of fluid package models fail in OpenModelica.
Error log
The text was updated successfully, but these errors were encountered: