Directory testsuite/libraries/msl31/fluid/

Directory Created:
2011-10-06 12:41
Directory Deleted:
2012-10-08 11:17
Total Files:
0
Deleted Files:
82
Lines of Code:
0

[root]/testsuite/libraries/msl31/fluid
                    Folder removed from repo simulate (0 files, 0 lines)

Lines of Code

testsuite/libraries/msl31/fluid/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 896 (100.0%) 129047 (100.0%) 144.0
perost 470 (52.5%) 119007 (92.2%) 253.2
adrpo 101 (11.3%) 7505 (5.8%) 74.3
sjoelund.se 212 (23.7%) 2347 (1.8%) 11.0
mahge930 6 (0.7%) 162 (0.1%) 27.0
Frenkel TUD 25 (2.8%) 26 (0.0%) 1.0
alash325 82 (9.2%) 0 (0.0%) 0.0

Most Recent Commits

alash325 2012-10-08 11:17 Rev.: 13242

-- testsuite/3rdparty/AVM + testsuite/3rdparty/ThermoSysPro are temporarily moved to testsuite directory + testsiuite/Libraries + testsuite/mofiles + testsuite/3rdparty are deleted from SVN

0 lines of code changed in 82 files:

  • testsuite/libraries/msl31/fluid: Makefile (del), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.Controller.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.InnerTank.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWithTopPorts.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TriggeredTrapezoid.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.setReal.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.mos (del), Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.mos (del), Modelica.Fluid.Examples.BranchingDynamicPipes.mos (del), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (del), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.NormalOperation.mos (del), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.RadioButton.mos (del), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.TankController.mos (del), Modelica.Fluid.Examples.DrumBoiler.BaseClasses.EquilibriumDrumBoiler.mos (del), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (del), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (del), Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.mos (del), Modelica.Fluid.Examples.HeatExchanger.BaseClasses.BasicHX.mos (del), Modelica.Fluid.Examples.HeatExchanger.BaseClasses.WallConstProps.mos (del), Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.mos (del), Modelica.Fluid.Examples.HeatingSystem.mos (del), Modelica.Fluid.Examples.IncompressibleFluidNetwork.mos (del), Modelica.Fluid.Examples.InverseParameterization.mos (del), Modelica.Fluid.Examples.PumpingSystem.mos (del), Modelica.Fluid.Examples.Tanks.EmptyTanks.mos (del), Modelica.Fluid.Examples.Tanks.TanksWithOverflow.mos (del), Modelica.Fluid.Examples.Tanks.ThreeTanks.mos (del), Modelica.Fluid.Examples.TraceSubstances.RoomCO2.mos (del), Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.mos (del), Modelica.Fluid.Fittings.AbruptAdaptor.mos (del), Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.TestWallFriction.mos (del), Modelica.Fluid.Fittings.MultiPort.mos (del), Modelica.Fluid.Fittings.SharpEdgedOrifice.mos (del), Modelica.Fluid.Fittings.SimpleGenericOrifice.mos (del), Modelica.Fluid.Fittings.TeeJunctionIdeal.mos (del), Modelica.Fluid.Fittings.TeeJunctionVolume.mos (del), Modelica.Fluid.Machines.ControlledPump.mos (del), Modelica.Fluid.Machines.PrescribedPump.mos (del), Modelica.Fluid.Machines.Pump.mos (del), Modelica.Fluid.Machines.SweptVolume.mos (del), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (del), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalLaminarFlow.mos (del), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (del), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (del), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.ConstantFlowHeatTransfer.mos (del), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.IdealFlowHeatTransfer.mos (del), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (del), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (del), Modelica.Fluid.Pipes.DynamicPipe.mos (del), Modelica.Fluid.Pipes.StaticPipe.mos (del), Modelica.Fluid.Sensors.Density.mos (del), Modelica.Fluid.Sensors.DensityTwoPort.mos (del), Modelica.Fluid.Sensors.MassFlowRate.mos (del), Modelica.Fluid.Sensors.Pressure.mos (del), Modelica.Fluid.Sensors.RelativePressure.mos (del), Modelica.Fluid.Sensors.RelativeTemperature.mos (del), Modelica.Fluid.Sensors.SpecificEnthalpy.mos (del), Modelica.Fluid.Sensors.SpecificEnthalpyTwoPort.mos (del), Modelica.Fluid.Sensors.SpecificEntropy.mos (del), Modelica.Fluid.Sensors.SpecificEntropyTwoPort.mos (del), Modelica.Fluid.Sensors.Temperature.mos (del), Modelica.Fluid.Sensors.TemperatureTwoPort.mos (del), Modelica.Fluid.Sensors.TraceSubstances.mos (del), Modelica.Fluid.Sensors.TraceSubstancesTwoPort.mos (del), Modelica.Fluid.Sensors.VolumeFlowRate.mos (del), Modelica.Fluid.Sources.Boundary_pT.mos (del), Modelica.Fluid.Sources.Boundary_ph.mos (del), Modelica.Fluid.Sources.FixedBoundary.mos (del), Modelica.Fluid.Sources.MassFlowSource_T.mos (del), Modelica.Fluid.Sources.MassFlowSource_h.mos (del), Modelica.Fluid.System.mos (del), Modelica.Fluid.Valves.ValveCompressible.mos (del), Modelica.Fluid.Valves.ValveVaporizing.mos (del), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.ConstantHeatTransfer.mos (del), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.IdealHeatTransfer.mos (del), Modelica.Fluid.Vessels.ClosedVolume.mos (del)
sjoelund.se 2012-10-01 10:01 Rev.: 13112

- Added now working simulation test Modelica.Fluid.Examples.DrumBoiler.DrumBoiler
+ Note: The correctness of the results has not been verified, but it does produce results

