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.839/1.839, allocations: 194.9 MB / 208.5 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.791e-05, allocations: 6.375 kB / 255.4 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07883/0.07887, allocations: 44.49 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3748/0.4537, allocations: 106.2 MB / 406.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.454, allocations: 90.41 kB / 406.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8147/1.269, allocations: 136 MB / 0.5295 GB, free: 56 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.339e-06/1.269, allocations: 0 / 0.5295 GB, free: 56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003777/1.269, allocations: 154.7 kB / 0.5296 GB, free: 55.99 MB / 394.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.02659/1.296, allocations: 7.255 MB / 0.5367 GB, free: 53.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.296, allocations: 7.781 kB / 0.5367 GB, free: 53.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/1.312, allocations: 2.878 MB / 0.5395 GB, free: 52.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02127/1.333, allocations: 7.641 MB / 0.547 GB, free: 52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006215/1.334, allocations: 0.5638 MB / 0.5476 GB, free: 51.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003083/1.337, allocations: 0.7535 MB / 0.5483 GB, free: 51.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04459/1.381, allocations: 18.07 MB / 0.5659 GB, free: 48.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003986/1.382, allocations: 81.81 kB / 0.566 GB, free: 48.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002657/1.385, allocations: 359.4 kB / 0.5664 GB, free: 48.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002723/1.387, allocations: 1.602 MB / 0.5679 GB, free: 48.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03653/1.424, allocations: 14.59 MB / 0.5822 GB, free: 45.27 MB / 394.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.1054/1.529, allocations: 75.45 MB / 0.6559 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02969/1.559, allocations: 7.57 MB / 0.6633 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00661/1.566, allocations: 3.229 MB / 0.6664 GB, free: 4.469 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2798/1.846, allocations: 14.04 MB / 0.6801 GB, free: 81.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/1.846, allocations: 63.36 kB / 0.6802 GB, free: 81.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=251): time 7.769e-06/1.846, allocations: 0 / 0.6802 GB, free: 81.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=297): time 0.1069/1.953, allocations: 29.77 MB / 0.7093 GB, free: 77.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/1.953, allocations: 160.5 kB / 0.7094 GB, free: 76.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/1.965, allocations: 5.138 MB / 0.7144 GB, free: 76.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000648/1.966, allocations: 69.83 kB / 0.7145 GB, free: 76.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003604/1.969, allocations: 4.838 MB / 0.7192 GB, free: 73.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001572/1.971, allocations: 1.135 MB / 0.7203 GB, free: 73.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/1.972, allocations: 174 kB / 0.7205 GB, free: 73.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000844/1.973, allocations: 0.6812 MB / 0.7212 GB, free: 72.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007049/1.98, allocations: 3.28 MB / 0.7244 GB, free: 72.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/1.99, allocations: 8.481 MB / 0.7326 GB, free: 64.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009877/2, allocations: 5.227 MB / 0.7377 GB, free: 62.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001722/2, allocations: 58.03 kB / 0.7378 GB, free: 62.96 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=1155) (initialization): time 0.03262/2.033, allocations: 13.12 MB / 0.7506 GB, free: 58.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/2.033, allocations: 87.41 kB / 0.7507 GB, free: 58.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002219/2.033, allocations: 184.2 kB / 0.7509 GB, free: 58.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008551/2.042, allocations: 2.267 MB / 0.7531 GB, free: 58.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009684/2.051, allocations: 2.082 MB / 0.7551 GB, free: 58.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02652/2.078, allocations: 20.14 MB / 0.7748 GB, free: 43.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009578/2.088, allocations: 0.5028 MB / 0.7753 GB, free: 42.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001967/2.09, allocations: 0.5152 MB / 0.7758 GB, free: 42.36 MB / 426.7 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.002837/2.093, allocations: 0.7937 MB / 0.7766 GB, free: 41.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/2.094, allocations: 0.5283 MB / 0.7771 GB, free: 41.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01821/2.112, allocations: 7.079 MB / 0.784 GB, free: 35.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.584e-05/2.112, allocations: 36 kB / 0.784 GB, free: 35.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.936e-05/2.112, allocations: 11.56 kB / 0.784 GB, free: 35.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.408e-05/2.112, allocations: 20.59 kB / 0.784 GB, free: 35.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03959/2.152, allocations: 15.3 MB / 0.799 GB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/2.152, allocations: 4 kB / 0.799 GB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003865/2.156, allocations: 0.5135 MB / 0.7995 GB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008348/2.164, allocations: 2.074 MB / 0.8015 GB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00074/2.165, allocations: 55.47 kB / 0.8016 GB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02896/2.194, allocations: 22.49 MB / 0.8235 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/2.194, allocations: 3.953 kB / 0.8235 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3397/2.534, allocations: 11.62 MB / 0.8349 GB, free: 83.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003627/2.538, allocations: 1.008 MB / 0.8359 GB, free: 83.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001878/2.539, allocations: 57.53 kB / 0.8359 GB, free: 83.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00434/2.544, allocations: 188.9 kB / 0.8361 GB, free: 83.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/2.545, allocations: 182.9 kB / 0.8363 GB, free: 83.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006721/2.546, allocations: 86.27 kB / 0.8364 GB, free: 83.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009522/2.555, allocations: 3.561 MB / 0.8398 GB, free: 83.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.229e-06/2.555, allocations: 0 / 0.8398 GB, free: 83.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01112/2.566, allocations: 1.744 MB / 0.8415 GB, free: 83.54 MB / 442.7 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.00123/2.568, allocations: 263.5 kB / 0.8418 GB, free: 83.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01767/2.585, allocations: 8.795 MB / 0.8504 GB, free: 82.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.112e-06/2.585, allocations: 0 / 0.8504 GB, free: 82.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007981/2.593, allocations: 4.03 MB / 0.8543 GB, free: 81.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005167/2.599, allocations: 0.728 MB / 0.855 GB, free: 81.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03512/2.634, allocations: 14.12 MB / 0.8688 GB, free: 79.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0114/2.645, allocations: 5.282 MB / 0.874 GB, free: 78.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002226/2.648, allocations: 420.7 kB / 0.8744 GB, free: 78.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.121e-06/2.648, allocations: 0 / 0.8744 GB, free: 78.3 MB / 442.7 MB Notification: Performance of Templates: time 0.9453/3.593, allocations: 323.7 MB / 1.19 GB, free: 117.1 MB / 474.7 MB