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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.713e-05, allocations: 5.875 kB / 255.3 MB, free: 3.211 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07981/0.07986, allocations: 44.5 MB / 299.8 MB, free: 6.648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/0.4505, allocations: 106.2 MB / 406 MB, free: 15.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.4508, allocations: 89.44 kB / 406.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7458/1.197, allocations: 136.1 MB / 0.5295 GB, free: 55.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.33e-06/1.197, allocations: 0 / 0.5295 GB, free: 55.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004287/1.197, allocations: 149.5 kB / 0.5296 GB, free: 55.88 MB / 394.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.02724/1.224, allocations: 7.251 MB / 0.5367 GB, free: 53.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.224, allocations: 7.219 kB / 0.5367 GB, free: 53.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/1.241, allocations: 2.884 MB / 0.5395 GB, free: 52.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0232/1.265, allocations: 7.638 MB / 0.547 GB, free: 51.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006372/1.265, allocations: 0.5665 MB / 0.5475 GB, free: 51.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003296/1.269, allocations: 0.7547 MB / 0.5483 GB, free: 51.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06393/1.333, allocations: 18.16 MB / 0.566 GB, free: 48.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007019/1.333, allocations: 88.27 kB / 0.5661 GB, free: 48.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004463/1.338, allocations: 352.3 kB / 0.5664 GB, free: 48.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005603/1.343, allocations: 1.606 MB / 0.568 GB, free: 48.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05945/1.403, allocations: 14.84 MB / 0.5825 GB, free: 45.07 MB / 394.7 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.1086/1.512, allocations: 75.53 MB / 0.6562 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03013/1.542, allocations: 7.585 MB / 0.6637 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008075/1.55, allocations: 3.223 MB / 0.6668 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3144/1.864, allocations: 14.06 MB / 0.6805 GB, free: 81.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/1.864, allocations: 65.55 kB / 0.6806 GB, free: 81.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=251): time 8.56e-06/1.864, allocations: 2.469 kB / 0.6806 GB, free: 81.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=297): time 0.1128/1.977, allocations: 29.79 MB / 0.7097 GB, free: 76.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/1.977, allocations: 158.1 kB / 0.7098 GB, free: 76.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/1.988, allocations: 5.124 MB / 0.7148 GB, free: 75.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006185/1.989, allocations: 70.8 kB / 0.7149 GB, free: 75.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003469/1.992, allocations: 4.839 MB / 0.7196 GB, free: 73.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001465/1.994, allocations: 1.142 MB / 0.7208 GB, free: 72.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008949/1.995, allocations: 174.4 kB / 0.7209 GB, free: 72.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006149/1.995, allocations: 0.6801 MB / 0.7216 GB, free: 72.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007016/2.003, allocations: 3.284 MB / 0.7248 GB, free: 72.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009805/2.012, allocations: 8.53 MB / 0.7331 GB, free: 64.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/2.022, allocations: 5.215 MB / 0.7382 GB, free: 62.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001541/2.023, allocations: 55.31 kB / 0.7383 GB, free: 62.5 MB / 426.7 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.03356/2.056, allocations: 13.64 MB / 0.7516 GB, free: 57.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/2.056, allocations: 85.88 kB / 0.7517 GB, free: 57.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/2.057, allocations: 183.7 kB / 0.7518 GB, free: 57.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00956/2.066, allocations: 2.271 MB / 0.7541 GB, free: 57.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009891/2.076, allocations: 2.081 MB / 0.7561 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02744/2.104, allocations: 20.15 MB / 0.7758 GB, free: 42.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009191/2.113, allocations: 0.4968 MB / 0.7763 GB, free: 41.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001686/2.115, allocations: 0.5216 MB / 0.7768 GB, free: 41.34 MB / 426.7 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.001792/2.116, allocations: 0.7982 MB / 0.7775 GB, free: 40.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/2.118, allocations: 0.529 MB / 0.7781 GB, free: 40.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/2.134, allocations: 7.066 MB / 0.785 GB, free: 34.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.545e-05/2.134, allocations: 45.16 kB / 0.785 GB, free: 34.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.658e-05/2.134, allocations: 12 kB / 0.785 GB, free: 34.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.079e-05/2.135, allocations: 17.97 kB / 0.785 GB, free: 34.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03615/2.171, allocations: 15.32 MB / 0.8 GB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/2.171, allocations: 0 / 0.8 GB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003867/2.175, allocations: 0.5173 MB / 0.8005 GB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008328/2.183, allocations: 2.067 MB / 0.8025 GB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006501/2.184, allocations: 55.7 kB / 0.8026 GB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.287/2.471, allocations: 22.49 MB / 0.8245 GB, free: 83.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.523e-06/2.471, allocations: 0 / 0.8245 GB, free: 83.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0256/2.496, allocations: 10.96 MB / 0.8352 GB, free: 82.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003346/2.5, allocations: 1.015 MB / 0.8362 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/2.501, allocations: 55.12 kB / 0.8363 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004106/2.505, allocations: 194.5 kB / 0.8365 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001058/2.507, allocations: 183.3 kB / 0.8366 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003477/2.507, allocations: 79.34 kB / 0.8367 GB, free: 82.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008792/2.516, allocations: 3.561 MB / 0.8402 GB, free: 81.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.194e-06/2.516, allocations: 0 / 0.8402 GB, free: 81.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01069/2.526, allocations: 1.745 MB / 0.8419 GB, free: 81.79 MB / 442.7 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.001247/2.528, allocations: 261.2 kB / 0.8421 GB, free: 81.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0186/2.546, allocations: 9.117 MB / 0.8511 GB, free: 80.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.863e-06/2.546, allocations: 1.531 kB / 0.8511 GB, free: 80.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008837/2.555, allocations: 4.116 MB / 0.8551 GB, free: 79.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005338/2.561, allocations: 0.7263 MB / 0.8558 GB, free: 79.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/2.597, allocations: 14.13 MB / 0.8696 GB, free: 77.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01195/2.609, allocations: 5.276 MB / 0.8747 GB, free: 76.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002121/2.611, allocations: 419.3 kB / 0.8751 GB, free: 76.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.19e-06/2.611, allocations: 0 / 0.8751 GB, free: 76.41 MB / 442.7 MB Notification: Performance of Templates: time 1.007/3.618, allocations: 325.1 MB / 1.193 GB, free: 98.43 MB / 458.7 MB