19 lines of code changed in 4 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+6 -6), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+2 -2), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+9 -9), Modelica.Fluid.Examples.HeatingSystem.mos (+2 -2)
perost 2012-09-27 17:35 Rev.: 13078

- Changed Util.swap to work as expected (i.e. swap on true).

33 lines of code changed in 4 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+4 -4), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+14 -14), Modelica.Fluid.Examples.HeatingSystem.mos (+12 -12), Modelica.Fluid.Fittings.TeeJunctionIdeal.mos (+3 -3)
sjoelund.se 2012-09-20 10:01 Rev.: 12988

- Added missing 'each' prefixes to more models
- Made DAE.TYPED and DAE.UNTYPED modifications contain Absyn.Info and started using that whenever possible
- This makes error-messages appear at the source of the modification instead of at the component being modified, which is better since it is easier to look up the component than to figure where the #!#&@ the modification came from

2 lines of code changed in 1 file:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.HeatExchanger.BaseClasses.WallConstProps.mos (+2 -2)
sjoelund.se 2012-09-12 15:00 Rev.: 12890

#1801
- Fix problem with matrix-vector operations being converted into array-multiplication of vector and scalar
- All tests that worked still work except for one: ./libraries/msl31/simulate/Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.mos, presumably because of a better solution now

34 lines of code changed in 5 files:

  • testsuite/libraries/msl31/fluid: Makefile (+1 -1), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+4 -4), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+14 -14), Modelica.Fluid.Examples.HeatingSystem.mos (+12 -12), Modelica.Fluid.Fittings.TeeJunctionIdeal.mos (+3 -3)
sjoelund.se 2012-08-28 13:46 Rev.: 12703

- Fixed MSL 3.1 warning from not-yet-commited changes for #1776
* [IF97_Utilities.mo:4942:9-4959:18:writable] Warning: found was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.

5 lines of code changed in 5 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+1 -1), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+1 -1), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+1 -1), Modelica.Fluid.Examples.HeatingSystem.mos (+1 -1), Modelica.Fluid.Valves.ValveVaporizing.mos (+1 -1)
perost 2012-08-28 11:43 Rev.: 12702

- Removed space after first parenthesis when dumping asserts in DAEDump, to ease
the transition to a template based dumper.

189 lines of code changed in 13 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+32 -32), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+3 -3), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.RadioButton.mos (+1 -1), Modelica.Fluid.Examples.DrumBoiler.BaseClasses.EquilibriumDrumBoiler.mos (+9 -9), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+34 -34), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+34 -34), Modelica.Fluid.Examples.HeatingSystem.mos (+37 -37), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+2 -2), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (+2 -2), Modelica.Fluid.Pipes.StaticPipe.mos (+1 -1), Modelica.Fluid.Valves.ValveVaporizing.mos (+32 -32)
perost 2012-08-24 16:07 Rev.: 12666

Fix for bug #1774:
- Better sorting of elements in Inst.instElementList by considering qualified crefs.
- Added testcase Modelica.StateGraph.Examples.ControlledTanks.
- Enabled the forgotten Modelica.Blocks.Continuous testcase.

911 lines of code changed in 28 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+57 -57), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+565 -565), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.TankController.mos (+2 -8), Modelica.Fluid.Examples.DrumBoiler.BaseClasses.EquilibriumDrumBoiler.mos (+4 -4), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+18 -18), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+59 -59), Modelica.Fluid.Examples.HeatExchanger.BaseClasses.WallConstProps.mos (+1 -1), Modelica.Fluid.Examples.HeatingSystem.mos (+117 -117), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+12 -12), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalLaminarFlow.mos (+7 -7), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (+10 -10), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+12 -12), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.ConstantFlowHeatTransfer.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.IdealFlowHeatTransfer.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (+9 -9), Modelica.Fluid.Pipes.StaticPipe.mos (+13 -13), Modelica.Fluid.Sensors.DensityTwoPort.mos (+2 -2), Modelica.Fluid.Sensors.MassFlowRate.mos (+1 -1), Modelica.Fluid.Sensors.SpecificEnthalpyTwoPort.mos (+1 -1), Modelica.Fluid.Sensors.SpecificEntropyTwoPort.mos (+2 -2), Modelica.Fluid.Sensors.TemperatureTwoPort.mos (+2 -2), Modelica.Fluid.Sensors.TraceSubstancesTwoPort.mos (+2 -2), Modelica.Fluid.Sensors.VolumeFlowRate.mos (+2 -2), Modelica.Fluid.Valves.ValveCompressible.mos (+4 -4), Modelica.Fluid.Valves.ValveVaporizing.mos (+4 -4), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.ConstantHeatTransfer.mos (+1 -1), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.IdealHeatTransfer.mos (+1 -1)
sjoelund.se 2012-08-22 16:42 Rev.: 12636

- Updated MSL 3.1 to latest SIunits.mo; disabled Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.mos due to simulation failing to solve a nonlinear equation now

