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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.656e-05, allocations: 4 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09061, allocations: 50.4 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5382, allocations: 114.6 MB / 457.1 MB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.5385, allocations: 88.64 kB / 457.2 MB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7237/1.262, allocations: 134.4 MB / 0.5777 GB, free: 97.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.348e-06/1.262, allocations: 0 / 0.5777 GB, free: 97.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003963/1.263, allocations: 149.6 kB / 0.5779 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.02482/1.287, allocations: 7.133 MB / 0.5849 GB, free: 94.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.288, allocations: 6.562 kB / 0.5849 GB, free: 94.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/1.304, allocations: 2.849 MB / 0.5876 GB, free: 93.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02131/1.326, allocations: 7.26 MB / 0.5947 GB, free: 91.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006056/1.326, allocations: 0.553 MB / 0.5953 GB, free: 90.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002927/1.329, allocations: 0.7406 MB / 0.596 GB, free: 90.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0448/1.374, allocations: 17.76 MB / 0.6133 GB, free: 76.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003013/1.374, allocations: 83.17 kB / 0.6134 GB, free: 76.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001836/1.376, allocations: 348.7 kB / 0.6137 GB, free: 75.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002497/1.379, allocations: 1.568 MB / 0.6153 GB, free: 74.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03549/1.414, allocations: 14.25 MB / 0.6292 GB, free: 59.93 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.4021/1.816, allocations: 74.03 MB / 0.7015 GB, free: 45.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03197/1.848, allocations: 7.612 MB / 0.7089 GB, free: 44.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005527/1.854, allocations: 3.163 MB / 0.712 GB, free: 44.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0287/1.883, allocations: 14.38 MB / 0.726 GB, free: 40.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/1.883, allocations: 59.75 kB / 0.7261 GB, free: 40.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 7.647e-06/1.883, allocations: 0 / 0.7261 GB, free: 40.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=290): time 0.1073/1.99, allocations: 29.11 MB / 0.7545 GB, free: 33.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/1.99, allocations: 162.2 kB / 0.7547 GB, free: 33.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/2.001, allocations: 4.993 MB / 0.7596 GB, free: 31.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005472/2.001, allocations: 66.19 kB / 0.7596 GB, free: 31.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003622/2.005, allocations: 4.884 MB / 0.7644 GB, free: 27.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001465/2.006, allocations: 1.108 MB / 0.7655 GB, free: 26.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008692/2.007, allocations: 169.8 kB / 0.7656 GB, free: 26.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005842/2.008, allocations: 0.6744 MB / 0.7663 GB, free: 26.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006596/2.014, allocations: 3.175 MB / 0.7694 GB, free: 24.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009587/2.024, allocations: 8.233 MB / 0.7774 GB, free: 16.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009313/2.033, allocations: 5.076 MB / 0.7824 GB, free: 15.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/2.034, allocations: 49.09 kB / 0.7824 GB, free: 15.21 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.03113/2.065, allocations: 12.98 MB / 0.7951 GB, free: 7.117 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/2.065, allocations: 80 kB / 0.7952 GB, free: 7.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/2.065, allocations: 180 kB / 0.7954 GB, free: 6.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008514/2.074, allocations: 2.26 MB / 0.7976 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008986/2.083, allocations: 2.015 MB / 0.7995 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03182/2.114, allocations: 20.13 MB / 0.8192 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009066/2.124, allocations: 0.4885 MB / 0.8197 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004965/2.129, allocations: 0.6733 MB / 0.8203 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.002904/2.132, allocations: 0.7854 MB / 0.8211 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/2.133, allocations: 0.5129 MB / 0.8216 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01819/2.151, allocations: 6.65 MB / 0.8281 GB, free: 9.273 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.74e-05/2.151, allocations: 43.59 kB / 0.8281 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.499e-05/2.151, allocations: 12 kB / 0.8282 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.927e-05/2.151, allocations: 19.47 kB / 0.8282 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04119/2.193, allocations: 14.73 MB / 0.8426 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/2.193, allocations: 4 kB / 0.8426 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003796/2.196, allocations: 0.5108 MB / 0.8431 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008806/2.205, allocations: 1.995 MB / 0.845 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005878/2.206, allocations: 51.98 kB / 0.8451 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03276/2.239, allocations: 19.66 MB / 0.8643 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.08e-06/2.239, allocations: 7.562 kB / 0.8643 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0255/2.264, allocations: 10.45 MB / 0.8745 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/2.266, allocations: 0.5372 MB / 0.875 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/2.267, allocations: 59.92 kB / 0.875 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003272/2.271, allocations: 178.3 kB / 0.8752 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008367/2.271, allocations: 173.6 kB / 0.8754 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/2.272, allocations: 76 kB / 0.8755 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008012/2.28, allocations: 3.458 MB / 0.8788 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.085e-06/2.28, allocations: 0 / 0.8788 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01053/2.29, allocations: 1.7 MB / 0.8805 GB, free: 3.664 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.001207/2.292, allocations: 262.7 kB / 0.8807 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2947/2.586, allocations: 8.559 MB / 0.8891 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.509e-06/2.586, allocations: 0.8125 kB / 0.8891 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00773/2.594, allocations: 3.71 MB / 0.8927 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.004875/2.599, allocations: 0.7494 MB / 0.8935 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03264/2.632, allocations: 12.84 MB / 0.906 GB, free: 154 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01093/2.643, allocations: 5.165 MB / 0.911 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01009/2.653, allocations: 2.672 MB / 0.9136 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/2.654, allocations: 334.5 kB / 0.914 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.78e-06/2.655, allocations: 0 / 0.914 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.1672/2.822, allocations: 64.06 MB / 0.9765 GB, free: 126.7 MB / 0.5105 GB