August 2010 Commit Log

Number of Commits:
86
Number of Active Developers:
10
sjoelund.se 2010-08-31 17:06 Rev.: 5989

- Add some error handling to the ANTLR3 grammar

815 lines of code changed in 2 files:

otto@mathcore.com 2010-08-31 14:46 Rev.: 5988

Quote the path so that it works if it contains parenthesis.

1 lines of code changed in 1 file:

niklwors 2010-08-31 13:22 Rev.: 5987

updated project plan

0 lines of code changed in 1 file:

sjoelund.se 2010-08-31 13:02 Rev.: 5986

- Updated ANTLR3 grammar slightly. It can now handle ~485 of the testcases.

14 lines of code changed in 1 file:

sjoelund.se 2010-08-31 12:39 Rev.: 5985

- Updated ANTLR3 grammar slightly. It can now handle ~399 of the testcases.

7 lines of code changed in 1 file:

sjoelund.se 2010-08-31 11:56 Rev.: 5984

- More fixes to the ANTLR3 grammar (~308 working testcases)

15 lines of code changed in 1 file:

sjoelund.se 2010-08-31 09:57 Rev.: 5983

- More fixes to the ANTLR3 grammar (~264 working testcases)

29 lines of code changed in 1 file:

sjoelund.se 2010-08-31 08:45 Rev.: 5982

- More fixes to the ANTLR3 grammar (~165 working testcases)

32 lines of code changed in 2 files:

sjoelund.se 2010-08-31 07:29 Rev.: 5981

- Add missing parse.c to the ANTLR3 parser

785 lines of code changed in 1 file:

sjoelund.se 2010-08-30 21:39 Rev.: 5979

- Updated ANTLR3 grammar slightly. It can now handle ~140 of the testcases.

82 lines of code changed in 1 file:

asodja 2010-08-30 17:55 Rev.: 5978

Replaced isblank() with isspace(), because the former was added with C99
standard and it seems not every compiler supports it.

3 lines of code changed in 1 file:

sjoelund.se 2010-08-30 17:12 Rev.: 5977

- ANTLR3 rules almost done. Can now link it with the omc executable, but it crashes for most input :)

120 lines of code changed in 3 files:

sjoelund.se 2010-08-30 13:16 Rev.: 5976

- More actions to the ANTLR3 parser
- Now initializes like an RML module so we can use real RML calls and see how slow the parser is using lots of malloc()

155 lines of code changed in 2 files:

asodja 2010-08-29 19:54 Rev.: 5975

Reimplemented tables.{h,cpp} (and hopefully made code more clear)
and also added support to load tables form MAT-file ver4.

666 lines of code changed in 3 files:

sjoelund.se 2010-08-29 14:55 Rev.: 5973

- More actions to the ANTLR3 parser

168 lines of code changed in 1 file:

sjoelund.se 2010-08-28 17:18 Rev.: 5972

- More actions to the ANTLR3 parser

562 lines of code changed in 3 files:

sjoelund.se 2010-08-27 21:26 Rev.: 5971

- File encoding UTF-8 to 8859-10 (c_runtime/solver_main.cpp)

4 lines of code changed in 1 file:

sjoelund.se 2010-08-27 21:13 Rev.: 5970