1629 lines of code changed in 39 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.InnerTank.mos (+1 -1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+241 -241), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+28 -28), Modelica.Fluid.Examples.DrumBoiler.BaseClasses.EquilibriumDrumBoiler.mos (+69 -69), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+247 -247), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+260 -260), Modelica.Fluid.Examples.HeatExchanger.BaseClasses.WallConstProps.mos (+13 -13), Modelica.Fluid.Examples.HeatingSystem.mos (+309 -309), Modelica.Fluid.Fittings.MultiPort.mos (+1 -1), Modelica.Fluid.Fittings.TeeJunctionIdeal.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+27 -27), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalLaminarFlow.mos (+12 -12), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (+17 -17), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+20 -20), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.ConstantFlowHeatTransfer.mos (+9 -9), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.IdealFlowHeatTransfer.mos (+9 -9), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (+10 -10), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (+19 -19), Modelica.Fluid.Pipes.StaticPipe.mos (+32 -32), Modelica.Fluid.Sensors.Density.mos (+1 -1), Modelica.Fluid.Sensors.DensityTwoPort.mos (+6 -6), Modelica.Fluid.Sensors.MassFlowRate.mos (+6 -6), Modelica.Fluid.Sensors.Pressure.mos (+1 -1), Modelica.Fluid.Sensors.RelativePressure.mos (+1 -1), Modelica.Fluid.Sensors.RelativeTemperature.mos (+1 -1), Modelica.Fluid.Sensors.SpecificEnthalpy.mos (+1 -1), Modelica.Fluid.Sensors.SpecificEnthalpyTwoPort.mos (+6 -6), Modelica.Fluid.Sensors.SpecificEntropy.mos (+1 -1), Modelica.Fluid.Sensors.SpecificEntropyTwoPort.mos (+6 -6), Modelica.Fluid.Sensors.Temperature.mos (+1 -1), Modelica.Fluid.Sensors.TemperatureTwoPort.mos (+6 -6), Modelica.Fluid.Sensors.TraceSubstances.mos (+1 -1), Modelica.Fluid.Sensors.TraceSubstancesTwoPort.mos (+6 -6), Modelica.Fluid.Sensors.VolumeFlowRate.mos (+6 -6), Modelica.Fluid.System.mos (+5 -5), Modelica.Fluid.Valves.ValveCompressible.mos (+9 -9), Modelica.Fluid.Valves.ValveVaporizing.mos (+222 -222), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.ConstantHeatTransfer.mos (+9 -9), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.IdealHeatTransfer.mos (+9 -9)
sjoelund.se 2012-08-03 14:35 Rev.: 12422

- Fix testsuite

4 lines of code changed in 2 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (+2 -2), Modelica.Fluid.Sensors.TraceSubstancesTwoPort.mos (+2 -2)
sjoelund.se 2012-08-03 13:30 Rev.: 12421

#1767
- Marked strings for translation in Error.mo
- Removed some useless whitespace from a few error-messages

143 lines of code changed in 26 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.Controller.mos (+30 -30), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+2 -2), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWithTopPorts.mos (+47 -7), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+8 -8), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.NormalOperation.mos (+2 -2), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.TankController.mos (+9 -9), Modelica.Fluid.Examples.DrumBoiler.BaseClasses.EquilibriumDrumBoiler.mos (+2 -2), Modelica.Fluid.Examples.HeatExchanger.BaseClasses.WallConstProps.mos (+2 -4), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+2 -2), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalLaminarFlow.mos (+2 -2), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+2 -2), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.ConstantFlowHeatTransfer.mos (+2 -2), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.IdealFlowHeatTransfer.mos (+2 -2), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (+2 -2), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (+2 -2), Modelica.Fluid.Pipes.StaticPipe.mos (+5 -5), Modelica.Fluid.Sensors.DensityTwoPort.mos (+2 -2), Modelica.Fluid.Sensors.MassFlowRate.mos (+2 -2), Modelica.Fluid.Sensors.SpecificEnthalpyTwoPort.mos (+2 -2), Modelica.Fluid.Sensors.SpecificEntropyTwoPort.mos (+2 -2), Modelica.Fluid.Sensors.TemperatureTwoPort.mos (+2 -2), Modelica.Fluid.Sensors.VolumeFlowRate.mos (+2 -2), Modelica.Fluid.Valves.ValveCompressible.mos (+3 -3), Modelica.Fluid.Valves.ValveVaporizing.mos (+3 -3), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.ConstantHeatTransfer.mos (+2 -2), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.IdealHeatTransfer.mos (+2 -2)
Frenkel TUD 2012-06-28 18:05 Rev.: 12234

- fix tests

1 lines of code changed in 3 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (-1), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+1 -1), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (-1)
Frenkel TUD 2012-06-28 17:19 Rev.: 12233

- fix tests

18 lines of code changed in 15 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.Controller.mos (+1 -1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.InnerTank.mos (+1 -1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+1 -1), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+2 -2), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.NormalOperation.mos (+2 -2), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.TankController.mos (+2 -2), Modelica.Fluid.Fittings.MultiPort.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalLaminarFlow.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (+1 -1), Modelica.Fluid.Valves.ValveCompressible.mos (+1 -1), Modelica.Fluid.Valves.ValveVaporizing.mos (+1 -1)
Frenkel TUD 2012-06-28 16:38 Rev.: 12231

- fix tests

3 lines of code changed in 3 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+1 -1), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+1 -1), Modelica.Fluid.Examples.HeatingSystem.mos (+1 -1)
perost 2012-05-10 14:06 Rev.: 11885

- Implemented a new template based expression dumping.
- Updated test suite.

