Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.r_0.1.|bodyOfConstraint.r_0.2.|bodyOfConstraint.r_0.3.|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.285e-05, allocations: 8 kB / 292.7 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09244, allocations: 50.41 MB / 343.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4097/0.5022, allocations: 114.6 MB / 457.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5025, allocations: 87.02 kB / 457.7 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7683/1.271, allocations: 134.4 MB / 0.5782 GB, free: 97.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.979e-06/1.271, allocations: 0 / 0.5782 GB, free: 97.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004156/1.271, allocations: 148.6 kB / 0.5784 GB, free: 97.34 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.02647/1.298, allocations: 7.127 MB / 0.5853 GB, free: 94.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.298, allocations: 7.312 kB / 0.5854 GB, free: 94.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/1.316, allocations: 2.849 MB / 0.5881 GB, free: 93.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02285/1.339, allocations: 7.261 MB / 0.5952 GB, free: 91.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006068/1.339, allocations: 0.5547 MB / 0.5958 GB, free: 90.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003181/1.342, allocations: 0.7394 MB / 0.5965 GB, free: 90.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04765/1.39, allocations: 17.75 MB / 0.6138 GB, free: 76.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004032/1.391, allocations: 91.17 kB / 0.6139 GB, free: 76.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002717/1.393, allocations: 344.2 kB / 0.6142 GB, free: 75.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002828/1.396, allocations: 1.565 MB / 0.6158 GB, free: 74.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03734/1.434, allocations: 14.25 MB / 0.6297 GB, free: 59.92 MB / 442.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.4299/1.863, allocations: 74.03 MB / 0.702 GB, free: 45.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03055/1.894, allocations: 7.61 MB / 0.7094 GB, free: 44.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005964/1.9, allocations: 3.167 MB / 0.7125 GB, free: 44.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.029/1.929, allocations: 14.37 MB / 0.7265 GB, free: 40.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/1.929, allocations: 63.97 kB / 0.7266 GB, free: 40.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 7.102e-06/1.929, allocations: 0 / 0.7266 GB, free: 40.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=290): time 0.1111/2.04, allocations: 29.11 MB / 0.755 GB, free: 33.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/2.04, allocations: 159.7 kB / 0.7552 GB, free: 33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/2.051, allocations: 5 MB / 0.7601 GB, free: 31.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005761/2.052, allocations: 70.36 kB / 0.7601 GB, free: 31.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003692/2.056, allocations: 4.882 MB / 0.7649 GB, free: 27.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001437/2.057, allocations: 1.108 MB / 0.766 GB, free: 26.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008544/2.058, allocations: 173.5 kB / 0.7661 GB, free: 26.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005551/2.059, allocations: 0.6703 MB / 0.7668 GB, free: 25.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006911/2.065, allocations: 3.176 MB / 0.7699 GB, free: 24.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009741/2.075, allocations: 8.235 MB / 0.7779 GB, free: 16.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009945/2.085, allocations: 5.081 MB / 0.7829 GB, free: 15.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/2.085, allocations: 53.16 kB / 0.783 GB, free: 15.16 MB / 442.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=1125) (initialization): time 0.0325/2.118, allocations: 12.97 MB / 0.7956 GB, free: 7.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/2.118, allocations: 88.25 kB / 0.7957 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001972/2.118, allocations: 180 kB / 0.7959 GB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008524/2.127, allocations: 2.26 MB / 0.7981 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009408/2.136, allocations: 2.017 MB / 0.8001 GB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03318/2.17, allocations: 20.18 MB / 0.8198 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009087/2.179, allocations: 498.3 kB / 0.8202 GB, free: 308 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003544/2.182, allocations: 0.5905 MB / 0.8208 GB, free: 0 / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 826 * Number of states: 0 () * Number of discrete variables: 67 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1042): * Single equations (assignments): 1031 * 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.003047/2.185, allocations: 0.7805 MB / 0.8216 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/2.187, allocations: 0.5129 MB / 0.8221 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01871/2.205, allocations: 6.656 MB / 0.8286 GB, free: 9.273 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/2.206, allocations: 43.56 kB / 0.8286 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.124e-05/2.206, allocations: 15.95 kB / 0.8286 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-05/2.206, allocations: 14.88 kB / 0.8286 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04081/2.247, allocations: 14.73 MB / 0.843 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/2.247, allocations: 4 kB / 0.843 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00386/2.251, allocations: 0.4992 MB / 0.8435 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008994/2.26, allocations: 1.999 MB / 0.8455 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006112/2.26, allocations: 51.98 kB / 0.8455 GB, free: 8.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03324/2.293, allocations: 19.66 MB / 0.8647 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.841e-06/2.294, allocations: 4 kB / 0.8647 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02672/2.32, allocations: 10.45 MB / 0.8749 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/2.322, allocations: 0.5372 MB / 0.8755 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001659/2.324, allocations: 51.81 kB / 0.8755 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003883/2.328, allocations: 183.7 kB / 0.8757 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009765/2.329, allocations: 177.6 kB / 0.8759 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003561/2.329, allocations: 75.98 kB / 0.8759 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009211/2.338, allocations: 3.454 MB / 0.8793 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.412e-06/2.338, allocations: 0 / 0.8793 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01101/2.349, allocations: 1.699 MB / 0.881 GB, free: 3.691 MB / 0.5105 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 (209): * Single equations (assignments): 198 * 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.001195/2.351, allocations: 267.6 kB / 0.8812 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2932/2.644, allocations: 8.555 MB / 0.8896 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.209e-06/2.644, allocations: 0 / 0.8896 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008155/2.652, allocations: 3.712 MB / 0.8932 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/2.657, allocations: 0.741 MB / 0.8939 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03448/2.692, allocations: 12.84 MB / 0.9065 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.012/2.704, allocations: 5.158 MB / 0.9115 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01093/2.715, allocations: 2.679 MB / 0.9141 GB, free: 153 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/2.717, allocations: 341.1 kB / 0.9144 GB, free: 153 MB / 0.5105 GB Notification: Performance of SimCode: time 1.826e-06/2.717, allocations: 0 / 0.9144 GB, free: 153 MB / 0.5105 GB Notification: Performance of Templates: time 0.1675/2.884, allocations: 64.06 MB / 0.977 GB, free: 126.6 MB / 0.5105 GB