Changeset 20940
- Timestamp:
- 2014-06-03T14:38:46+02:00 (10 years ago)
- Location:
- trunk/testsuite/simulation
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/testsuite/simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.mos
r20824 r20940 11 11 // Fails if we replace protected parameters... 12 12 setCommandLineOptions("+preOptModules=evaluateReplaceFinalEvaluateParameters,simplifyIfEquations,removeEqualFunctionCalls,partitionIndependentBlocks,expandDerOperator,findStateOrder,replaceEdgeChange,inlineArrayEqn,removeSimpleEquations,resolveLoops,evalFunc"); 13 modelTestingType := OpenModelicaModelTesting.Kind. SimpleSimulation;13 modelTestingType := OpenModelicaModelTesting.Kind.Translation; 14 14 modelName := $TypeName(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint); 15 15 compareVars := … … 34 34 // "" 35 35 // true 36 // OpenModelicaModelTesting.Kind. SimpleSimulation36 // OpenModelicaModelTesting.Kind.Translation 37 37 // Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint 38 38 // {"bodyOfJoint.v_0[2]","bodyOfJoint.v_0[3]","bodyOfJoint.body.frame_a.r_0[2]","bodyOfJoint.body.frame_a.r_0[3]","bodyOfConstraint.v_0[2]","bodyOfConstraint.v_0[3]","bodyOfConstraint.body.frame_a.r_0[2]","bodyOfConstraint.body.frame_a.r_0[3]"} 39 // Simulation options: startTime = 0.0, stopTime = 10.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint', options = '', outputFormat = 'mat', variableFilter = 'time|bodyOfJoint.v_0.2.|bodyOfJoint.v_0.3.|bodyOfJoint.body.frame_a.r_0.2.|bodyOfJoint.body.frame_a.r_0.3.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|bodyOfConstraint.body.frame_a.r_0.2.|bodyOfConstraint.body.frame_a.r_0.3.', cflags = '', simflags = ' -abortSlowSimulation -alarm=360 -emit_protected' 40 // Result file: Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat 39 // Translation succeeded 41 40 // Warning: Alias set with several free start values 42 41 // * candidate: bodyOfJoint.r_0[3](start = 0.1) … … 57 56 // because its component reference (or its binding component reference) is closer to the top level scope with depth: 2. 58 57 // If we have equal component reference depth for several components choose the one with non zero binding. 59 // 58 // Error: When solving linear system 59 // 1 : bodyOfConstraint.body.frame_a.r_0[1] = fixedRotation.r[1] + 0.2148655148851041 * freeMotionScalarInit.derv[1].u + -0.5318108111446446 * freeMotionScalarInit.derv[2].u + 0.8191520442889918 * freeMotionScalarInit.derv[3].u 60 // 2 : 0.0 = 0.8191520442889918 * (bodyOfConstraint.body.frame_a.r_0[1] - fixedRotation.r[1]) + -0.09960050292505122 * (bodyOfConstraint.body.frame_a.r_0[2] - fixedRotation.r[2]) + 0.5648625214636235 * (bodyOfConstraint.body.frame_a.r_0[3] - fixedRotation.r[3]) 61 // 3 : bodyOfConstraint.body.frame_a.r_0[2] = fixedRotation.r[2] + 0.9663834860128886 * freeMotionScalarInit.derv[1].u + 0.2370288965055821 * freeMotionScalarInit.derv[2].u + -0.09960050292505122 * freeMotionScalarInit.derv[3].u 62 // 4 : bodyOfConstraint.body.frame_a.r_0[3] = fixedRotation.r[3] + -0.1411940808771254 * freeMotionScalarInit.derv[1].u + 0.8130157214783864 * freeMotionScalarInit.derv[2].u + 0.5648625214636235 * freeMotionScalarInit.derv[3].u 63 // [ 64 // 0.0 , -0.2148655148851041 , 0.0 , 1.0 ; 65 // -0.5648625214636235 , 0.0 , 0.09960050292505122 , -0.8191520442889918 ; 66 // 0.0 , -0.9663834860128886 , 1.0 , 0.0 ; 67 // 1.0 , 0.1411940808771254 , 0.0 , 0.0 68 // ] 69 // * 70 // [ 71 // bodyOfConstraint.body.frame_a.r_0[3] ; 72 // freeMotionScalarInit.derv[1].u ; 73 // bodyOfConstraint.body.frame_a.r_0[2] ; 74 // bodyOfConstraint.body.frame_a.r_0[1] 75 // ] 76 // = 77 // [ 78 // -0.5318108111446446 * freeMotionScalarInit.derv[2].u + fixedRotation.r[1] + 0.8191520442889918 * freeMotionScalarInit.derv[3].u ; 79 // -0.8191520442889918 * fixedRotation.r[1] + 0.09960050292505122 * fixedRotation.r[2] + -0.5648625214636235 * fixedRotation.r[3] ; 80 // 0.2370288965055821 * freeMotionScalarInit.derv[2].u + fixedRotation.r[2] + -0.09960050292505122 * freeMotionScalarInit.derv[3].u ; 81 // 0.8130157214783864 * freeMotionScalarInit.derv[2].u + fixedRotation.r[3] + 0.5648625214636235 * freeMotionScalarInit.derv[3].u 82 // ] 83 // U(4,4) = 0.0, which means system is singular for variable bodyOfConstraint.body.frame_a.r_0[1]. 84 // Error: Internal error ./Compiler/BackEnd/BackendDAETransform.mo: function analyseStrongComponentBlock failed 85 // Error: Internal error ./Compiler/BackEnd/BackendDAETransform.mo: function strongComponentsScalar failed 86 // - sorting equations (strongComponents) failed 87 // Error: Internal error Transformation Module sort components failed! 88 // Warning: No system for the symbolic initialization was generated. A method using numerical algorithms will be used instead. 89 // The model now compiles. Please update the test. 60 90 // "true 61 91 // " -
trunk/testsuite/simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.mos
r20848 r20940 81 81 // * Number of discrete states: 0 ('+d=discreteinfo' for list of discrete states) 82 82 // * Top-level inputs: 0 83 // Notification: Strong component statistics (7 45):84 // * Single equations (assignments): 71 585 // * Array equations: 583 // Notification: Strong component statistics (737): 84 // * Single equations (assignments): 712 85 // * Array equations: 0 86 86 // * Algorithm blocks: 0 87 87 // * Record equations: 0 … … 98 98 // Notification: Torn system details: 99 99 // * Linear torn systems: 0 100 // * Non-linear torn systems: 6 {3 12,3 12,3 12,3 12,3 12,3 12} 101 // Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information. 102 // 100 // * Non-linear torn systems: 6 {1 13,1 13,1 13,1 13,1 13,1 13} 101 // 103 102 // "true 104 103 // " -
trunk/testsuite/simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_analytic.mos
r20848 r20940 45 45 // * Number of discrete states: 0 ('+d=discreteinfo' for list of discrete states) 46 46 // * Top-level inputs: 0 47 // Notification: Strong component statistics ( 844):48 // * Single equations (assignments): 83849 // * Array equations: 547 // Notification: Strong component statistics (737): 48 // * Single equations (assignments): 712 49 // * Array equations: 0 50 50 // * Algorithm blocks: 0 51 51 // * Record equations: 0 52 52 // * When equations: 0 53 53 // * If-equations: 0 54 // * Equation systems (linear and non-linear blocks): 1 55 // * Torn equation systems: 054 // * Equation systems (linear and non-linear blocks): 19 55 // * Torn equation systems: 6 56 56 // * Mixed (continuous/discrete) equation systems: 0 57 57 // Notification: Equation system details: 58 58 // * Constant Jacobian: 0 59 // * Time-varying Jacobian (size,density): 1 {(372,0.9%)}59 // * Time-varying Jacobian (size,density): 19 {(404,0.8%),(4,50.0%),(2,100.0%),(2,100.0%),(4,50.0%),(2,100.0%),(2,100.0%),(4,50.0%),(2,100.0%),(2,100.0%),(4,50.0%),(2,100.0%),(2,100.0%),(4,50.0%),(2,100.0%),(2,100.0%),(4,50.0%),(2,100.0%),(2,100.0%)} 60 60 // * Non-linear Jacobian: 0 61 61 // * Without analytic Jacobian: 0 62 // Notification: Torn system details: 63 // * Linear torn systems: 0 64 // * Non-linear torn systems: 6 {1 13,1 13,1 13,1 13,1 13,1 13} 62 65 // 63 66 // "true -
trunk/testsuite/simulation/modelica/hpcom/Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.mos
r20925 r20940 41 41 // Using json-file 42 42 // TaskgraphMeta valid 43 // the ODE-system size is correct( 29)43 // the ODE-system size is correct(31) 44 44 // HpcOm is still under construction. 45 45 // record SimulationResult
Note: See TracChangeset
for help on using the changeset viewer.