2132 lines of code changed in 37 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.Controller.mos (+4 -4), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.InnerTank.mos (+2 -2), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+257 -257), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TriggeredTrapezoid.mos (+1 -1), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+105 -105), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.NormalOperation.mos (+1 -1), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.RadioButton.mos (+6 -6), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.TankController.mos (+3 -3), Modelica.Fluid.Examples.DrumBoiler.BaseClasses.EquilibriumDrumBoiler.mos (+68 -68), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+324 -324), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+420 -420), Modelica.Fluid.Examples.HeatExchanger.BaseClasses.WallConstProps.mos (+4 -4), Modelica.Fluid.Examples.HeatingSystem.mos (+434 -434), Modelica.Fluid.Fittings.MultiPort.mos (+1 -1), Modelica.Fluid.Fittings.TeeJunctionIdeal.mos (+4 -4), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+43 -43), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalLaminarFlow.mos (+6 -6), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (+18 -18), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+30 -30), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.ConstantFlowHeatTransfer.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (+12 -12), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (+48 -48), Modelica.Fluid.Pipes.StaticPipe.mos (+46 -46), Modelica.Fluid.Sensors.Density.mos (+1 -1), Modelica.Fluid.Sensors.DensityTwoPort.mos (+5 -5), Modelica.Fluid.Sensors.RelativeTemperature.mos (+1 -1), Modelica.Fluid.Sensors.SpecificEnthalpyTwoPort.mos (+3 -3), Modelica.Fluid.Sensors.SpecificEntropy.mos (+1 -1), Modelica.Fluid.Sensors.SpecificEntropyTwoPort.mos (+5 -5), Modelica.Fluid.Sensors.Temperature.mos (+1 -1), Modelica.Fluid.Sensors.TemperatureTwoPort.mos (+5 -5), Modelica.Fluid.Sensors.TraceSubstances.mos (+2 -2), Modelica.Fluid.Sensors.TraceSubstancesTwoPort.mos (+5 -5), Modelica.Fluid.Sensors.VolumeFlowRate.mos (+5 -5), Modelica.Fluid.Valves.ValveCompressible.mos (+17 -17), Modelica.Fluid.Valves.ValveVaporizing.mos (+242 -242), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.ConstantHeatTransfer.mos (+1 -1)
perost 2012-05-04 13:28 Rev.: 11848

Fix for bug #1731:
- Fixed connection of arrays with subscripts.
- Updated testsuit due to changed equation order for connects.

40 lines of code changed in 2 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+36 -36), Modelica.Fluid.Examples.HeatingSystem.mos (+4 -4)
perost 2012-04-05 13:50 Rev.: 11673

- Fixed correct types on array-scalar and scalar-array operations.
- Updated test cases due to changed operation order.

209 lines of code changed in 6 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.HeatingSystem.mos (+151 -151), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+15 -15), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalLaminarFlow.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (+10 -10), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+14 -14), Modelica.Fluid.Pipes.StaticPipe.mos (+18 -18)
adrpo 2012-03-07 19:32 Rev.: 11330

- replace array constants with their binding (maybe we should only do that for package constants).
- added testsuite/3rdParty/TestMedia [from Francesco Casella] which now works to simulate too.
- 17 more Modelica.Media models now work, 3 left.
NOTE HOWEVER that simulation fails in some cases due to
divisions by zero or other issues, but at
least the models compile.

140 lines of code changed in 5 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+4 -4), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+4 -4), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+124 -124), Modelica.Fluid.Examples.HeatingSystem.mos (+4 -4), Modelica.Fluid.Valves.ValveVaporizing.mos (+4 -4)
adrpo 2012-03-04 19:50 Rev.: 11283

- expected output.

4 lines of code changed in 4 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+1 -1), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+1 -1), Modelica.Fluid.Examples.HeatingSystem.mos (+1 -1), Modelica.Fluid.Valves.ValveVaporizing.mos (+1 -1)
adrpo 2012-03-03 11:35 Rev.: 11279

- expected output
- 3 media/simulate models fail now!

202 lines of code changed in 4 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+1 -1), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+75 -75), Modelica.Fluid.Examples.HeatingSystem.mos (+125 -125), Modelica.Fluid.Valves.ValveVaporizing.mos (+1 -1)
mahge930 2012-03-01 22:48 Rev.: 11260

+ The test-suite makefile now contain DEPENDENCIES. This are the files that are needed for the test cases.
+ "make clean" or (make -j clean) will clean the test-suite. i.e. all files that are not listed as DEPENDENCIES will be cleaned.
For OMDEV/MINGW ppl (linux already has partest)
+ "make threaded" will clean and then run the test-suite with 5 threads (my pc has 4 cores so :) ). (or just use "make -jN")
- 'msl31simulation.log' and 'msl31mediasimulation.log' still give problems with multiple threads. Very strange problem since the
output matches exactly with the expected but for some reason it is compared with outputs from another file. But For now this might help a bit.

Normal test-suite operation is not affected in anyway as far as I can tell. (Just some additions)

32 lines of code changed in 1 file:

  • testsuite/libraries/msl31/fluid: Makefile (+32 -3)
sjoelund.se 2012-02-27 18:42 Rev.: 11213

- Added support to parse line/block-comments as class elements (similar to annotations)
- Any comment in an expression is moved out of the element and put on its own line

2 lines of code changed in 1 file:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.HeatingSystem.mos (+2 -3)
mahge930 2012-01-23 13:04 Rev.: 10937

+ Fix for missing parameter passing for records.
Bug #1675
+ Fix for missing bindings for records with classmod modifications on output variables.
+ Fix for constant evaluated bindings to default values for record to record assignments.

130 lines of code changed in 5 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+5 -10), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWithTopPorts.mos (+23 -8), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+4 -8), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+36 -66), Modelica.Fluid.Examples.HeatingSystem.mos (+62 -122)
sjoelund.se 2012-01-18 11:02 Rev.: 10918

- Set svn-eol-style on a few files

