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_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.475e-05, allocations: 7.984 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07697/0.07701, allocations: 44.5 MB / 299.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4462, allocations: 106.2 MB / 406.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4465, allocations: 86.05 kB / 406.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.806/1.253, allocations: 136.1 MB / 0.5295 GB, free: 56.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.008e-06/1.253, allocations: 3.844 kB / 0.5295 GB, free: 56.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004208/1.253, allocations: 149 kB / 0.5297 GB, free: 56.57 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.02573/1.279, allocations: 7.241 MB / 0.5367 GB, free: 53.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.279, allocations: 7.844 kB / 0.5368 GB, free: 53.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01707/1.296, allocations: 2.886 MB / 0.5396 GB, free: 53.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02217/1.318, allocations: 7.645 MB / 0.547 GB, free: 52.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006342/1.319, allocations: 0.5665 MB / 0.5476 GB, free: 52.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003103/1.322, allocations: 0.7485 MB / 0.5483 GB, free: 52.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04695/1.369, allocations: 18.07 MB / 0.566 GB, free: 48.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004304/1.369, allocations: 85.8 kB / 0.566 GB, free: 48.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002721/1.372, allocations: 356.2 kB / 0.5664 GB, free: 48.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002973/1.375, allocations: 1.605 MB / 0.568 GB, free: 48.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04055/1.416, allocations: 14.58 MB / 0.5822 GB, free: 45.57 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.1206/1.536, allocations: 75.51 MB / 0.6559 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02945/1.566, allocations: 7.561 MB / 0.6633 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006622/1.573, allocations: 3.226 MB / 0.6665 GB, free: 4.465 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3004/1.873, allocations: 14.04 MB / 0.6802 GB, free: 82.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/1.873, allocations: 65.03 kB / 0.6803 GB, free: 82.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=251): time 7.957e-06/1.873, allocations: 0 / 0.6803 GB, free: 82.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=297): time 0.1079/1.981, allocations: 29.78 MB / 0.7093 GB, free: 77.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/1.981, allocations: 160.7 kB / 0.7095 GB, free: 77.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/1.992, allocations: 5.137 MB / 0.7145 GB, free: 76.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005787/1.992, allocations: 65.58 kB / 0.7146 GB, free: 76.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00358/1.996, allocations: 5.003 MB / 0.7194 GB, free: 74.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001379/1.997, allocations: 1.141 MB / 0.7206 GB, free: 73.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007754/1.998, allocations: 180 kB / 0.7207 GB, free: 73.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005353/1.999, allocations: 0.6743 MB / 0.7214 GB, free: 73.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006716/2.005, allocations: 3.279 MB / 0.7246 GB, free: 72.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009685/2.015, allocations: 8.486 MB / 0.7329 GB, free: 64.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009684/2.025, allocations: 5.217 MB / 0.738 GB, free: 62.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/2.025, allocations: 52.91 kB / 0.738 GB, free: 62.99 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.03371/2.059, allocations: 13.31 MB / 0.751 GB, free: 58.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/2.059, allocations: 87.78 kB / 0.7511 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/2.059, allocations: 184.6 kB / 0.7513 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00869/2.068, allocations: 2.271 MB / 0.7535 GB, free: 58.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009418/2.077, allocations: 2.083 MB / 0.7555 GB, free: 58.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02678/2.104, allocations: 20.14 MB / 0.7752 GB, free: 43.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0092/2.113, allocations: 0.4904 MB / 0.7757 GB, free: 42.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/2.115, allocations: 0.5196 MB / 0.7762 GB, free: 42.24 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.002176/2.118, allocations: 0.7917 MB / 0.777 GB, free: 41.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/2.119, allocations: 0.5361 MB / 0.7775 GB, free: 40.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/2.136, allocations: 7.074 MB / 0.7844 GB, free: 35.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.881e-05/2.136, allocations: 37.8 kB / 0.7844 GB, free: 35.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.66e-05/2.136, allocations: 14.95 kB / 0.7844 GB, free: 35.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.776e-05/2.136, allocations: 10.55 kB / 0.7845 GB, free: 35.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03632/2.172, allocations: 15.31 MB / 0.7994 GB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/2.172, allocations: 0 / 0.7994 GB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003739/2.176, allocations: 0.5235 MB / 0.7999 GB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0137/2.19, allocations: 2.066 MB / 0.8019 GB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009216/2.191, allocations: 58.38 kB / 0.802 GB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02829/2.219, allocations: 22.48 MB / 0.824 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/2.219, allocations: 2.016 kB / 0.824 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3493/2.569, allocations: 10.97 MB / 0.8347 GB, free: 83.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003168/2.572, allocations: 1.009 MB / 0.8357 GB, free: 83.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/2.573, allocations: 57.06 kB / 0.8357 GB, free: 83.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003502/2.577, allocations: 191.3 kB / 0.8359 GB, free: 83.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008456/2.577, allocations: 183.1 kB / 0.8361 GB, free: 83.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000377/2.578, allocations: 82.78 kB / 0.8361 GB, free: 83.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007588/2.585, allocations: 3.56 MB / 0.8396 GB, free: 83.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.009e-06/2.585, allocations: 3 kB / 0.8396 GB, free: 83.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01032/2.596, allocations: 1.741 MB / 0.8413 GB, free: 83.48 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.001168/2.597, allocations: 268.2 kB / 0.8416 GB, free: 83.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01793/2.615, allocations: 8.802 MB / 0.8502 GB, free: 82.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.126e-06/2.615, allocations: 0 / 0.8502 GB, free: 82.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008029/2.623, allocations: 4.028 MB / 0.8541 GB, free: 81.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004803/2.628, allocations: 0.7286 MB / 0.8548 GB, free: 81.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03325/2.661, allocations: 13.3 MB / 0.8678 GB, free: 79.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01175/2.673, allocations: 5.283 MB / 0.873 GB, free: 78.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01099/2.684, allocations: 2.734 MB / 0.8756 GB, free: 78.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/2.686, allocations: 347.7 kB / 0.876 GB, free: 78.21 MB / 442.7 MB Notification: Performance of SimCode: time 1.882e-06/2.686, allocations: 0 / 0.876 GB, free: 78.21 MB / 442.7 MB Notification: Performance of Templates: time 0.1699/2.856, allocations: 65.57 MB / 0.94 GB, free: 45.93 MB / 442.7 MB