[root]/testsuite/libraries/msl31
Modelica
(0 files, 0 lines)
Blocks
(0 files, 0 lines)
C-Sources
(0 files, 0 lines)
Electrical
(0 files, 0 lines)
Analog
(0 files, 0 lines)
Examples
(0 files, 0 lines)
Utilities
(0 files, 0 lines)
Fluid
(0 files, 0 lines)
Examples
(0 files, 0 lines)
Images
(0 files, 0 lines)
Blocks
(0 files, 0 lines)
Sources
(0 files, 0 lines)
Electrical
(0 files, 0 lines)
Analog
(0 files, 0 lines)
Fluid
(0 files, 0 lines)
Components
(0 files, 0 lines)
Examples
(0 files, 0 lines)
UsersGuide
(0 files, 0 lines)
Magnetic
(0 files, 0 lines)
FluxTubes
(0 files, 0 lines)
Basic
(0 files, 0 lines)
Examples
(0 files, 0 lines)
MovingCoilActuator
(0 files, 0 lines)
SolenoidActuator
(0 files, 0 lines)
Material
(0 files, 0 lines)
HardMagnetic
(0 files, 0 lines)
SoftMagnetic
(0 files, 0 lines)
Shapes
(0 files, 0 lines)
Leakage
(0 files, 0 lines)
UsersGuide
(0 files, 0 lines)
FluxTubeConcept
(0 files, 0 lines)
ReluctanceForceCalculation
(0 files, 0 lines)
Math
(0 files, 0 lines)
Media
(0 files, 0 lines)
Air
(0 files, 0 lines)
IdealGases
(0 files, 0 lines)
SingleGases
(0 files, 0 lines)
UsersGuide
(0 files, 0 lines)
Water
(0 files, 0 lines)
MultiBody
(0 files, 0 lines)
Examples
(0 files, 0 lines)
Elementary
(0 files, 0 lines)
Loops
(0 files, 0 lines)
Systems
(0 files, 0 lines)
Forces
(0 files, 0 lines)
Joints
(0 files, 0 lines)
Parts
(0 files, 0 lines)
Sensors
(0 files, 0 lines)
Tutorial
(0 files, 0 lines)
FirstExample
(0 files, 0 lines)
LoopStructures
(0 files, 0 lines)
UsersGuide
(0 files, 0 lines)
Visualizers
(0 files, 0 lines)
Rotational
(0 files, 0 lines)
StateGraph
(0 files, 0 lines)
Examples
(0 files, 0 lines)
UsersGuide
(0 files, 0 lines)
Translational
(0 files, 0 lines)
UsersGuide
(0 files, 0 lines)
Magnetic
(0 files, 0 lines)
Math
(0 files, 0 lines)
Mechanics
(0 files, 0 lines)
MultiBody
(0 files, 0 lines)
Examples
(0 files, 0 lines)
Elementary
(0 files, 0 lines)
Loops
(0 files, 0 lines)
Systems
(0 files, 0 lines)
Media
(0 files, 0 lines)
IdealGases
(0 files, 0 lines)
Common
(0 files, 0 lines)
Water
(0 files, 0 lines)
Scripts
(0 files, 0 lines)
Fluid
(0 files, 0 lines)
AST_BatchPlant_StandardWater
(0 files, 0 lines)
BranchingDynamicPipes
(0 files, 0 lines)
ControlledTanks
(0 files, 0 lines)
EmptyTanks
(0 files, 0 lines)
HeatingSystem
(0 files, 0 lines)
IncompressibleFluidNetwork
(0 files, 0 lines)
InverseParameterization
(0 files, 0 lines)
MomentumBalanceFittings
(0 files, 0 lines)
OneTank
(0 files, 0 lines)
RoomCO2
(0 files, 0 lines)
RoomCO2WithControls
(0 files, 0 lines)
TankWithEmptyingPipe1
(0 files, 0 lines)
TankWithEmptyingPipe2
(0 files, 0 lines)
TanksWithEmptyingPipe1
(0 files, 0 lines)
TanksWithEmptyingPipe2
(0 files, 0 lines)
TanksWithOverflow
(0 files, 0 lines)
ThreeTanks
(0 files, 0 lines)
TwoTanks
(0 files, 0 lines)
Thermal
(0 files, 0 lines)
Utilities
(0 files, 0 lines)
data
(0 files, 0 lines)
help
(0 files, 0 lines)
Documentation
(0 files, 0 lines)
Fluid
(0 files, 0 lines)
IF97documentation
(0 files, 0 lines)
ModelicaReference
(0 files, 0 lines)
Images
(0 files, 0 lines)
ModelicaServices
(0 files, 0 lines)
fluid
(0 files, 0 lines)
simulate
(0 files, 0 lines)
media
(0 files, 0 lines)
simulate
(0 files, 0 lines)
simulate
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 437 (100.0%) | 158735 (100.0%) | 363.2 |
sjoelund.se | 151 (34.6%) | 61128 (38.5%) | 404.8 |
perost | 145 (33.2%) | 50507 (31.8%) | 348.3 |
adrpo | 64 (14.6%) | 46484 (29.3%) | 726.3 |
Frenkel TUD | 52 (11.9%) | 349 (0.2%) | 6.7 |
mahge930 | 3 (0.7%) | 263 (0.2%) | 87.6 |
wbraun | 2 (0.5%) | 4 (0.0%) | 2.0 |
alash325 | 20 (4.6%) | 0 (0.0%) | 0.0 |
-- 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 20 files:
- Changed Util.swap to work as expected (i.e. swap on true).
165 lines of code changed in 3 files:
- Adding some missing each-prefixes
1 lines of code changed in 1 file:
#1798
- External C functions can now throw assertions by calling ModelicaError
- Assertions thrown in function code now causes the function to fail() properly
2 lines of code changed in 1 file:
#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
165 lines of code changed in 3 files:
- Fixed svn:eol-style
1 lines of code changed in 1 file:
- Removed space after first parenthesis when dumping asserts in DAEDump, to ease
the transition to a template based dumper.
2 lines of code changed in 2 files:
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.
3347 lines of code changed in 6 files:
- Revert MSL31 Media changes in r12642 (as the text-file said I did)
- Update libraries/README and changed testcases
106 lines of code changed in 5 files:
- 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
26675 lines of code changed in 6 files:
- Fix testsuite
2 lines of code changed in 2 files:
#1767
- Marked strings for translation in Error.mo
- Removed some useless whitespace from a few error-messages
3 lines of code changed in 2 files:
- fix tests after MSL 3.1 degree C encoding fix.
353 lines of code changed in 1 file:
- Fix FluxTubes test and some file encoding issues in MSL 3.1
2 lines of code changed in 1 file:
- fix tests
114 lines of code changed in 9 files:
- Implemented a new template based expression dumping.
- Updated test suite.
2754 lines of code changed in 12 files:
Fix for bug #1731:
- Fixed connection of arrays with subscripts.
- Updated testsuit due to changed equation order for connects.
174 lines of code changed in 2 files:
- compareSimulationResults: report vars in case of file not equal and print error messages if command failed
- msl31/simulate: delete all generated files
1 lines of code changed in 1 file:
- fix testsuite
8 lines of code changed in 6 files:
- improve handling of complex equations
- improve evaluation of parameters with Evaluate=True annotation
- add built in functions to set machtingalgorithm
- update testsuite
8 lines of code changed in 6 files:
- Fixed correct types on array-scalar and scalar-array operations.
- Updated test cases due to changed operation order.
1020 lines of code changed in 2 files:
- Fixed some of the testcases (tries to simulate packages, instantiate functions)
44 lines of code changed in 1 file:
- Added simulate(..., simflags="flags") option. It will be passed to the simulation executable in the future
6 lines of code changed in 1 file:
- inverted +v flag. By default are all arrays crefs vectorized.
One can set a still a Limit to aviod that.
4 lines of code changed in 2 files:
- Removed support for enum and Integer being compatible types
- Testsuite still runs
- But probably still problems in MSL31
28 lines of code changed in 1 file:
- Expected output
45 lines of code changed in 1 file:
+ 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)
33 lines of code changed in 1 file:
- Fixed M.E.D.Delay.TransmissionDelay
- Not fixed in MSL because other tools do not support Integer(enum) yet (in spec since Modelica 2.1)
42 lines of code changed in 1 file:
+ 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.
230 lines of code changed in 2 files:
- Set svn-eol-style on a few files
3 lines of code changed in 3 files:
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.
95 lines of code changed in 5 files:
- Some rewrite rules for a*(b^(-r)) => a/(b^r) and similar expressions
54 lines of code changed in 6 files:
- Fix ExpressionDump: -(a+b) is now printed correctly (previously was printed as -a+b)
1869 lines of code changed in 10 files:
- 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
11568 lines of code changed in 12 files:
- Ceval the cref without subscripts if we have variable subscripts
392 lines of code changed in 1 file:
- Fixed testsuite.
13 lines of code changed in 3 files:
- Fix for vectorizing delay() calls
8 lines of code changed in 1 file:
- Changed the error message for public non-formal parameters in functions to be
understandable without reading the specification.
24 lines of code changed in 1 file:
- Moved list functions from Util to a new List package.
837 lines of code changed in 6 files:
- Added check for public non-formal function parameters, and fixed the compiler
code and test cases.
26 lines of code changed in 1 file:
(102 more)