82 lines of code changed in 82 files:

  • testsuite/libraries/msl31/fluid: Makefile (+1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.Controller.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.InnerTank.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWithTopPorts.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TriggeredTrapezoid.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.setReal.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.mos (+1), Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.mos (+1), Modelica.Fluid.Examples.BranchingDynamicPipes.mos (+1), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+1), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.NormalOperation.mos (+1), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.RadioButton.mos (+1), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.TankController.mos (+1), Modelica.Fluid.Examples.DrumBoiler.BaseClasses.EquilibriumDrumBoiler.mos (+1), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+1), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+1), Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.mos (+1), Modelica.Fluid.Examples.HeatExchanger.BaseClasses.BasicHX.mos (+1), Modelica.Fluid.Examples.HeatExchanger.BaseClasses.WallConstProps.mos (+1), Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.mos (+1), Modelica.Fluid.Examples.HeatingSystem.mos (+1), Modelica.Fluid.Examples.IncompressibleFluidNetwork.mos (+1), Modelica.Fluid.Examples.InverseParameterization.mos (+1), Modelica.Fluid.Examples.PumpingSystem.mos (+1), Modelica.Fluid.Examples.Tanks.EmptyTanks.mos (+1), Modelica.Fluid.Examples.Tanks.TanksWithOverflow.mos (+1), Modelica.Fluid.Examples.Tanks.ThreeTanks.mos (+1), Modelica.Fluid.Examples.TraceSubstances.RoomCO2.mos (+1), Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.mos (+1), Modelica.Fluid.Fittings.AbruptAdaptor.mos (+1), Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.TestWallFriction.mos (+1), Modelica.Fluid.Fittings.MultiPort.mos (+1), Modelica.Fluid.Fittings.SharpEdgedOrifice.mos (+1), Modelica.Fluid.Fittings.SimpleGenericOrifice.mos (+1), Modelica.Fluid.Fittings.TeeJunctionIdeal.mos (+1), Modelica.Fluid.Fittings.TeeJunctionVolume.mos (+1), Modelica.Fluid.Machines.ControlledPump.mos (+1), Modelica.Fluid.Machines.PrescribedPump.mos (+1), Modelica.Fluid.Machines.Pump.mos (+1), Modelica.Fluid.Machines.SweptVolume.mos (+1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalLaminarFlow.mos (+1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (+1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+1), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.ConstantFlowHeatTransfer.mos (+1), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.IdealFlowHeatTransfer.mos (+1), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (+1), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (+1), Modelica.Fluid.Pipes.DynamicPipe.mos (+1), Modelica.Fluid.Pipes.StaticPipe.mos (+1), Modelica.Fluid.Sensors.Density.mos (+1), Modelica.Fluid.Sensors.DensityTwoPort.mos (+1), Modelica.Fluid.Sensors.MassFlowRate.mos (+1), Modelica.Fluid.Sensors.Pressure.mos (+1), Modelica.Fluid.Sensors.RelativePressure.mos (+1), Modelica.Fluid.Sensors.RelativeTemperature.mos (+1), Modelica.Fluid.Sensors.SpecificEnthalpy.mos (+1), Modelica.Fluid.Sensors.SpecificEnthalpyTwoPort.mos (+1), Modelica.Fluid.Sensors.SpecificEntropy.mos (+1), Modelica.Fluid.Sensors.SpecificEntropyTwoPort.mos (+1), Modelica.Fluid.Sensors.Temperature.mos (+1), Modelica.Fluid.Sensors.TemperatureTwoPort.mos (+1), Modelica.Fluid.Sensors.TraceSubstances.mos (+1), Modelica.Fluid.Sensors.TraceSubstancesTwoPort.mos (+1), Modelica.Fluid.Sensors.VolumeFlowRate.mos (+1), Modelica.Fluid.Sources.Boundary_pT.mos (+1), Modelica.Fluid.Sources.Boundary_ph.mos (+1), Modelica.Fluid.Sources.FixedBoundary.mos (+1), Modelica.Fluid.Sources.MassFlowSource_T.mos (+1), Modelica.Fluid.Sources.MassFlowSource_h.mos (+1), Modelica.Fluid.System.mos (+1), Modelica.Fluid.Valves.ValveCompressible.mos (+1), Modelica.Fluid.Valves.ValveVaporizing.mos (+1), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.ConstantHeatTransfer.mos (+1), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.IdealHeatTransfer.mos (+1), Modelica.Fluid.Vessels.ClosedVolume.mos (+1)
Frenkel TUD 2012-01-05 12:13 Rev.: 10861

- update testsuite

4 lines of code changed in 4 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+1 -1), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+1 -1), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+1 -1), Modelica.Fluid.Examples.HeatingSystem.mos (+1 -1)
perost 2011-12-06 12:35 Rev.: 10659

- Fixed handling of partially bound record in CevalFunction.

324 lines of code changed in 3 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+74 -74), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+126 -126), Modelica.Fluid.Examples.HeatingSystem.mos (+124 -124)
sjoelund.se 2011-11-30 14:39 Rev.: 10610

- Remove the last expressionsimplify fixpoint iterations reached in the testsuite

0 lines of code changed in 1 file:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (-22)
sjoelund.se 2011-11-30 14:09 Rev.: 10608

- Avoid failure to reach fixpoint for some simplifications

24 lines of code changed in 1 file:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (+24 -40)
adrpo 2011-11-30 07:11 Rev.: 10604

HUGE update to SVN with *a lot* of changes: DO MAKE CLEAN!
==========================================================
- The DAE.ExpType is *no more*
- The BackendDAE.Type is *no more*
Both got replaced by DAE.Type!
- The DAE.ExpVar is *no more*
It got replaced by DAE.Var!
Now we have *ONLY ONE* type in the compiler: DAE.Type!


Just to know why I got this done:

BEFORE, the model HumMod took 6m51 seconds to instantiate
adrpo@ida-liu050 ~/dev/OpenModelica/doc/performance/benchmarks/tests
$ time /c/OpenModelica1.8.0-r10584/bin/omc instHumMod.mos > trace.txt 2>&1
real 6m51.354s
user 0m0.000s
sys 0m0.015s

