Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|constraint.frame_b.r_0.1.|constraint.frame_b.r_0.2.|constraint.frame_b.r_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.766/1.766, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.923e-05/3.916e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2668, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2357/0.5026, allocations: 100.5 MB / 364.3 MB, free: 5.141 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5029, allocations: 87.95 kB / 364.4 MB, free: 5.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.634/1.137, allocations: 136.1 MB / 0.4887 GB, free: 5.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.226e-06/1.137, allocations: 0 / 0.4887 GB, free: 5.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004491/1.137, allocations: 148 kB / 0.4889 GB, free: 5.617 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.4525/1.59, allocations: 7.246 MB / 0.4959 GB, free: 35.72 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.59, allocations: 10.5 kB / 0.4959 GB, free: 35.72 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01662/1.607, allocations: 2.881 MB / 0.4988 GB, free: 35.23 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0224/1.629, allocations: 7.631 MB / 0.5062 GB, free: 34.83 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006062/1.63, allocations: 0.5665 MB / 0.5068 GB, free: 34.81 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002964/1.633, allocations: 0.7566 MB / 0.5075 GB, free: 34.8 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04741/1.68, allocations: 18.08 MB / 0.5252 GB, free: 31.32 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003658/1.681, allocations: 78.41 kB / 0.5252 GB, free: 31.32 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002545/1.683, allocations: 358.2 kB / 0.5256 GB, free: 31.32 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002989/1.686, allocations: 1.599 MB / 0.5271 GB, free: 31.3 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0391/1.725, allocations: 14.58 MB / 0.5414 GB, free: 31.28 MB / 346.8 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1118/1.837, allocations: 75.45 MB / 0.6151 GB, free: 7.328 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02964/1.867, allocations: 7.553 MB / 0.6224 GB, free: 1.203 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01708/1.884, allocations: 3.836 MB / 0.6262 GB, free: 15.8 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03214/1.916, allocations: 14.05 MB / 0.6399 GB, free: 3.484 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.773e-05/1.916, allocations: 64.5 kB / 0.64 GB, free: 3.414 MB / 394.8 MB Notification: Performance of pre-optimization done (n=251): time 8.079e-06/1.916, allocations: 4 kB / 0.64 GB, free: 3.41 MB / 394.8 MB Notification: Performance of matching and sorting (n=297): time 0.3312/2.248, allocations: 29.82 MB / 0.6691 GB, free: 77.75 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/2.248, allocations: 163.6 kB / 0.6692 GB, free: 77.59 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/2.259, allocations: 5.136 MB / 0.6743 GB, free: 77.08 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006093/2.26, allocations: 72.84 kB / 0.6743 GB, free: 77.05 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003768/2.263, allocations: 4.996 MB / 0.6792 GB, free: 74.56 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001437/2.265, allocations: 1.137 MB / 0.6803 GB, free: 73.91 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008505/2.266, allocations: 177.4 kB / 0.6805 GB, free: 73.91 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.000589/2.266, allocations: 0.6827 MB / 0.6812 GB, free: 73.59 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006865/2.273, allocations: 3.281 MB / 0.6844 GB, free: 73.56 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009788/2.283, allocations: 8.475 MB / 0.6926 GB, free: 66.82 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009821/2.293, allocations: 5.226 MB / 0.6977 GB, free: 66.79 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001851/2.293, allocations: 53.38 kB / 0.6978 GB, free: 66.79 MB / 394.8 MB Warning: The linear system: 1 : bodyOfConstraint.v_0[1] = 0.2148655148851041 * freeMotionScalarInit.v_rel_a_1 + (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 2 : 0.0 = 0.8191520442889918 * bodyOfConstraint.v_0[1] + (-0.09960050292505122) * bodyOfConstraint.v_0[2] + 0.5648625214636235 * bodyOfConstraint.v_0[3] 3 : bodyOfConstraint.v_0[2] = 0.9663834860128886 * freeMotionScalarInit.v_rel_a_1 + 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 4 : bodyOfConstraint.v_0[3] = (-0.1411940808771254) * freeMotionScalarInit.v_rel_a_1 + 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 [ 0.0 , -0.2148655148851041 , 0.0 , 1.0 ; -0.5648625214636235 , 0.0 , 0.09960050292505122 , -0.8191520442889918 ; 0.0 , -0.9663834860128886 , 1.0 , 0.0 ; 1.0 , 0.1411940808771254 , 0.0 , 0.0 ] * [ bodyOfConstraint.v_0[3] ; freeMotionScalarInit.v_rel_a_1 ; bodyOfConstraint.v_0[2] ; bodyOfConstraint.v_0[1] ] = [ (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 ; -0.0 ; 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 ; 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 ] might be structurally or numerically singular for variable bodyOfConstraint.v_0[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=1155) (initialization): time 0.03327/2.326, allocations: 13.31 MB / 0.7108 GB, free: 63.88 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/2.327, allocations: 82.72 kB / 0.7109 GB, free: 63.88 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002052/2.327, allocations: 190.1 kB / 0.7111 GB, free: 63.88 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009372/2.336, allocations: 2.263 MB / 0.7133 GB, free: 63.41 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/2.346, allocations: 2.085 MB / 0.7153 GB, free: 63.17 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02772/2.374, allocations: 20.14 MB / 0.735 GB, free: 49.62 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009018/2.383, allocations: 0.4975 MB / 0.7355 GB, free: 49.46 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001595/2.385, allocations: 0.5185 MB / 0.736 GB, free: 49.39 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 60 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1072): * Single equations (assignments): 1061 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 5,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.001646/2.386, allocations: 0.7964 MB / 0.7367 GB, free: 48.75 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/2.388, allocations: 0.5269 MB / 0.7373 GB, free: 48.46 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/2.403, allocations: 7.077 MB / 0.7442 GB, free: 43.21 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.066e-05/2.403, allocations: 48.3 kB / 0.7442 GB, free: 43.18 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.409e-05/2.403, allocations: 12 kB / 0.7442 GB, free: 43.16 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-05/2.404, allocations: 12.7 kB / 0.7442 GB, free: 43.16 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0346/2.438, allocations: 15.31 MB / 0.7592 GB, free: 30.63 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/2.438, allocations: 4 kB / 0.7592 GB, free: 30.62 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003691/2.442, allocations: 0.5145 MB / 0.7597 GB, free: 30.24 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008037/2.45, allocations: 2.081 MB / 0.7617 GB, free: 28.76 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006054/2.451, allocations: 62.19 kB / 0.7618 GB, free: 28.7 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2613/2.712, allocations: 22.47 MB / 0.7837 GB, free: 65.2 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.934e-06/2.712, allocations: 3.562 kB / 0.7837 GB, free: 65.2 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03995/2.752, allocations: 10.96 MB / 0.7944 GB, free: 64.12 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005177/2.757, allocations: 1.006 MB / 0.7954 GB, free: 64.02 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002664/2.76, allocations: 53.61 kB / 0.7955 GB, free: 64.02 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007296/2.767, allocations: 189 kB / 0.7957 GB, free: 64.02 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001467/2.769, allocations: 190.7 kB / 0.7958 GB, free: 64.02 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007874/2.77, allocations: 73.48 kB / 0.7959 GB, free: 64.02 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.01334/2.783, allocations: 3.566 MB / 0.7994 GB, free: 63.77 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.133e-06/2.783, allocations: 0 / 0.7994 GB, free: 63.77 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01875/2.802, allocations: 1.747 MB / 0.8011 GB, free: 63.77 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 6,(1,100.0%) 3,(4,75.0%) 5,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002395/2.804, allocations: 260.1 kB / 0.8013 GB, free: 63.69 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.02123/2.826, allocations: 8.796 MB / 0.8099 GB, free: 62.89 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 7.747e-06/2.826, allocations: 0 / 0.8099 GB, free: 62.89 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008237/2.834, allocations: 4.035 MB / 0.8139 GB, free: 61.91 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/2.839, allocations: 0.7278 MB / 0.8146 GB, free: 61.89 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03272/2.871, allocations: 13.3 MB / 0.8276 GB, free: 59.44 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01128/2.883, allocations: 5.277 MB / 0.8327 GB, free: 58.57 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.01041/2.893, allocations: 2.731 MB / 0.8354 GB, free: 58.51 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/2.895, allocations: 351.4 kB / 0.8357 GB, free: 58.5 MB / 394.8 MB Notification: Performance of SimCode: time 1.813e-06/2.895, allocations: 0 / 0.8357 GB, free: 58.5 MB / 394.8 MB Notification: Performance of Templates: time 0.1656/3.061, allocations: 65.57 MB / 0.8998 GB, free: 21.08 MB / 394.8 MB