- Fixed RK allocation issues once and for all (alloca doesn't work in mingw, so we use a global malloc instead)

42 lines of code changed in 3 files:

sjoelund.se 2010-08-27 20:42 Rev.: 5969

- Guard some macros in f2c.h so they don't mess with C++ headers

14 lines of code changed in 5 files:

sjoelund.se 2010-08-27 19:45 Rev.: 5968

- Changed RK allocation method to alloca instead of variable-length arrays, since Visual Studio doesn't support those...

17 lines of code changed in 1 file:

sjoelund.se 2010-08-27 18:25 Rev.: 5967

- Another memory leak in rungekutta_step fixed

1 lines of code changed in 1 file:

sjoelund.se 2010-08-27 18:19 Rev.: 5966

- Fix rungekutta memory leak

28 lines of code changed in 1 file:

otto@mathcore.com 2010-08-27 16:19 Rev.: 5965

Re-enabled the general handling of import in Cevalfunc.

5 lines of code changed in 1 file:

sjoelund.se 2010-08-27 15:50 Rev.: 5964

- Added some actions to the ANTLR3 grammar

184 lines of code changed in 2 files:

petar 2010-08-27 09:49 Rev.: 5962

-Added Util.arrayMap and Util.arrayMapNoCopy for mapping functions over arrays.

98 lines of code changed in 1 file:

sjoelund.se 2010-08-27 08:34 Rev.: 5961

- Fix building ANTLR3 parser prototype on Linux (ignore the directory recursion in the executable as it is written in Win32 API)

292 lines of code changed in 5 files:

sjoelund.se 2010-08-26 17:34 Rev.: 5960

- Updated rtest script to check error messages if omc fails to execute

683 lines of code changed in 81 files:

sjoelund.se 2010-08-26 16:16 Rev.: 5959

- Changed output of a flat class from fclass to class (omc a.mo > a.mof; omc a.mof no longer causes a parsing error)
- All testcases have been updated

964 lines of code changed in 897 files:

sjoelund.se 2010-08-26 15:33 Rev.: 5958

- Fix and add testcase for Integer() of enum
- Fixes bug #1250

24 lines of code changed in 4 files:

sjoelund.se 2010-08-26 14:31 Rev.: 5957

- Fixed the copyright information displayed to the user when running omc,mosh,OMShell or OMNotebook (years were outdated, etc)

20 lines of code changed in 7 files:

sjoelund.se 2010-08-26 13:42 Rev.: 5956

- Simulation runtime change:
- The cref defines also define $P$old<%cref%> (and old2)
- This is a replacement for the old() old2() functions and is a lot faster

363 lines of code changed in 16 files:

sjoelund.se 2010-08-26 12:50 Rev.: 5955

workplan update

0 lines of code changed in 1 file:

ppriv 2010-08-25 19:50 Rev.: 5953

- fixed a bug in SimCodeC.daeExpAsub() in the last case where context condition should be FUNCTION_CONTEXT vs. other contexts (did not work for OTHER context)
- removed a redundant case (repetitive code) with Susan's "or case" feature in SimCodeC.daeExpMatrix()
- a new version of C# code generator (better array support in functions, mainly 2D slicing)

717 lines of code changed in 4 files:

sjoelund.se 2010-08-24 10:02 Rev.: 5951

- Improved the rungekutta implementation (call functionODE n times per loop instead of n+1)

30 lines of code changed in 4 files:

AlexeyLebedev 2010-08-23 16:50 Rev.: 5949

Improved error messages in Static.mo - added Prefix information into them. Modified test files where needed. See http://openmodelica.ida.liu.se:8080/cb/issue/1235?navigation=true

1845 lines of code changed in 14 files:

adrpo 2010-08-23 06:43 Rev.: 5948

- updates to the Workplan-status-estimates.xls

0 lines of code changed in 1 file:

sjoelund.se 2010-08-20 16:32 Rev.: 5947

- Updated workplan (missed one line: inline)

0 lines of code changed in 1 file:

sjoelund.se 2010-08-20 15:44 Rev.: 5946

- Backup algebraics in functionDAE_res, as per bug #1176

17 lines of code changed in 2 files:

perost 2010-08-20 15:02 Rev.: 5945

- Updated workplan.

0 lines of code changed in 1 file:

sjoelund.se 2010-08-20 14:54 Rev.: 5944

- workplan update

0 lines of code changed in 1 file:

sjoelund.se 2010-08-20 14:23 Rev.: 5943

- Added runtime support for array equations "cref = fn()", where the cref is an integer array
- Solves bug #1242

1157 lines of code changed in 5 files:

sjoelund.se 2010-08-20 12:02 Rev.: 5942

- Changed the inline implementation slightly so that it works properly with events
- Added functionODE_inline in the runtime (only called by the inline solver)
- Now uses RK order 4 properly (was order 1 previously)
- Verified that RK produces correct results with der(z) = time
- The inlined code now updates the global time instead of the solver routine

1394 lines of code changed in 11 files:

adrpo 2010-08-20 01:09 Rev.: 5940

- updates to release files

22 lines of code changed in 7 files:

adrpo 2010-08-19 23:56 Rev.: 5939

- fixed setting the compilation command on Windows for Inline solvers
- fixed test name in InlineSolverCodeGenerationRK.mos

28 lines of code changed in 2 files:

perost 2010-08-19 13:46 Rev.: 5938

- Fixed simplification of min and max so that a value of the right type is
returned. This fixed the mosfiles-nosim/matrices test case.

21 lines of code changed in 1 file:

sjoelund.se 2010-08-19 13:43 Rev.: 5937

- simulate(..., method="inline-...") now sets the environment variables required during compilation

38 lines of code changed in 4 files:

sjoelund.se 2010-08-19 12:38 Rev.: 5936

- Added "inline-rungekutta" solver
- Uses C preprocessor, and for now "inline-euler" and "inline-rungekutta" requires adding environment variables so that the executable compiles code for the inlining

1442 lines of code changed in 12 files:

sjoelund.se 2010-08-17 16:26 Rev.: 5933

- Only use EQUATION_GENERIC_FAILURE if no other error message was output during instantiation of the equation

83 lines of code changed in 4 files:

sjoelund.se 2010-08-17 15:44 Rev.: 5932

- Add line numbers to error messages in Inst.checkConnectTypes

26 lines of code changed in 1 file:

petar 2010-08-17 13:56 Rev.: 5931

-Added extra guard to Exp.solve so it doesn't solve equations like a*b=0 w.r.t. a. (a is not necessarily zero)

29 lines of code changed in 1 file:

petar 2010-08-17 13:14 Rev.: 5930

-Made DAE.transformIfEqToExpr public again since MathCore uses it in their backend.

1 lines of code changed in 1 file:

sjoelund.se 2010-08-17 11:57 Rev.: 5929

- Added new solver "inline-euler"
- Works for all equation blocks OpenModelica currently can generate derivative assignments for
- Does not generate callback functions for all the blocks (which means it can't be used to implement inline-rungekutta)
- Mixed equation systems inline the solver in each iteration, which is not optimal performance
- Does not require any API calls or flags to use this solver - simulate(..., method="inline-euler") works

1618 lines of code changed in 16 files:

sjoelund.se 2010-08-16 13:38 Rev.: 5927

- Changed SimCode.SES_SIMPLE_ASSIGN.cref to a ComponentRef instead of Exp

240 lines of code changed in 7 files:

perost 2010-08-16 11:57 Rev.: 5926

- Added failtrace to DAELow.lowerStatementInputsOutputs.
- Fixed correct type of DAE.STMT_ASSIGN_ARR in Algorithm.makeAssignment2.
- Fixed code generation for array equations in algorithm sections in models.

644 lines of code changed in 7 files:

sjoelund.se 2010-08-16 11:01 Rev.: 5925

- Removed the SIMVAR to String to function from the template; the cref stored in it is sufficient to create the string

940 lines of code changed in 2 files:

sjoelund.se 2010-08-13 21:00 Rev.: 5923

- Fix a configure issue when using sendData-Qt on OSX

165 lines of code changed in 2 files:

sjoelund.se 2010-08-13 15:01 Rev.: 5922

- Added a generic error message for failing to instantiate an equation
- There are many ways that the equations can fail, and only error messages for some; it's important to at least print something
- Closing bug #1239 (which had 2 errors in it; neither of which were caught)

30 lines of code changed in 5 files:

Ariel.Liebman 2010-08-13 03:26 Rev.: 5921

Fixed minor bug in notebook.cpp introduced in new message window string concatenation.

1 lines of code changed in 1 file:

perost 2010-08-12 15:12 Rev.: 5919

- Added getVectorizationLimit to complement the previously added
setVectorizationLimit API call.

9 lines of code changed in 1 file:

perost 2010-08-12 13:41 Rev.: 5918

- Removed check for DAE.VARIABLE in SimCode.daeInOutSimVar so that it doesn't
fail for parameters in functions.

0 lines of code changed in 1 file:

sjoelund.se 2010-08-12 12:55 Rev.: 5917

- Updated OMC lexers to use look-ahead that detects if +. is supposed to be PLUS followed by some text, or realAdd (i.e. PLUS)
- Fixed bug #1148, and added testcase RealOpLexer.mo

83 lines of code changed in 4 files:

sjoelund.se 2010-08-12 12:48 Rev.: 5916

- Refactoring MetaModelica Real operations
- The source code now contains a space after each real oepration (e.g. a*. 0.4)
- The RML and OMC parsers will be updated to require a space after these operations in order to avoid ambiguity with regular Modelica code

84 lines of code changed in 20 files:

perost 2010-08-12 11:50 Rev.: 5915

- Added setVectorizationLimit as an API command.
- Cleaned up implementation of vectorization limit in RTOpts, and sprinkled some
comments on it.

46 lines of code changed in 3 files:

perost 2010-08-12 10:55 Rev.: 5914

- Unlifts both sides of the equation in Inst.instArrayElEq, so that their type
is correct.
- Added testcase mosfiles/ArraySlice.

205 lines of code changed in 5 files:

sjoelund.se 2010-08-11 12:48 Rev.: 5911

- Fixed mofiles/Circle.mo (Per pointed out that it did not define a Circle, as it should have)

2 lines of code changed in 1 file:

sjoelund.se 2010-08-11 11:33 Rev.: 5910

- Backend: Better error messages when if-equation to if-expression fails.
- Backend: Ignore assert() and terminate() in if-equations, and print a warning. We need to do this to get some MSL models to generate code since OpenModelica doesn't fully support if-equations.

63 lines of code changed in 2 files:

perost 2010-08-11 10:27 Rev.: 5909

- Moved an failtrace guard in instElement so that error messages are printed
correctly.

2 lines of code changed in 1 file:

petar 2010-08-11 06:39 Rev.: 5908

-Fixed bug with prefixing of expressions inside subscripts of component references (Bug reported by Hannes Edinger). (testcase in ArrayIndex.mo)

222 lines of code changed in 7 files:

sjoelund.se 2010-08-10 15:51 Rev.: 5907

- Enforce that function calls with multiple output have a tuple of crefs on the left side of an equality equation.

38 lines of code changed in 2 files:

sjoelund.se 2010-08-10 11:48 Rev.: 5906

- Added output String name to lookupVar functions, so it's possible to create the correct FQ path from the output
- Testcase Import6 tests this (import a=X.b would previously get FQ path X.a)

157 lines of code changed in 13 files:

perost 2010-08-10 09:38 Rev.: 5905

- Added the new vectorization limit switch to the help text of OMC.

2 lines of code changed in 1 file:

perost 2010-08-10 09:32 Rev.: 5904

- Added command-line switch to set the vectorization limit used by
Static.crefVectorize.

37 lines of code changed in 4 files:

sjoelund.se 2010-08-10 09:20 Rev.: 5903

- Fix XmlDump; escape comments (bug #1101)
- Fixed the rtest script, so that it is possible to have output that starts with "xmlNameSpace:..." or similar

139 lines of code changed in 6 files:

perost 2010-08-10 08:33 Rev.: 5902

- Readded changes made in revision 5900 that were removed in revision 5901,
since they seem to be working anyway.

468 lines of code changed in 3 files:

perost 2010-08-09 16:33 Rev.: 5901

- Undid revision 5900, since it caused some testcases in mofiles to fail.

388 lines of code changed in 3 files:

perost 2010-08-09 16:21 Rev.: 5900

- Fixed code generation of functions returning tuples.
- Added testcase that tests the above fix.

548 lines of code changed in 5 files:

sjoelund.se 2010-08-09 15:41 Rev.: 5899

- Changed elaboration of cat() to ignore checking that the dimension we concatenate over is always identical
- Fixes bug #112

37 lines of code changed in 2 files:

sjoelund.se 2010-08-09 14:28 Rev.: 5897

- Fix year on copyright notice in the "About OMNotebook" dialog

2 lines of code changed in 1 file:

sjoelund.se 2010-08-09 14:03 Rev.: 5896

- Fixed the DAE function cache when elaborating the expression in a reinit() statement
- Added simulation testcase FunctionReinit.mos
- Closing bug #1023

43 lines of code changed in 4 files:

sjoelund.se 2010-08-09 12:21 Rev.: 5895

- Use $(MAKE) in c_runtime Makefiles, to suppress warnings

4 lines of code changed in 1 file:

sjoelund.se 2010-08-09 12:17 Rev.: 5894

- Added runtime code for semiLinear(), and added simulation testcases for it

38 lines of code changed in 4 files:

sjoelund.se 2010-08-09 11:52 Rev.: 5893

- Improve the error message when trying to use a non-linear system of equations in a when-equation

48 lines of code changed in 2 files:

perost 2010-08-09 10:49 Rev.: 5892

- Commented out cases for arrays in writeLhsCref in SimCodeC.tpl.
- Changed the type of return variables for the size operator to modelica_integer
instead of size_t, so that min works on arrays of unknown dimensions.

4 lines of code changed in 2 files:

sjoelund.se 2010-08-09 08:57 Rev.: 5891

- In errorext.cpp, fix the error message when a mismatched delCheckpoint is detected (id and top of stack used to be switched around, making you debug the wrong piece of code)
- Added checkpoint rollback for "instArray", and renamed it "instArray Real[0]"

161 lines of code changed in 2 files:

asodja 2010-08-06 20:20 Rev.: 5889

Corrected SimCode.getInitalValue(), so it check that variable's initial
value is a constant.

10 lines of code changed in 1 file:

asodja 2010-08-06 16:32 Rev.: 5888

Added additional fields to SimCode.SIMVAR structure:
- String unit, displayUnit
- Option<DAE.Exp> initialValue (from modified SimCodegen.generataInitData{3,4})

(This fields are currently unused in the `trunk'.)

125 lines of code changed in 2 files:

July 2010 »

Generated by StatSVN 0.7.0