Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 2.041/2.041, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.914e-05, allocations: 4 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.09385, allocations: 50.41 MB / 342.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4107/0.5046, allocations: 114.6 MB / 457.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.505, allocations: 89.02 kB / 457.3 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7399/1.245, allocations: 134.4 MB / 0.5778 GB, free: 97 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.003e-06/1.245, allocations: 0 / 0.5778 GB, free: 97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004228/1.245, allocations: 148.1 kB / 0.5779 GB, free: 96.99 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.02625/1.272, allocations: 7.132 MB / 0.5849 GB, free: 94.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.272, allocations: 7.781 kB / 0.5849 GB, free: 94.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/1.289, allocations: 2.847 MB / 0.5877 GB, free: 93.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02189/1.311, allocations: 7.262 MB / 0.5948 GB, free: 90.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006371/1.311, allocations: 0.5563 MB / 0.5953 GB, free: 90.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00325/1.314, allocations: 0.7347 MB / 0.596 GB, free: 90.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04685/1.361, allocations: 17.77 MB / 0.6134 GB, free: 76.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004145/1.362, allocations: 79.25 kB / 0.6135 GB, free: 76.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002824/1.365, allocations: 353.5 kB / 0.6138 GB, free: 75.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00285/1.368, allocations: 1.556 MB / 0.6153 GB, free: 74.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03719/1.405, allocations: 14.25 MB / 0.6292 GB, free: 60.14 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.4113/1.816, allocations: 74.03 MB / 0.7015 GB, free: 45.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03126/1.847, allocations: 7.605 MB / 0.709 GB, free: 44.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006085/1.854, allocations: 3.164 MB / 0.712 GB, free: 44.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02903/1.883, allocations: 14.38 MB / 0.7261 GB, free: 40.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/1.883, allocations: 69.16 kB / 0.7262 GB, free: 40.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 7.644e-06/1.883, allocations: 0 / 0.7262 GB, free: 40.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=290): time 0.123/2.006, allocations: 29.1 MB / 0.7546 GB, free: 33.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/2.006, allocations: 162.9 kB / 0.7547 GB, free: 32.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0129/2.019, allocations: 4.994 MB / 0.7596 GB, free: 31.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007484/2.02, allocations: 67.3 kB / 0.7597 GB, free: 30.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005018/2.025, allocations: 4.721 MB / 0.7643 GB, free: 27.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002059/2.027, allocations: 1.105 MB / 0.7654 GB, free: 26.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/2.028, allocations: 173.9 kB / 0.7655 GB, free: 26.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009118/2.029, allocations: 0.6716 MB / 0.7662 GB, free: 25.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01022/2.039, allocations: 3.176 MB / 0.7693 GB, free: 24.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01397/2.053, allocations: 8.231 MB / 0.7773 GB, free: 16.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/2.064, allocations: 5.072 MB / 0.7823 GB, free: 15.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000156/2.064, allocations: 54.64 kB / 0.7823 GB, free: 15.02 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.03753/2.102, allocations: 12.78 MB / 0.7948 GB, free: 7.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/2.102, allocations: 88.06 kB / 0.7949 GB, free: 7.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000218/2.102, allocations: 180 kB / 0.7951 GB, free: 7.258 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/2.114, allocations: 2.266 MB / 0.7973 GB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01655/2.13, allocations: 2.014 MB / 0.7992 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05654/2.187, allocations: 20.13 MB / 0.8189 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01574/2.203, allocations: 497.2 kB / 0.8194 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002999/2.206, allocations: 0.5024 MB / 0.8199 GB, free: 20 kB / 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.004658/2.211, allocations: 0.7736 MB / 0.8206 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002433/2.213, allocations: 0.5157 MB / 0.8211 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03371/2.247, allocations: 6.653 MB / 0.8276 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001405/2.247, allocations: 40.55 kB / 0.8277 GB, free: 9.258 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.217e-05/2.247, allocations: 12 kB / 0.8277 GB, free: 9.246 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.572e-05/2.247, allocations: 18.81 kB / 0.8277 GB, free: 9.242 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05365/2.301, allocations: 14.73 MB / 0.8421 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.711e-05/2.301, allocations: 7.953 kB / 0.8421 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003933/2.305, allocations: 0.4992 MB / 0.8426 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009199/2.314, allocations: 2.002 MB / 0.8445 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006151/2.315, allocations: 54.88 kB / 0.8446 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03444/2.349, allocations: 19.65 MB / 0.8638 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.587e-06/2.349, allocations: 7.984 kB / 0.8638 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02633/2.376, allocations: 10.45 MB / 0.874 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/2.378, allocations: 0.5373 MB / 0.8745 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001335/2.379, allocations: 51.94 kB / 0.8746 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003478/2.382, allocations: 179 kB / 0.8747 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008349/2.383, allocations: 173.7 kB / 0.8749 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003625/2.384, allocations: 83.8 kB / 0.875 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008875/2.393, allocations: 3.454 MB / 0.8784 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.243e-06/2.393, allocations: 0 / 0.8784 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01108/2.404, allocations: 1.69 MB / 0.88 GB, free: 4.199 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.001229/2.405, allocations: 266.6 kB / 0.8803 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2969/2.702, allocations: 8.561 MB / 0.8886 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.741e-06/2.702, allocations: 1.281 kB / 0.8886 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008484/2.71, allocations: 3.706 MB / 0.8922 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00524/2.716, allocations: 0.7497 MB / 0.893 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03683/2.753, allocations: 13.63 MB / 0.9063 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/2.764, allocations: 5.165 MB / 0.9113 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/2.767, allocations: 403.6 kB / 0.9117 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.288e-06/2.767, allocations: 0 / 0.9117 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.6882/3.455, allocations: 286.7 MB / 1.192 GB, free: 68.09 MB / 0.5105 GB