Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSR,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.|jointUSR.frame_b.r_0.1.|jointUSR.frame_b.r_0.2.|jointUSR.frame_b.r_0.3.|jointUSR.frame_b.f.1.|jointUSR.frame_b.f.2.|jointUSR.frame_b.f.3.|jointUSR.frame_b.t.1.|jointUSR.frame_b.t.2.|jointUSR.frame_b.t.3.|jointUSR.frame_ia.r_0.1.|jointUSR.frame_ia.r_0.2.|jointUSR.frame_ia.r_0.3.|jointUSR.frame_ia.f.1.|jointUSR.frame_ia.f.2.|jointUSR.frame_ia.f.3.|jointUSR.frame_ia.t.1.|jointUSR.frame_ia.t.2.|jointUSR.frame_ia.t.3.|jointUSR.frame_im.r_0.1.|jointUSR.frame_im.r_0.1.|jointUSR.frame_im.r_0.2.|jointUSR.frame_im.r_0.2.|jointUSR.frame_im.r_0.3.|jointUSR.frame_im.r_0.3.|jointUSR.frame_im.f.1.|jointUSR.frame_im.f.1.|jointUSR.frame_im.f.2.|jointUSR.frame_im.f.2.|jointUSR.frame_im.f.3.|jointUSR.frame_im.f.3.|jointUSR.frame_im.t.1.|jointUSR.frame_im.t.1.|jointUSR.frame_im.t.2.|jointUSR.frame_im.t.2.|jointUSR.frame_im.t.3.|jointUSR.frame_im.t.3.|jointUSR.revolute.frame_b.r_0.1.|jointUSR.revolute.frame_b.r_0.2.|jointUSR.revolute.frame_b.r_0.3.|jointUSR.revolute.frame_b.f.1.|jointUSR.revolute.frame_b.f.2.|jointUSR.revolute.frame_b.f.3.|jointUSR.revolute.frame_b.t.1.|jointUSR.revolute.frame_b.t.2.|jointUSR.revolute.frame_b.t.3.|jointUSR.rod1.frame_b.r_0.1.|jointUSR.rod1.frame_b.r_0.2.|jointUSR.rod1.frame_b.r_0.3.|jointUSR.rod1.frame_b.f.1.|jointUSR.rod1.frame_b.f.2.|jointUSR.rod1.frame_b.f.3.|jointUSR.rod1.frame_b.t.1.|jointUSR.rod1.frame_b.t.2.|jointUSR.rod1.frame_b.t.3.|jointUSR.rod1.frame_ia.r_0.1.|jointUSR.rod1.frame_ia.r_0.2.|jointUSR.rod1.frame_ia.r_0.3.|jointUSR.rod1.frame_ia.f.1.|jointUSR.rod1.frame_ia.f.2.|jointUSR.rod1.frame_ia.f.3.|jointUSR.rod1.frame_ia.t.1.|jointUSR.rod1.frame_ia.t.2.|jointUSR.rod1.frame_ia.t.3.|jointUSR.rod2.frame_b.r_0.1.|jointUSR.rod2.frame_b.r_0.2.|jointUSR.rod2.frame_b.r_0.3.|jointUSR.rod2.frame_b.f.1.|jointUSR.rod2.frame_b.f.2.|jointUSR.rod2.frame_b.f.3.|jointUSR.rod2.frame_b.t.1.|jointUSR.rod2.frame_b.t.2.|jointUSR.rod2.frame_b.t.3.|jointUSR.relativePosition.frame_b.r_0.1.|jointUSR.relativePosition.frame_b.r_0.2.|jointUSR.relativePosition.frame_b.r_0.3.|jointUSR.relativePosition.frame_b.f.1.|jointUSR.relativePosition.frame_b.f.2.|jointUSR.relativePosition.frame_b.f.3.|jointUSR.relativePosition.frame_b.t.1.|jointUSR.relativePosition.frame_b.t.2.|jointUSR.relativePosition.frame_b.t.3.|jointUSR.relativePosition.relativePosition.frame_b.r_0.1.|jointUSR.relativePosition.relativePosition.frame_b.r_0.2.|jointUSR.relativePosition.relativePosition.frame_b.r_0.3.|jointUSR.relativePosition.relativePosition.frame_b.f.1.|jointUSR.relativePosition.relativePosition.frame_b.f.2.|jointUSR.relativePosition.relativePosition.frame_b.f.3.|jointUSR.relativePosition.relativePosition.frame_b.t.1.|jointUSR.relativePosition.relativePosition.frame_b.t.2.|jointUSR.relativePosition.relativePosition.frame_b.t.3.|jointUSR.position_b.1..y|jointUSR.position_b.2..y|jointUSR.position_b.3..y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.677e-05/2.667e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1283, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.3768/0.5052, allocations: 37.82 MB / 448.8 MB, free: 8.105 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02693/0.5322, allocations: 8.424 MB / 457.2 MB, free: 2.527 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01134/0.5436, allocations: 196.3 kB / 457.4 MB, free: 2.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00802/0.5517, allocations: 1.937 MB / 459.3 MB, free: 1.867 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02216/0.5739, allocations: 5.196 MB / 464.5 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.5782, allocations: 0.5886 MB / 465.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003223/0.5815, allocations: 0.8273 MB / 465.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009798/0.5913, allocations: 4.67 MB / 470.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.593, allocations: 0.5511 MB / 471.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.5952, allocations: 0.8223 MB / 472 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.5976, allocations: 0.6319 MB / 472.6 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008209/0.5984, allocations: 98.16 kB / 472.7 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.6003, allocations: 1.071 MB / 473.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008705/0.6012, allocations: 192 kB / 473.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007545/0.6087, allocations: 4.61 MB / 478.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6088, allocations: 0 / 478.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.6088, allocations: 0 / 478.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001945/0.609, allocations: 0 / 478.6 MB, free: 3.805 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.01213/0.6212, allocations: 3.27 MB / 481.8 MB, free: 484 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6212, allocations: 8.031 kB / 481.8 MB, free: 476 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004881/0.6261, allocations: 0.6394 MB / 482.5 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005979/0.6322, allocations: 1.766 MB / 484.2 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.6325, allocations: 213.4 kB / 484.4 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/0.6337, allocations: 279.8 kB / 484.7 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02748/0.6612, allocations: 8.344 MB / 493.1 MB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.506e-05/0.6614, allocations: 11.88 kB / 493.1 MB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009292/0.6623, allocations: 123.9 kB / 493.2 MB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002943/0.6653, allocations: 1.134 MB / 494.3 MB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02674/0.6921, allocations: 7.135 MB / 0.4897 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05032/0.7424, allocations: 24.85 MB / 0.514 GB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/0.7562, allocations: 2.288 MB / 0.5162 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01614/0.7724, allocations: 7.161 MB / 0.5232 GB, free: 8.945 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.7725, allocations: 43.22 kB / 0.5232 GB, free: 8.895 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 4.228e-06/0.7725, allocations: 0 / 0.5232 GB, free: 8.895 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.03167/0.8042, allocations: 5.373 MB / 0.5285 GB, free: 3.508 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.8043, allocations: 64.41 kB / 0.5286 GB, free: 3.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005004/0.8093, allocations: 2.139 MB / 0.5306 GB, free: 1.266 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002426/0.8096, allocations: 41.7 kB / 0.5307 GB, free: 1.219 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00223/0.8118, allocations: 2.041 MB / 0.5327 GB, free: 15.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006378/0.8125, allocations: 391.1 kB / 0.5331 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003234/0.8129, allocations: 71.94 kB / 0.5331 GB, free: 14.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003435/0.8132, allocations: 466.1 kB / 0.5336 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002863/0.8161, allocations: 1.014 MB / 0.5346 GB, free: 13.21 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004939/0.8211, allocations: 3.158 MB / 0.5376 GB, free: 8.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004449/0.8256, allocations: 1.716 MB / 0.5393 GB, free: 7.262 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.413e-05/0.8257, allocations: 20 kB / 0.5393 GB, free: 7.242 MB / 458.7 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.011/0.8367, allocations: 4.001 MB / 0.5432 GB, free: 3.234 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.43e-05/0.8369, allocations: 38.5 kB / 0.5433 GB, free: 3.199 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.837, allocations: 84.86 kB / 0.5434 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.8372, allocations: 112 kB / 0.5435 GB, free: 3.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005237/0.8424, allocations: 0.8383 MB / 0.5443 GB, free: 2.168 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002039/0.8427, allocations: 159.4 kB / 0.5444 GB, free: 2.012 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/0.8461, allocations: 183.8 kB / 0.5446 GB, free: 1.832 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000656/0.8468, allocations: 208 kB / 0.5448 GB, free: 1.629 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 349 * Number of states: 0 () * Number of discrete variables: 53 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.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 (452): * Single equations (assignments): 452 * 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.00365/0.8505, allocations: 1.407 MB / 0.5462 GB, free: 212 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005321/0.851, allocations: 209.3 kB / 0.5464 GB, free: 0 / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/0.8549, allocations: 1.402 MB / 0.5478 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.855, allocations: 12 kB / 0.5478 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.855, allocations: 7.984 kB / 0.5478 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.8551, allocations: 7.984 kB / 0.5478 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.8693, allocations: 5.22 MB / 0.5529 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.8693, allocations: 12 kB / 0.5529 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.871, allocations: 220.5 kB / 0.5531 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.019e-05/0.8711, allocations: 20 kB / 0.5531 GB, free: 8.809 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.8712, allocations: 36 kB / 0.5532 GB, free: 8.773 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.638e-05/0.8712, allocations: 35.86 kB / 0.5532 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.24e-05/0.8713, allocations: 19.94 kB / 0.5532 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004367/0.8756, allocations: 2.968 MB / 0.5561 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000837/0.8765, allocations: 306.1 kB / 0.5564 GB, free: 4.902 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005317/0.8771, allocations: 40 kB / 0.5564 GB, free: 4.863 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.8785, allocations: 47.97 kB / 0.5565 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/0.8788, allocations: 116.1 kB / 0.5566 GB, free: 4.699 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.8789, allocations: 48 kB / 0.5566 GB, free: 4.652 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003857/0.8828, allocations: 1.518 MB / 0.5581 GB, free: 3.121 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.8829, allocations: 0 / 0.5581 GB, free: 3.121 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004103/0.887, allocations: 0.5938 MB / 0.5587 GB, free: 2.527 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 121 * 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.000627/0.8876, allocations: 186.8 kB / 0.5589 GB, free: 2.332 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006181/0.8938, allocations: 2.346 MB / 0.5612 GB, free: 4 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/0.8939, allocations: 0 / 0.5612 GB, free: 4 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.8955, allocations: 0.5649 MB / 0.5617 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.8978, allocations: 318.2 kB / 0.562 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.9158, allocations: 7.445 MB / 0.5693 GB, free: 7.465 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005087/0.9209, allocations: 2.513 MB / 0.5717 GB, free: 4.922 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009061/0.9218, allocations: 179.4 kB / 0.5719 GB, free: 4.746 MB / 490.7 MB Notification: Performance of SimCode: time 1.363e-06/0.9219, allocations: 0 / 0.5719 GB, free: 4.746 MB / 490.7 MB Notification: Performance of Templates: time 0.08145/1.003, allocations: 35.14 MB / 0.6062 GB, free: 1.621 MB / 0.5105 GB