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.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.998/1.998, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.315e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08572/0.08578, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4174/0.5032, allocations: 113 MB / 429.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5035, allocations: 91.88 kB / 430 MB, free: 7.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7528/1.256, allocations: 137.5 MB / 0.5542 GB, free: 88.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.053e-06/1.256, allocations: 0 / 0.5542 GB, free: 88.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003928/1.257, allocations: 151.1 kB / 0.5543 GB, free: 88.42 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2584 * Number of variables: 2584 Notification: Performance of Generate backend data structure: time 0.02629/1.283, allocations: 7.313 MB / 0.5615 GB, free: 85.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.283, allocations: 10.31 kB / 0.5615 GB, free: 85.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/1.301, allocations: 2.9 MB / 0.5643 GB, free: 85.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02237/1.323, allocations: 7.684 MB / 0.5718 GB, free: 84.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006439/1.324, allocations: 0.5714 MB / 0.5724 GB, free: 84.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003114/1.327, allocations: 0.7629 MB / 0.5731 GB, free: 84.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04752/1.374, allocations: 18.32 MB / 0.591 GB, free: 76.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003559/1.375, allocations: 77 kB / 0.5911 GB, free: 76.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002179/1.377, allocations: 360.5 kB / 0.5914 GB, free: 75.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002683/1.38, allocations: 1.634 MB / 0.593 GB, free: 75.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03809/1.418, allocations: 14.79 MB / 0.6075 GB, free: 62.48 MB / 426.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.3928/1.811, allocations: 76 MB / 0.6817 GB, free: 36.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03174/1.842, allocations: 7.83 MB / 0.6893 GB, free: 35.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005739/1.848, allocations: 3.279 MB / 0.6925 GB, free: 35.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02974/1.878, allocations: 14.84 MB / 0.707 GB, free: 31.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/1.878, allocations: 63.86 kB / 0.7071 GB, free: 31.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=265): time 7.631e-06/1.878, allocations: 0 / 0.7071 GB, free: 31.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=311): time 0.1093/1.987, allocations: 29.93 MB / 0.7363 GB, free: 25.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.988, allocations: 167.3 kB / 0.7365 GB, free: 25.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/1.999, allocations: 5.17 MB / 0.7415 GB, free: 23.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006212/2, allocations: 67.98 kB / 0.7416 GB, free: 23.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003772/2.003, allocations: 5.041 MB / 0.7465 GB, free: 19.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001536/2.005, allocations: 1.179 MB / 0.7477 GB, free: 18.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008625/2.006, allocations: 179.7 kB / 0.7478 GB, free: 18.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005853/2.006, allocations: 0.6877 MB / 0.7485 GB, free: 18.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006867/2.013, allocations: 3.306 MB / 0.7517 GB, free: 16.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009913/2.023, allocations: 8.525 MB / 0.7601 GB, free: 8.672 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009953/2.033, allocations: 5.267 MB / 0.7652 GB, free: 7.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001542/2.033, allocations: 54.31 kB / 0.7653 GB, free: 7.02 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=1172) (initialization): time 0.04063/2.074, allocations: 13.4 MB / 0.7783 GB, free: 15.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000282/2.074, allocations: 90.84 kB / 0.7784 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005033/2.075, allocations: 188.7 kB / 0.7786 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01251/2.088, allocations: 2.262 MB / 0.7808 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/2.099, allocations: 2.106 MB / 0.7829 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03341/2.132, allocations: 20.15 MB / 0.8026 GB, free: 8.477 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009554/2.142, allocations: 0.501 MB / 0.803 GB, free: 8.047 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002098/2.144, allocations: 0.5205 MB / 0.8036 GB, free: 7.531 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1089): * Single equations (assignments): 1078 * 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.002751/2.146, allocations: 0.7968 MB / 0.8043 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/2.148, allocations: 0.5399 MB / 0.8049 GB, free: 6.188 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01999/2.168, allocations: 6.925 MB / 0.8116 GB, free: 496 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.924e-05/2.168, allocations: 44.89 kB / 0.8117 GB, free: 452 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.524e-05/2.168, allocations: 12 kB / 0.8117 GB, free: 440 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-05/2.168, allocations: 14.53 kB / 0.8117 GB, free: 440 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04271/2.211, allocations: 15.34 MB / 0.8267 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.502e-05/2.211, allocations: 7.656 kB / 0.8267 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004232/2.215, allocations: 0.5459 MB / 0.8272 GB, free: 3.496 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009182/2.225, allocations: 2.005 MB / 0.8292 GB, free: 1.477 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000674/2.225, allocations: 63.64 kB / 0.8292 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03338/2.259, allocations: 19.66 MB / 0.8484 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.29e-06/2.259, allocations: 0 / 0.8484 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02661/2.285, allocations: 10.86 MB / 0.859 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003566/2.289, allocations: 1.017 MB / 0.86 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/2.29, allocations: 51.98 kB / 0.8601 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00357/2.294, allocations: 198.2 kB / 0.8603 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008454/2.295, allocations: 189.7 kB / 0.8604 GB, free: 392 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003735/2.295, allocations: 75.98 kB / 0.8605 GB, free: 316 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.2819/2.577, allocations: 3.579 MB / 0.864 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.702e-06/2.577, allocations: 0 / 0.864 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0116/2.589, allocations: 1.762 MB / 0.8657 GB, free: 142.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,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 (232): * Single equations (assignments): 221 * 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 {(2,100.0%) 6,(4,75.0%) 5,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/2.59, allocations: 264.5 kB / 0.866 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01938/2.609, allocations: 8.876 MB / 0.8747 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.964e-06/2.61, allocations: 0 / 0.8747 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008256/2.618, allocations: 3.83 MB / 0.8784 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005393/2.623, allocations: 0.7486 MB / 0.8791 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03472/2.658, allocations: 13.47 MB / 0.8923 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01208/2.67, allocations: 5.327 MB / 0.8975 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01133/2.681, allocations: 2.785 MB / 0.9002 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/2.683, allocations: 352.2 kB / 0.9005 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of SimCode: time 2.997e-06/2.683, allocations: 0.8125 kB / 0.9005 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.1675/2.851, allocations: 65.91 MB / 0.9649 GB, free: 108.4 MB / 0.4948 GB