Running command: translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointSSR.frame_b.r_0.1.|jointSSR.frame_b.r_0.2.|jointSSR.frame_b.r_0.3.|jointSSR.frame_b.f.1.|jointSSR.frame_b.f.2.|jointSSR.frame_b.f.3.|jointSSR.frame_b.t.1.|jointSSR.frame_b.t.2.|jointSSR.frame_b.t.3.|jointSSR.frame_im.r_0.1.|jointSSR.frame_im.r_0.1.|jointSSR.frame_im.r_0.2.|jointSSR.frame_im.r_0.2.|jointSSR.frame_im.r_0.3.|jointSSR.frame_im.r_0.3.|jointSSR.frame_im.f.1.|jointSSR.frame_im.f.1.|jointSSR.frame_im.f.2.|jointSSR.frame_im.f.2.|jointSSR.frame_im.f.3.|jointSSR.frame_im.f.3.|jointSSR.frame_im.t.1.|jointSSR.frame_im.t.1.|jointSSR.frame_im.t.2.|jointSSR.frame_im.t.2.|jointSSR.frame_im.t.3.|jointSSR.frame_im.t.3.|jointSSR.revolute.frame_b.r_0.1.|jointSSR.revolute.frame_b.r_0.2.|jointSSR.revolute.frame_b.r_0.3.|jointSSR.revolute.frame_b.f.1.|jointSSR.revolute.frame_b.f.2.|jointSSR.revolute.frame_b.f.3.|jointSSR.revolute.frame_b.t.1.|jointSSR.revolute.frame_b.t.2.|jointSSR.revolute.frame_b.t.3.|jointSSR.rod1.frame_b.r_0.1.|jointSSR.rod1.frame_b.r_0.2.|jointSSR.rod1.frame_b.r_0.3.|jointSSR.rod1.frame_b.f.1.|jointSSR.rod1.frame_b.f.2.|jointSSR.rod1.frame_b.f.3.|jointSSR.rod1.frame_b.t.1.|jointSSR.rod1.frame_b.t.2.|jointSSR.rod1.frame_b.t.3.|jointSSR.rod2.frame_b.r_0.1.|jointSSR.rod2.frame_b.r_0.2.|jointSSR.rod2.frame_b.r_0.3.|jointSSR.rod2.frame_b.f.1.|jointSSR.rod2.frame_b.f.2.|jointSSR.rod2.frame_b.f.3.|jointSSR.rod2.frame_b.t.1.|jointSSR.rod2.frame_b.t.2.|jointSSR.rod2.frame_b.t.3.|jointSSR.relativePosition.frame_b.r_0.1.|jointSSR.relativePosition.frame_b.r_0.2.|jointSSR.relativePosition.frame_b.r_0.3.|jointSSR.relativePosition.frame_b.f.1.|jointSSR.relativePosition.frame_b.f.2.|jointSSR.relativePosition.frame_b.f.3.|jointSSR.relativePosition.frame_b.t.1.|jointSSR.relativePosition.frame_b.t.2.|jointSSR.relativePosition.frame_b.t.3.|jointSSR.relativePosition.relativePosition.frame_b.r_0.1.|jointSSR.relativePosition.relativePosition.frame_b.r_0.2.|jointSSR.relativePosition.relativePosition.frame_b.r_0.3.|jointSSR.relativePosition.relativePosition.frame_b.f.1.|jointSSR.relativePosition.relativePosition.frame_b.f.2.|jointSSR.relativePosition.relativePosition.frame_b.f.3.|jointSSR.relativePosition.relativePosition.frame_b.t.1.|jointSSR.relativePosition.relativePosition.frame_b.t.2.|jointSSR.relativePosition.relativePosition.frame_b.t.3.|jointSSR.position_b.1..y|jointSSR.position_b.2..y|jointSSR.position_b.3..y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 270 MB / 283.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.181e-05, allocations: 0 / 348.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.332, allocations: 61.87 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.5048, allocations: 108.7 MB / 0.5069 GB, free: 13.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5051, allocations: 79.95 kB / 0.5069 GB, free: 13.74 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5074/1.013, allocations: 54.45 MB / 0.5601 GB, free: 82.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.906e-06/1.013, allocations: 0 / 0.5601 GB, free: 82.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001011/1.013, allocations: 52 kB / 0.5602 GB, free: 82.43 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.006261/1.019, allocations: 2.446 MB / 0.5626 GB, free: 79.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.019, allocations: 8.031 kB / 0.5626 GB, free: 79.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/1.022, allocations: 448 kB / 0.563 GB, free: 79.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/1.025, allocations: 1.486 MB / 0.5644 GB, free: 77.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/1.026, allocations: 201.1 kB / 0.5646 GB, free: 77.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005855/1.026, allocations: 252 kB / 0.5649 GB, free: 77.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04319/1.069, allocations: 6.255 MB / 0.571 GB, free: 70.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001538/1.07, allocations: 11.88 kB / 0.571 GB, free: 70.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009472/1.079, allocations: 116 kB / 0.5711 GB, free: 70.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001322/1.081, allocations: 460 kB / 0.5715 GB, free: 70.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03911/1.12, allocations: 5.215 MB / 0.5766 GB, free: 65.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02662/1.146, allocations: 20.14 MB / 0.5963 GB, free: 44.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008602/1.155, allocations: 1.78 MB / 0.598 GB, free: 42.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/1.156, allocations: 0.6553 MB / 0.5987 GB, free: 41.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007138/1.163, allocations: 4.728 MB / 0.6033 GB, free: 36.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/1.163, allocations: 43.16 kB / 0.6033 GB, free: 36.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 4.444e-06/1.163, allocations: 0 / 0.6033 GB, free: 36.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=110): time 0.03486/1.198, allocations: 7.063 MB / 0.6102 GB, free: 29.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/1.198, allocations: 68.39 kB / 0.6103 GB, free: 29.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/1.201, allocations: 1.615 MB / 0.6119 GB, free: 28.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/1.201, allocations: 41.7 kB / 0.6119 GB, free: 27.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008397/1.202, allocations: 1.54 MB / 0.6134 GB, free: 26.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003208/1.202, allocations: 410.5 kB / 0.6138 GB, free: 26.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/1.202, allocations: 56 kB / 0.6139 GB, free: 25.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/1.203, allocations: 419.7 kB / 0.6143 GB, free: 25.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/1.204, allocations: 0.9817 MB / 0.6152 GB, free: 24.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/1.207, allocations: 2.462 MB / 0.6176 GB, free: 21.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/1.209, allocations: 1.515 MB / 0.6191 GB, free: 19.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/1.209, allocations: 16 kB / 0.6191 GB, free: 19.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.006482/1.216, allocations: 3.322 MB / 0.6224 GB, free: 16.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/1.216, allocations: 24 kB / 0.6224 GB, free: 16.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.832e-05/1.216, allocations: 60.05 kB / 0.6224 GB, free: 16.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.02e-05/1.216, allocations: 80 kB / 0.6225 GB, free: 16.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/1.219, allocations: 0.6824 MB / 0.6232 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.684e-05/1.22, allocations: 107.6 kB / 0.6233 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/1.222, allocations: 155.8 kB / 0.6234 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004336/1.223, allocations: 160 kB / 0.6236 GB, free: 15.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 38 (jointSSR.revolute.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (353): * Single equations (assignments): 353 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005149/1.223, allocations: 323.6 kB / 0.6239 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/1.223, allocations: 165.8 kB / 0.6241 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/1.227, allocations: 1.718 MB / 0.6257 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/1.227, allocations: 19.95 kB / 0.6258 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.523e-06/1.227, allocations: 0 / 0.6258 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.227, allocations: 3.984 kB / 0.6258 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/1.238, allocations: 5.597 MB / 0.6312 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.238, allocations: 12 kB / 0.6312 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/1.239, allocations: 255.5 kB / 0.6315 GB, free: 6.887 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.529e-05/1.239, allocations: 16 kB / 0.6315 GB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.003e-05/1.239, allocations: 32 kB / 0.6315 GB, free: 6.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.121e-05/1.239, allocations: 27.86 kB / 0.6316 GB, free: 6.812 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/1.239, allocations: 19.89 kB / 0.6316 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/1.242, allocations: 2.535 MB / 0.634 GB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/1.242, allocations: 258.8 kB / 0.6343 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/1.243, allocations: 35.98 kB / 0.6343 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.244, allocations: 59.94 kB / 0.6344 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/1.244, allocations: 100.2 kB / 0.6345 GB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.656e-05/1.244, allocations: 44 kB / 0.6345 GB, free: 3.141 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002024/1.246, allocations: 1.168 MB / 0.6357 GB, free: 1.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.37e-07/1.246, allocations: 0 / 0.6357 GB, free: 1.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003102/1.249, allocations: 0.5077 MB / 0.6362 GB, free: 1.473 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004336/1.25, allocations: 186.8 kB / 0.6363 GB, free: 1.281 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004406/1.254, allocations: 2.088 MB / 0.6384 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.254, allocations: 320 / 0.6384 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/1.255, allocations: 0.5898 MB / 0.639 GB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/1.257, allocations: 234.5 kB / 0.6392 GB, free: 14.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.267, allocations: 3.932 MB / 0.643 GB, free: 10.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003818/1.271, allocations: 2.125 MB / 0.6451 GB, free: 8.102 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003206/1.274, allocations: 0.7422 MB / 0.6458 GB, free: 7.355 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/1.275, allocations: 123.4 kB / 0.6459 GB, free: 7.234 MB / 458.7 MB Notification: Performance of SimCode: time 1.89e-06/1.275, allocations: 0 / 0.6459 GB, free: 7.234 MB / 458.7 MB Notification: Performance of Templates: time 0.05426/1.329, allocations: 17.3 MB / 0.6628 GB, free: 6.043 MB / 474.7 MB