= Coverage Issues = This page is supposed to provide an overview of remaining issues for all tested libraries. Therefore, failing models can get grouped by issue and short analyses and existing tickets can be added to guide the bug-fixing process. == Library Index == * [https://trac.openmodelica.org/OpenModelica/wiki/CoverageIssues#MSLtrunk MSL (trunk)] * [https://trac.openmodelica.org/OpenModelica/wiki/CoverageIssues#MSL3.2.1 MSL 3.2.1] == MSL (trunk) == [[Image(https://test.openmodelica.org/libraries/history/MSL_trunk-trend.svg, link=https://test.openmodelica.org/libraries/MSL_trunk/BuildModelRecursive.html, 550px)]] [[Image(https://test.openmodelica.org/libraries/history/MSL_trunk_cpp-trend.svg, link=https://test.openmodelica.org/libraries/MSL_trunk_cpp/BuildModelRecursive.html, 550px)]] The following models fail within **runtime** stage: * Solving (non-)linear system failed during simulation: * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator] * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator] * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair] * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase] * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase] * ticket:3739 * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL] * linear system failed * Solving non-linear system failed during initialization: * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.sim Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings] * While solving non-linear system an assertion failed during initialization. * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Fluid.Examples.HeatingSystem.sim Modelica.Fluid.Examples.HeatingSystem] * While solving non-linear system an assertion failed during initialization. * ticket:3739 The following models fail due to **alarm clock**: * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD] * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.sim Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder] * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim Modelica.Fluid.Examples.IncompressibleFluidNetwork] The following models fail within (back end) **initialization** stage: * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.err Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier] * Initialization problem is structurally singular * ticket:3739 * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.err Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs] * Error: The given system is mixed-determined. [index > 3] * ticket:3739 The following models fail within **sim code/code generation** stage: * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.err Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T] * error: use of undeclared identifier '_poly_Cp' * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Media.Incompressible.Examples.TestGlycol.err Modelica.Media.Incompressible.Examples.TestGlycol] * error: use of undeclared identifier '_poly_Cp' * [https://test.openmodelica.org/libraries/MSL_trunk/files/Modelica.Utilities.Examples.ReadRealMatrixFromFile.err Modelica.Utilities.Examples.ReadRealMatrixFromFile] * [SimCodeUtil.mo:497:5-497:146:writable] Error: Internal error function createSimCode failed * ticket:3739 == MSL 3.2.1 == [[Image(https://test.openmodelica.org/libraries/history/MSL_3.2.1-trend.svg, link=https://test.openmodelica.org/libraries/MSL_3.2.1/BuildModelRecursive.html, 550px)]] [[Image(https://test.openmodelica.org/libraries/history/MSL_3.2.1_cpp-trend.svg, link=https://test.openmodelica.org/libraries/MSL_3.2.1_cpp/BuildModelRecursive.html, 550px)]] Following 5 models are missing for the full coverage of the cRuntime here. * [https://test.openmodelica.org/libraries/MSL_3.2.1/files/Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.err Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD] * fails with alarm clock * works in our testsuite, because omcTearing is used * IndexReduction seems okay * works with a different sorting -> {{{+preOptModules+=sortEqnsVars}}} * -> probably really a tearing issue of select corrent iteration variable * [https://test.openmodelica.org/libraries/MSL_3.2.1/files/Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.err Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase] * singular linear system while simulation, initialization is solved via totalpivot * works with different sorting -> {{{+preOptModules+=sortEqnsVars}}} or other remove simple equation module {{{+removeSimpleEquations=none|new}}} * fails without tearing * -> most likely an IndexReduction issue [#3691] * [https://test.openmodelica.org/libraries/MSL_3.2.1/files/Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.err Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair] * Combination of Nonlinear and Dassl > initialization passes -> solver * the algebraic loops differs a lot compared with dymola 52 varibale and we have 29. * IndexReduction seems okay. * -> perhaps bad algorithm handling * [https://test.openmodelica.org/libraries/MSL_3.2.1/files/Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.err Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings] * non-linear system fails at initialization * dymola also struggles with it * -> stream handling, non-linear solver issue or model error * [https://test.openmodelica.org/libraries/MSL_3.2.1/files/Modelica.Fluid.Examples.HeatingSystem.err Modelica.Fluid.Examples.HeatingSystem] * non-linear system fails at initialization * has dynamic stateSelection, but even with "stateSelect" always on dymola states it fails. * non-linear problem that fails is mixed * homotopy is used * -> perhaps mixed non-linear problem or homotopy handling == ModelicaTest == [[Image(https://test.openmodelica.org/libraries/history/ModelicaTest_3.2.1-trend.svg, link=https://test.openmodelica.org/libraries/ModelicaTest_3.2.1/BuildModelRecursive.html, 550px)]] * FrontEnd issues: * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.err ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP] * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.err ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction] * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Math.MatricesInModel.err ModelicaTest.Math.MatricesInModel] * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Media.TestAllProperties.MoistAir.err ModelicaTest.Media.TestAllProperties.MoistAir] * Division by zero at initialization: * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.err ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend] * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.err ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend] * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.err ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice] * Assert in non-linear loops or fail to solve a non-linear system at initialization: * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.err ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion] * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.err ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState] * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.err ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization] * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.err ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial] * Simulation terminated by an assert: * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.err ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1] * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.err ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank] * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.MultiBody.Joints.SphericalSpherical2.err ModelicaTest.MultiBody.Joints.SphericalSpherical2] * [https://test.openmodelica.org/libraries/ModelicaTest/files/ModelicaTest.MultiBody.Joints.UniversalSpherical.err ModelicaTest.MultiBody.Joints.UniversalSpherical] == ThermoPower == [[Image(https://test.openmodelica.org/libraries/history/ThermoPower-trend.svg, link=https://test.openmodelica.org/libraries/ThermoPower/BuildModelRecursive.html, 550px)]] * FrontEnd * [https://test.openmodelica.org/libraries/ThermoPower/files/ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorHtc.err ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorHtc] * [https://test.openmodelica.org/libraries/ThermoPower/files/ThermoPower.PowerPlants.Simulators.CCPP_Sim3.err ThermoPower.PowerPlants.Simulators.CCPP_Sim3] (BUG: [ticket:3825]) * [https://test.openmodelica.org/libraries/ThermoPower/files/ThermoPower.PowerPlants.Simulators.SteamPlant_Sim1.err ThermoPower.PowerPlants.Simulators.SteamPlant_Sim1] (BUG: [ticket:3825]) * [https://test.openmodelica.org/libraries/ThermoPower/files/ThermoPower.PowerPlants.Simulators.SteamPlant_Sim1_dp.err ThermoPower.PowerPlants.Simulators.SteamPlant_Sim1_dp] (BUG: [ticket:3825]) * [https://test.openmodelica.org/libraries/ThermoPower/files/ThermoPower.PowerPlants.Simulators.SteamPlant_Sim2.err ThermoPower.PowerPlants.Simulators.SteamPlant_Sim2] (BUG: [ticket:3825]) * non-linear system an assertion failed during initialization: * [https://test.openmodelica.org/libraries/ThermoPower/files/ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator] * alarm clock -> nonlinear algebraic loops(?!?) * [https://test.openmodelica.org/libraries/ThermoPower/files/ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.err ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop] (initialization) * [https://test.openmodelica.org/libraries/ThermoPower/files/ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator.err ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator] (initialization) * [https://test.openmodelica.org/libraries/ThermoPower/files/ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf] (simulation) * solving linear system at initialization: * [https://test.openmodelica.org/libraries/ThermoPower/files/ThermoPower.Test.ElectricalComponents.TestNetworkGridTwoGenerators ThermoPower.Test.ElectricalComponents.TestNetworkGridTwoGenerators] === ThermoSysPro === [[Image(https://test.openmodelica.org/libraries/history/ThermoSysPro-trend.svg, link=https://test.openmodelica.org/libraries/ThermoSysPro/BuildModelRecursive.html, 550px)]] * assertion has been violated during initialization * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.CombinedCyclePowerPlant.CombinedCycle_Load_100_50.err ThermoSysPro.Examples.CombinedCyclePowerPlant.CombinedCycle_Load_100_50] * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.CombinedCyclePowerPlant.CombinedCycle_TripTAC.err ThermoSysPro.Examples.CombinedCyclePowerPlant.CombinedCycle_TripTAC] * Chattering detected around time 700.00000007..700.199999995 * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump.err ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump] * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestDynamicReliefValve.err ThermoSysPro.Examples.SimpleExamples.TestDynamicReliefValve] * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.err ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump] * Assert in non-linear loops during initialization: * Solving non-linear system at initialization: * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump7.err ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump7] * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.err ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum] * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1.err ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1] * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.err ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating] * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating2.err ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating2] * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.err ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser] * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.err ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine] * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestWaterHammer.err ThermoSysPro.Examples.SimpleExamples.TestWaterHammer] * initialization inconsistent * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.err ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1] * Solving non-linear system during simulation: * [https://test.openmodelica.org/libraries/ThermoSysPro/files/ThermoSysPro.Examples.SimpleExamples.TestVolumes2.err ThermoSysPro.Examples.SimpleExamples.TestVolumes2] == [...] ==