AFTER, the model HumMod takes 47 seconds to instantiate
adrpo@ida-liu050 ~/dev/OpenModelica/doc/performance/benchmarks/tests
$ time ../../../../build/bin/omc instHumMod.mos > mytrace.txt 2>&1
real 0m47.248s
user 0m0.000s
sys 0m0.000s

Is about 8,74468085106383 times faster now.
Basically, before, we were doing DAE.T_*
-> DAE.ET_* translation for 6 minutes!

I started this work on Friday after the OpenModelica 1.8.0
got released, so for 4+ days of work I think the result is
quite OK.



Crash course into the new types (actually old ones from DAE.Type):
==================================================================

1. DAE.Type is not a tuple anymore, instead the optional path
became DAE.TypeSource which is a list of paths and is now
part of *all* the records in DAE.Type.

The needed types from DAE.ExpType got merged into DAE.Type:
DAE.ET_METATYPE -> DAE.T_METATYPE
DAE.ET_FUNCTION_REFERENCE_VAR -> DAE.T_FUNCTION_REFERENCE_VAR
DAE.ET_FUNCTION_REFERENCE_FUNC -> DAE.T_FUNCTION_REFERENCE_FUNC

Some DAE.Type types got split:
DAE.T_COMPLEX split into DAE.T_COMPLEX for types not extending
basic types and DAE.T_SUBTYPE_BASIC is now used for types
extending basic types.

Some DAE.Type types changed name:
DAE.T_NOTYPE -> DAE.T_UNKNOWN
Renamed also the meta-types a bit to make them more homogeneous.

Some DAE.ExpType are gone:
DAE.ET_OTHER is gone, use DAE.T_UNKNOWN instead!

Some DAE.Type types changed structure (besides the DAE.TypeSource addition):
(DAE.T_ARRAY(dim, ty), optPath) -> DAE.T_ARRAY(ty, list<dim>, list<Path>)
so we now have similar structure for DAE.T_ARRAY and the previous DAE.ET_ARRAY.


2. In cases, when matching:
Instead of | Use now:
-------------------------------------------------------
DAE.ET_INT() | DAE.T_INTEGER(source = _)
DAE.ET_REAL() | DAE.T_REAL(source = _)
DAE.ET_BOOL() | DAE.T_BOOL(source = _)
DAE.ET_STRING() | DAE.T_STRING(source = _)
DAE.ET_ENUMERATION(...) | DAE.T_ENUMERATION(...)
DAE.ET_COMPLEX(...) | DAE.T_COMPLEX(...)
DAE.ET_OTHER(...) | DAE.T_UNKNOWN(source = _)
DAE.ET_ARRAY(...) | DAE.T_ARRAY(...)
-------------------------------------------------------

3. When constructing values, in the then part or in right
hand side in equations:
Instead of | Use now:
-------------------------------------------------------
DAE.ET_INT() | DAE.T_INTEGER_DEFAULT
DAE.ET_REAL() | DAE.T_REAL_DEFAULT
DAE.ET_BOOL() | DAE.T_BOOL_DEFAULT
DAE.ET_STRING() | DAE.T_STRING_DEFAULT
DAE.ET_ENUMERATION(...) | DAE.T_ENUMERATION(...)
DAE.ET_COMPLEX(...) | DAE.T_COMPLEX(...)
DAE.ET_OTHER(...) | DAE.T_UNKNOWN(source = _)
DAE.ET_ARRAY(...) | DAE.T_ARRAY(...)
-------------------------------------------------------

4. Types.elabType got renamed to Types.simplifyType
and does some type simplification (instead of the
previous DAE.T_* -> DAE.ET_* translation).

Feel free to ask me anything if something is unclear.

The code can be further improved (we need better handling
of DAE.T_ARRAY that has several dimensions instead of one)
by getting rid of Types.simplifyType/Types.expTypetoTypesType,
but for now is good enough. Also, functionality for the old
DAE.ET_* handling from Expression*.mo can be merged with the
DAE.T_ handling from Types so we can get rid of duplicate
code too.

13 lines of code changed in 5 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.HeatingSystem.mos (+7 -7), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+2 -2), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (+1 -1), Modelica.Fluid.Pipes.StaticPipe.mos (+2 -2)
sjoelund.se 2011-11-29 15:54 Rev.: 10600

- Some rewrite rules for a*(b^(-r)) => a/(b^r) and similar expressions

140 lines of code changed in 15 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.InnerTank.mos (+1 -1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+20 -20), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+4 -4), Modelica.Fluid.Examples.DrumBoiler.BaseClasses.EquilibriumDrumBoiler.mos (+5 -5), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+17 -17), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+23 -23), Modelica.Fluid.Examples.HeatingSystem.mos (+27 -27), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+6 -6), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+4 -4), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (+4 -4), Modelica.Fluid.Pipes.StaticPipe.mos (+6 -6), Modelica.Fluid.Valves.ValveCompressible.mos (+2 -2), Modelica.Fluid.Valves.ValveVaporizing.mos (+19 -19)
sjoelund.se 2011-11-29 15:10 Rev.: 10599

- ExpressionSimplify: Added new rules:
- a^e*b^e => (a*b)^e
- a^e/b^e => (a/b)^e

52 lines of code changed in 4 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+4 -4), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+6 -6), Modelica.Fluid.Examples.HeatingSystem.mos (+2 -2), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (+40 -2)
perost 2011-11-29 12:36 Rev.: 10595

- Added TankWithTopPorts to working tests in fluid, since it kind of works.

