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.966/1.966, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.98e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2594, allocations: 44.49 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.4216, allocations: 105.5 MB / 399.7 MB, free: 8.375 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.4219, allocations: 95.81 kB / 399.7 MB, free: 8.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6566/1.079, allocations: 132.7 MB / 0.52 GB, free: 18.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.138e-06/1.079, allocations: 0 / 0.52 GB, free: 18.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004042/1.079, allocations: 155.9 kB / 0.5201 GB, free: 18.33 MB / 362.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.02579/1.105, allocations: 7.234 MB / 0.5272 GB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.105, allocations: 12.03 kB / 0.5272 GB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/1.122, allocations: 2.88 MB / 0.53 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02156/1.144, allocations: 7.634 MB / 0.5375 GB, free: 404 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004145/1.144, allocations: 256 kB / 0.5377 GB, free: 148 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003266/1.148, allocations: 455.9 kB / 0.5381 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02687/1.174, allocations: 10.64 MB / 0.5485 GB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5135/1.688, allocations: 15.31 MB / 0.5635 GB, free: 43.34 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005468/1.689, allocations: 75 kB / 0.5635 GB, free: 43.34 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002868/1.692, allocations: 42.25 kB / 0.5636 GB, free: 43.34 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002884/1.694, allocations: 1.597 MB / 0.5651 GB, free: 43.33 MB / 378.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.1108/1.805, allocations: 74.11 MB / 0.6375 GB, free: 16.9 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/1.816, allocations: 4.094 MB / 0.6415 GB, free: 14.81 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007112/1.823, allocations: 2.592 MB / 0.644 GB, free: 13.7 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/1.825, allocations: 0.9051 MB / 0.6449 GB, free: 12.91 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.326e-05/1.825, allocations: 58.7 kB / 0.645 GB, free: 12.85 MB / 394.8 MB Notification: Performance of pre-optimization done (n=257): time 1.448e-05/1.825, allocations: 3.312 kB / 0.645 GB, free: 12.85 MB / 394.8 MB Notification: Performance of matching and sorting (n=303): time 0.09802/1.923, allocations: 29.78 MB / 0.6741 GB, free: 1.379 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.923, allocations: 162.9 kB / 0.6742 GB, free: 1.219 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01284/1.936, allocations: 4.63 MB / 0.6788 GB, free: 14.6 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006007/1.937, allocations: 25.7 kB / 0.6788 GB, free: 14.57 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005143/1.942, allocations: 4.932 MB / 0.6836 GB, free: 10.07 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00185/1.944, allocations: 1.116 MB / 0.6847 GB, free: 9.062 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008816/1.945, allocations: 4 kB / 0.6847 GB, free: 9.059 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0009211/1.946, allocations: 0.7001 MB / 0.6854 GB, free: 8.461 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00748/1.953, allocations: 3.175 MB / 0.6885 GB, free: 5.586 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0131/1.966, allocations: 8.556 MB / 0.6968 GB, free: 10.86 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.978, allocations: 5.147 MB / 0.7019 GB, free: 6.445 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001875/1.978, allocations: 56 kB / 0.7019 GB, free: 6.391 MB / 426.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=1191) (initialization): time 0.3204/2.298, allocations: 12.95 MB / 0.7146 GB, free: 82.52 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/2.298, allocations: 91.12 kB / 0.7146 GB, free: 82.52 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000343/2.299, allocations: 191.9 kB / 0.7148 GB, free: 82.52 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/2.31, allocations: 2.244 MB / 0.717 GB, free: 82.46 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/2.32, allocations: 2.146 MB / 0.7191 GB, free: 82.46 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02686/2.347, allocations: 19.18 MB / 0.7378 GB, free: 74.09 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009811/2.357, allocations: 345.5 kB / 0.7382 GB, free: 74.09 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002113/2.359, allocations: 0.5307 MB / 0.7387 GB, free: 74.09 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * 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 (1108): * Single equations (assignments): 1097 * 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.002797/2.362, allocations: 0.5978 MB / 0.7393 GB, free: 73.98 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/2.363, allocations: 0.4884 MB / 0.7398 GB, free: 73.98 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0179/2.381, allocations: 6.827 MB / 0.7464 GB, free: 73.34 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-05/2.381, allocations: 36.94 kB / 0.7465 GB, free: 73.34 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.585e-05/2.381, allocations: 15 kB / 0.7465 GB, free: 73.34 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.243e-05/2.381, allocations: 16.78 kB / 0.7465 GB, free: 73.34 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03591/2.417, allocations: 13.86 MB / 0.76 GB, free: 72.13 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/2.417, allocations: 3.125 kB / 0.76 GB, free: 72.13 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003929/2.421, allocations: 0.5333 MB / 0.7605 GB, free: 72.13 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008679/2.43, allocations: 2.034 MB / 0.7625 GB, free: 72.06 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006483/2.43, allocations: 13.94 kB / 0.7625 GB, free: 72.06 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02762/2.458, allocations: 21.41 MB / 0.7835 GB, free: 57.31 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.003e-06/2.458, allocations: 0 / 0.7835 GB, free: 57.31 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02309/2.481, allocations: 10.8 MB / 0.794 GB, free: 52.87 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003246/2.484, allocations: 0.9691 MB / 0.795 GB, free: 52.35 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/2.486, allocations: 16.47 kB / 0.795 GB, free: 52.35 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004076/2.49, allocations: 146.8 kB / 0.7951 GB, free: 52.35 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001013/2.491, allocations: 198.2 kB / 0.7953 GB, free: 52.32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003952/2.492, allocations: 75.75 kB / 0.7954 GB, free: 52.3 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00736/2.499, allocations: 2.995 MB / 0.7983 GB, free: 51.21 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.148e-06/2.499, allocations: 0 / 0.7983 GB, free: 51.21 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01157/2.511, allocations: 1.528 MB / 0.7998 GB, free: 51.21 MB / 426.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 (220): * Single equations (assignments): 207 * 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.001353/2.512, allocations: 218.1 kB / 0.8 GB, free: 51.11 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01721/2.529, allocations: 8.738 MB / 0.8085 GB, free: 46.23 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 7.708e-06/2.529, allocations: 0 / 0.8085 GB, free: 46.23 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007969/2.537, allocations: 4.005 MB / 0.8124 GB, free: 42.52 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/2.542, allocations: 0.6057 MB / 0.813 GB, free: 42.04 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03709/2.579, allocations: 13.98 MB / 0.8267 GB, free: 29.88 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01219/2.591, allocations: 5.282 MB / 0.8318 GB, free: 25.98 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/2.593, allocations: 399.1 kB / 0.8322 GB, free: 25.6 MB / 426.8 MB Notification: Performance of SimCode: time 1.875e-06/2.593, allocations: 0 / 0.8322 GB, free: 25.6 MB / 426.8 MB Notification: Performance of Templates: time 0.9745/3.568, allocations: 322 MB / 1.147 GB, free: 44.89 MB / 458.8 MB