Skip to content

Commit

Permalink
Synchronous features improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
gossen authored and OpenModelica-Hudson committed Jul 28, 2015
1 parent e392b23 commit 388d52b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions simulation/modelica/others/ComplexFun.mos
Expand Up @@ -112,10 +112,10 @@ getErrorString();
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'problem2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "Failed to build model: problem2"
// end SimulationResult;
// "[CodegenCFunctions.tpl:2743:11-2743:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -$TMP_problem2_f1.z
// [CodegenCFunctions.tpl:2743:11-2743:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -$TMP_problem2_f5.z
// [CodegenCFunctions.tpl:2743:11-2743:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -$TMP_problem2_f1.z
// [CodegenCFunctions.tpl:2743:11-2743:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -$TMP_problem2_f5.z
// "[CodegenCFunctions.tpl:2747:11-2747:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -$TMP_problem2_f1.z
// [CodegenCFunctions.tpl:2747:11-2747:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -$TMP_problem2_f5.z
// [CodegenCFunctions.tpl:2747:11-2747:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -$TMP_problem2_f1.z
// [CodegenCFunctions.tpl:2747:11-2747:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -$TMP_problem2_f5.z
// "
// {0.0,-0.07207592200561265,-0.08240453183331929,-0.04555334217802521,8.980666631940483e-19}
// ""
Expand All @@ -127,11 +127,11 @@ getErrorString();
// messages = "Failed to build model: problem1"
// end SimulationResult;
// "Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information.
// [SimCode/SimCodeUtil.mo:2278:7-2278:46:writable] Error: Internal error function createNonlinearResidualEquationsComplex failed for: (x, y) = ($cse1, $cse2)
// [SimCode/SimCodeUtil.mo:2364:7-2364:46:writable] Error: Internal error function createNonlinearResidualEquationsComplex failed for: (x, y) = ($cse1, $cse2)
// [simulation/modelica/others/ComplexFun.mo:14:5-14:41:writable] Error: Internal error function createNonlinearResidualEquations failed for equation: (x, y) = ($cse1, $cse2)
// [SimCode/SimCodeUtil.mo:2780:9-2780:50:writable] Error: Internal error function createOdeSystem failed for component torn nonlinear Equationsystem{{{2:4, 5}},
// [SimCode/SimCodeUtil.mo:2866:9-2866:50:writable] Error: Internal error function createOdeSystem failed for component torn nonlinear Equationsystem{{{2:4, 5}},
// {3:2, 1} Size: 2
// [SimCode/SimCodeUtil.mo:467:5-467:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]
// [SimCode/SimCodeUtil.mo:474:5-474:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]
// "
// {0.0,0.2720759220056126,0.4824045318333193,1.445553342178025,2.0}
// ""
Expand All @@ -140,10 +140,10 @@ getErrorString();
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'problem2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "Failed to build model: problem2"
// end SimulationResult;
// "[SimCode/SimCodeUtil.mo:2278:7-2278:46:writable] Error: Internal error function createNonlinearResidualEquationsComplex failed for: (x, -z) = ($cse1, $cse2)
// "[SimCode/SimCodeUtil.mo:2364:7-2364:46:writable] Error: Internal error function createNonlinearResidualEquationsComplex failed for: (x, -z) = ($cse1, $cse2)
// [simulation/modelica/others/ComplexFun.mo:31:5-31:37:writable] Error: Internal error function createNonlinearResidualEquations failed for equation: (x, -z) = ($cse1, $cse2)
// [SimCode/SimCodeUtil.mo:4652:7-4652:46:writable] Error: Internal error complex equations currently only supported on form v = functioncall(...). Equation: (x, -z) = ($cse1, $cse2) solve for {z,x}
// [SimCode/SimCodeUtil.mo:467:5-467:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]
// [SimCode/SimCodeUtil.mo:4738:7-4738:46:writable] Error: Internal error complex equations currently only supported on form v = functioncall(...). Equation: (x, -z) = ($cse1, $cse2) solve for {z,x}
// [SimCode/SimCodeUtil.mo:474:5-474:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]
// "
// {0.0,-0.07207592200561265,-0.08240453183331929,-0.04555334217802521,8.980666631940483e-19}
// ""
Expand Down
Expand Up @@ -89,7 +89,7 @@ translateModel(SynchronousFeatures.ControlledMassBasic); getErrorString();
// 2: vref:DISCRETE() .SynchronousFeatures.ControlledMassBasic, .Real type: Real
// 3: vd:DISCRETE() .SynchronousFeatures.ControlledMassBasic, .Real type: Real
// 4: uOuter:DISCRETE() .SynchronousFeatures.ControlledMassBasic, .Real type: Real
// 5: intE:DISCRETE(start = 0.0 ) .SynchronousFeatures.ControlledMassBasic, .Real type: Real
// 5: intE:DISCRETE(start = 0.0 fixed = true ) .SynchronousFeatures.ControlledMassBasic, .Real type: Real
// 6: eOuter:DISCRETE() .SynchronousFeatures.ControlledMassBasic, .Real type: Real
// 7: xd:DISCRETE() .SynchronousFeatures.ControlledMassBasic, .Real type: Real
//
Expand Down

0 comments on commit 388d52b

Please sign in to comment.