4 lines of code changed in 2 files:

  • testsuite/libraries/msl31/fluid: Makefile (+1 -1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWithTopPorts.mos (+3 -14)
sjoelund.se 2011-11-29 11:51 Rev.: 10594

- Fix ExpressionDump: -(a+b) is now printed correctly (previously was printed as -a+b)

210 lines of code changed in 25 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.InnerTank.mos (+1 -1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+4 -4), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+22 -22), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.RadioButton.mos (+1 -1), Modelica.Fluid.Examples.DrumBoiler.BaseClasses.EquilibriumDrumBoiler.mos (+23 -23), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+1 -1), Modelica.Fluid.Examples.HeatingSystem.mos (+5 -5), Modelica.Fluid.Fittings.MultiPort.mos (+1 -1), Modelica.Fluid.Fittings.TeeJunctionIdeal.mos (+7 -7), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+11 -11), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalLaminarFlow.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (+3 -3), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+11 -11), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (+1 -1), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (+18 -18), Modelica.Fluid.Pipes.StaticPipe.mos (+14 -14), Modelica.Fluid.Sensors.DensityTwoPort.mos (+3 -3), Modelica.Fluid.Sensors.MassFlowRate.mos (+2 -2), Modelica.Fluid.Sensors.SpecificEnthalpyTwoPort.mos (+3 -3), Modelica.Fluid.Sensors.SpecificEntropyTwoPort.mos (+3 -3), Modelica.Fluid.Sensors.TemperatureTwoPort.mos (+3 -3), Modelica.Fluid.Sensors.TraceSubstancesTwoPort.mos (+3 -3), Modelica.Fluid.Sensors.VolumeFlowRate.mos (+3 -3), Modelica.Fluid.Valves.ValveCompressible.mos (+6 -6), Modelica.Fluid.Valves.ValveVaporizing.mos (+60 -60)
perost 2011-11-28 14:58 Rev.: 10587

- Changed nX to : in some functions in PartialTwoPhaseMedium to make them work
as intended.

2967 lines of code changed in 7 files:

  • testsuite/libraries/msl31/fluid: Makefile (+1 -1), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+2359 -13), Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater.mos (+203 -6), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+93 -93), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+119 -119), Modelica.Fluid.Examples.HeatExchanger.BaseClasses.BasicHX.mos (+53 -10), Modelica.Fluid.Examples.HeatingSystem.mos (+139 -139)
adrpo 2011-11-19 18:43 Rev.: 10556

Error.mo
- typo fix

DAEUtil.mo
- better error messages

Inst.mo
- sort innerouter after the element dependency analysis
- add record constructors that are function inputs to the DAE (IdealGasH2O now compiles but has dassl issues)
- speedup Inst.makeFullyQualified a bit

InstExtends.mo
- more fix* calls which were missed

Interactive.mo
- use System.get/setPartialInst instead of RTOpts debug flags as they are REALLY slow
- this will speed up the MSL query for qt & java clients a bit.

SimCodeC.tpl
- use -O0 when running the testsuite.

Derive.mo
- better printout for derivative function error message

testsuite/
- update tests (more record constructors now)
- add one more to Media simulation and 2 more to Fluid flattening

mingw makefiles
- use wget (will be replaced by svn put into OMDev later)
to fetch revision number and put it part of the OMC version



2934 lines of code changed in 36 files:

  • testsuite/libraries/msl31/fluid: Makefile (+2 -2), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWithTopPorts.mos (+3 -1), Modelica.Fluid.Examples.BranchingDynamicPipes.mos (+251 -1), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+14), Modelica.Fluid.Examples.DrumBoiler.BaseClasses.EquilibriumDrumBoiler.mos (+47), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+66), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+67 -1), Modelica.Fluid.Examples.HeatingSystem.mos (+67 -1), Modelica.Fluid.Examples.IncompressibleFluidNetwork.mos (+73 -899), Modelica.Fluid.Examples.InverseParameterization.mos (+2 -7), Modelica.Fluid.Fittings.AbruptAdaptor.mos (+2 -4), Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.TestWallFriction.mos (+2 -6), Modelica.Fluid.Fittings.SharpEdgedOrifice.mos (+2 -8), Modelica.Fluid.Fittings.SimpleGenericOrifice.mos (+1), Modelica.Fluid.Fittings.TeeJunctionVolume.mos (+2 -3), Modelica.Fluid.Machines.ControlledPump.mos (+2 -17), Modelica.Fluid.Machines.PrescribedPump.mos (+2 -15), Modelica.Fluid.Machines.Pump.mos (+2 -14), Modelica.Fluid.Machines.SweptVolume.mos (+2 -1), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.ConstantFlowHeatTransfer.mos (+5 -1), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.IdealFlowHeatTransfer.mos (+5 -1), Modelica.Fluid.Pipes.DynamicPipe.mos (+6 -14), Modelica.Fluid.Pipes.StaticPipe.mos (+4), Modelica.Fluid.Sensors.Density.mos (+5 -1), Modelica.Fluid.Sensors.DensityTwoPort.mos (+5 -1), Modelica.Fluid.Sensors.RelativeTemperature.mos (+5 -1), Modelica.Fluid.Sensors.SpecificEntropy.mos (+5 -1), Modelica.Fluid.Sensors.SpecificEntropyTwoPort.mos (+5 -1), Modelica.Fluid.Sensors.Temperature.mos (+5 -1), Modelica.Fluid.Sensors.TemperatureTwoPort.mos (+5 -1), Modelica.Fluid.Sensors.VolumeFlowRate.mos (+5 -1), Modelica.Fluid.Valves.ValveCompressible.mos (+184 -48), Modelica.Fluid.Valves.ValveVaporizing.mos (+2069 -49), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.ConstantHeatTransfer.mos (+5 -1), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.IdealHeatTransfer.mos (+5 -1), Modelica.Fluid.Vessels.ClosedVolume.mos (+2 -1)
