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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.701/1.701, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.667e-05, allocations: 4 kB / 225 MB, free: 2.82 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2531, allocations: 38.77 MB / 263.8 MB, free: 9.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.4026, allocations: 100.5 MB / 364.3 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.4029, allocations: 91.88 kB / 364.4 MB, free: 5.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7094/1.112, allocations: 136 MB / 0.4887 GB, free: 5.844 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.439e-06/1.112, allocations: 4 kB / 0.4887 GB, free: 5.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004453/1.113, allocations: 148 kB / 0.4888 GB, free: 5.695 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.4853/1.598, allocations: 7.249 MB / 0.4959 GB, free: 35.89 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.598, allocations: 7.812 kB / 0.4959 GB, free: 35.89 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01681/1.615, allocations: 2.877 MB / 0.4987 GB, free: 35.41 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02212/1.637, allocations: 7.644 MB / 0.5062 GB, free: 35 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006642/1.638, allocations: 0.5623 MB / 0.5067 GB, free: 34.99 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003697/1.642, allocations: 0.7564 MB / 0.5075 GB, free: 34.98 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04551/1.687, allocations: 18.08 MB / 0.5251 GB, free: 31.5 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000376/1.688, allocations: 78.75 kB / 0.5252 GB, free: 31.5 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002383/1.69, allocations: 359.5 kB / 0.5256 GB, free: 31.5 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002764/1.693, allocations: 1.597 MB / 0.5271 GB, free: 31.48 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03746/1.73, allocations: 14.59 MB / 0.5414 GB, free: 31.46 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.1088/1.839, allocations: 75.45 MB / 0.615 GB, free: 7.398 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02966/1.869, allocations: 7.548 MB / 0.6224 GB, free: 1.27 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01679/1.886, allocations: 3.809 MB / 0.6261 GB, free: 15.8 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03303/1.919, allocations: 14.06 MB / 0.6398 GB, free: 3.5 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.968e-05/1.919, allocations: 64.5 kB / 0.6399 GB, free: 3.43 MB / 394.8 MB Notification: Performance of pre-optimization done (n=251): time 7.637e-06/1.919, allocations: 4 kB / 0.6399 GB, free: 3.426 MB / 394.8 MB Notification: Performance of matching and sorting (n=297): time 0.3362/2.255, allocations: 29.95 MB / 0.6692 GB, free: 76.57 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/2.255, allocations: 160.1 kB / 0.6693 GB, free: 76.41 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/2.266, allocations: 5.134 MB / 0.6743 GB, free: 75.91 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006117/2.267, allocations: 74.48 kB / 0.6744 GB, free: 75.88 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003469/2.27, allocations: 4.836 MB / 0.6791 GB, free: 73.34 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001442/2.272, allocations: 1.133 MB / 0.6802 GB, free: 72.69 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009409/2.273, allocations: 174.3 kB / 0.6804 GB, free: 72.69 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0006314/2.273, allocations: 0.6833 MB / 0.6811 GB, free: 72.36 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006742/2.28, allocations: 3.279 MB / 0.6843 GB, free: 72.33 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009652/2.29, allocations: 8.481 MB / 0.6925 GB, free: 65.59 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009574/2.299, allocations: 5.22 MB / 0.6976 GB, free: 65.56 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001699/2.3, allocations: 53.22 kB / 0.6977 GB, free: 65.56 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.03221/2.332, allocations: 13.12 MB / 0.7105 GB, free: 62.91 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/2.332, allocations: 83.5 kB / 0.7106 GB, free: 62.91 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002286/2.332, allocations: 187.1 kB / 0.7108 GB, free: 62.91 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008485/2.341, allocations: 2.264 MB / 0.713 GB, free: 62.45 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009443/2.35, allocations: 2.084 MB / 0.715 GB, free: 62.2 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02607/2.376, allocations: 20.14 MB / 0.7347 GB, free: 48.65 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009291/2.386, allocations: 0.5 MB / 0.7352 GB, free: 48.49 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00182/2.388, allocations: 0.5137 MB / 0.7357 GB, free: 48.42 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.002279/2.39, allocations: 0.8033 MB / 0.7365 GB, free: 47.78 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/2.391, allocations: 0.5259 MB / 0.737 GB, free: 47.48 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/2.408, allocations: 7.076 MB / 0.7439 GB, free: 42.3 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.987e-05/2.408, allocations: 44.59 kB / 0.7439 GB, free: 42.26 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.721e-05/2.408, allocations: 11.95 kB / 0.7439 GB, free: 42.25 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-05/2.408, allocations: 14.36 kB / 0.7439 GB, free: 42.25 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03767/2.446, allocations: 15.31 MB / 0.7589 GB, free: 29.72 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.917e-05/2.446, allocations: 4 kB / 0.7589 GB, free: 29.72 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003758/2.45, allocations: 0.5186 MB / 0.7594 GB, free: 29.33 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008181/2.458, allocations: 2.069 MB / 0.7614 GB, free: 27.85 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006453/2.459, allocations: 62.52 kB / 0.7615 GB, free: 27.8 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2699/2.729, allocations: 22.48 MB / 0.7834 GB, free: 65.02 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.625e-06/2.729, allocations: 3.562 kB / 0.7834 GB, free: 65.02 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02294/2.752, allocations: 10.96 MB / 0.7942 GB, free: 63.94 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003301/2.755, allocations: 1.009 MB / 0.7951 GB, free: 63.85 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/2.757, allocations: 59.98 kB / 0.7952 GB, free: 63.85 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004119/2.761, allocations: 186.8 kB / 0.7954 GB, free: 63.85 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/2.762, allocations: 188.5 kB / 0.7956 GB, free: 63.85 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003783/2.762, allocations: 83.58 kB / 0.7956 GB, free: 63.85 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.008621/2.771, allocations: 3.556 MB / 0.7991 GB, free: 63.6 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.022e-06/2.771, allocations: 0 / 0.7991 GB, free: 63.6 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01093/2.782, allocations: 1.749 MB / 0.8008 GB, free: 63.6 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.001269/2.783, allocations: 251.9 kB / 0.8011 GB, free: 63.51 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01757/2.801, allocations: 8.801 MB / 0.8096 GB, free: 62.72 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/2.801, allocations: 3.875 kB / 0.8097 GB, free: 62.72 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008014/2.809, allocations: 4.033 MB / 0.8136 GB, free: 61.74 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005106/2.814, allocations: 0.7302 MB / 0.8143 GB, free: 61.71 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03632/2.851, allocations: 14.11 MB / 0.8281 GB, free: 59.23 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01171/2.862, allocations: 5.28 MB / 0.8332 GB, free: 58.36 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002285/2.865, allocations: 416.5 kB / 0.8336 GB, free: 58.36 MB / 394.8 MB Notification: Performance of SimCode: time 2.254e-06/2.865, allocations: 0 / 0.8336 GB, free: 58.36 MB / 394.8 MB Notification: Performance of Templates: time 0.8896/3.754, allocations: 323.7 MB / 1.15 GB, free: 75.15 MB / 426.8 MB