adrpo 2011-11-15 12:44 Rev.: 10515

- include the modifiers and dimensions in the dependency analysis in Inst.instElementList
- move annotation checking functions from DAEUtil to SCode.
- convert type of the Value in the binding if needed (to get rid of things like min = 0, instead of min = 0.0)
- in partial instantiation disregard parameters, instantiate only constants.
- rename the really bad name "subs" to restCref in Static.elabCrefSubs.
- clear errors when loadingFileInteractiveQualified API and parseFile API
- added vaporizing.mo test

- a LOT of tests have changed
- small fixes to tools/validatetest/validatetest.pl

3402 lines of code changed in 22 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.Controller.mos (+272 -272), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.InnerTank.mos (+1 -1), Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.mos (+489 -493), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.NormalOperation.mos (+93 -93), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.RadioButton.mos (+1 -1), Modelica.Fluid.Examples.ControlledTankSystem.Utilities.TankController.mos (+259 -254), Modelica.Fluid.Examples.DrumBoiler.BaseClasses.EquilibriumDrumBoiler.mos (+25 -25), Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.mos (+301 -301), Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.mos (+638 -638), Modelica.Fluid.Examples.HeatExchanger.BaseClasses.WallConstProps.mos (+6 -6), Modelica.Fluid.Examples.HeatingSystem.mos (+1068 -1071), Modelica.Fluid.Pipes.BaseClasses.FlowModels.DetailedPipeFlow.mos (+36 -36), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalLaminarFlow.mos (+24 -24), Modelica.Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow.mos (+28 -28), Modelica.Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow.mos (+37 -37), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.ConstantFlowHeatTransfer.mos (+4 -4), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.IdealFlowHeatTransfer.mos (+3 -3), Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer.mos (+6 -6), Modelica.Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity.mos (+19 -19), Modelica.Fluid.Pipes.StaticPipe.mos (+87 -88), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.ConstantHeatTransfer.mos (+3 -3), Modelica.Fluid.Vessels.BaseClasses.HeatTransfer.IdealHeatTransfer.mos (+2 -2)
sjoelund.se 2011-11-09 17:33 Rev.: 10363

- Ceval the cref without subscripts if we have variable subscripts

1 lines of code changed in 1 file:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.HeatingSystem.mos (+1 -1)
perost 2011-11-09 15:54 Rev.: 10359

- Added comment to fluid test.

2 lines of code changed in 1 file:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Vessels.ClosedVolume.mos (+2)
perost 2011-11-09 11:05 Rev.: 10347

- Updated fluid tests.

62 lines of code changed in 38 files:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor.mos (+2 -2), Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWithTopPorts.mos (+1 -1), Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater.mos (+2 -2), Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.mos (+2 -2), Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.mos (+2 -2), Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.mos (+2 -2), Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.mos (+2 -2), Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.mos (+2 -2), Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.mos (+2 -2), Modelica.Fluid.Examples.BranchingDynamicPipes.mos (+1 -1), Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.mos (+2 -2), Modelica.Fluid.Examples.HeatExchanger.BaseClasses.BasicHX.mos (+2 -2), Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.mos (+2 -2), Modelica.Fluid.Examples.InverseParameterization.mos (+2 -2), Modelica.Fluid.Examples.PumpingSystem.mos (+2 -2), Modelica.Fluid.Examples.Tanks.EmptyTanks.mos (+2 -2), Modelica.Fluid.Examples.Tanks.TanksWithOverflow.mos (+2 -2), Modelica.Fluid.Examples.Tanks.ThreeTanks.mos (+2 -2), Modelica.Fluid.Examples.TraceSubstances.RoomCO2.mos (+2 -2), Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.mos (+2 -2), Modelica.Fluid.Fittings.AbruptAdaptor.mos (+2 -2), Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.TestWallFriction.mos (+2 -2), Modelica.Fluid.Fittings.SharpEdgedOrifice.mos (+2 -2), Modelica.Fluid.Fittings.SimpleGenericOrifice.mos (+2 -2), Modelica.Fluid.Fittings.TeeJunctionVolume.mos (+1 -1), Modelica.Fluid.Machines.ControlledPump.mos (+1 -1), Modelica.Fluid.Machines.PrescribedPump.mos (+1 -1), Modelica.Fluid.Machines.Pump.mos (+1 -1), Modelica.Fluid.Machines.SweptVolume.mos (+1 -1), Modelica.Fluid.Pipes.DynamicPipe.mos (+1 -1), Modelica.Fluid.Sources.Boundary_pT.mos (+1 -1), Modelica.Fluid.Sources.Boundary_ph.mos (+1 -1), Modelica.Fluid.Sources.FixedBoundary.mos (+1 -1), Modelica.Fluid.Sources.MassFlowSource_T.mos (+1 -1), Modelica.Fluid.Sources.MassFlowSource_h.mos (+1 -1), Modelica.Fluid.Valves.ValveCompressible.mos (+2 -2), Modelica.Fluid.Valves.ValveVaporizing.mos (+2 -2), Modelica.Fluid.Vessels.ClosedVolume.mos (+1 -1)
perost 2011-11-03 18:12 Rev.: 10291

- Add crefs from component modifier in Inst.updateComponentInEnv to get rid of
some error messages.

0 lines of code changed in 1 file:

  • testsuite/libraries/msl31/fluid: Modelica.Fluid.Examples.IncompressibleFluidNetwork.mos (-6048)

(25 more)

Generated by StatSVN 0.7.0