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_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.506/2.506, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.568e-05, allocations: 4 kB / 323.4 MB, free: 4.301 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3224, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.4886, allocations: 108.1 MB / 490.3 MB, free: 372 kB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.4889, allocations: 75.95 kB / 490.4 MB, free: 296 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5522/1.041, allocations: 76.48 MB / 0.5536 GB, free: 107.9 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.46e-06/1.041, allocations: 0 / 0.5536 GB, free: 107.9 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001629/1.041, allocations: 73.94 kB / 0.5537 GB, free: 107.8 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01189/1.053, allocations: 3.807 MB / 0.5574 GB, free: 106.4 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.053, allocations: 8 kB / 0.5574 GB, free: 106.4 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004805/1.058, allocations: 0.6747 MB / 0.5581 GB, free: 106.1 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006375/1.065, allocations: 2.221 MB / 0.5602 GB, free: 105.6 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003261/1.065, allocations: 289.2 kB / 0.5605 GB, free: 105.6 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/1.066, allocations: 397.7 kB / 0.5609 GB, free: 105.6 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/1.091, allocations: 8.792 MB / 0.5695 GB, free: 102.5 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/1.091, allocations: 15.72 kB / 0.5695 GB, free: 102.5 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008366/1.092, allocations: 170.9 kB / 0.5696 GB, free: 102.4 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001714/1.093, allocations: 0.846 MB / 0.5705 GB, free: 101.8 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01894/1.112, allocations: 7.069 MB / 0.5774 GB, free: 95.7 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04581/1.158, allocations: 29.13 MB / 0.6058 GB, free: 66.36 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009477/1.168, allocations: 2.257 MB / 0.608 GB, free: 64.06 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/1.17, allocations: 1.056 MB / 0.6091 GB, free: 63 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/1.181, allocations: 7.596 MB / 0.6165 GB, free: 54.87 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/1.181, allocations: 43.34 kB / 0.6165 GB, free: 54.82 MB / 458.8 MB Notification: Performance of pre-optimization done (n=81): time 4.213e-06/1.181, allocations: 0 / 0.6165 GB, free: 54.82 MB / 458.8 MB Notification: Performance of matching and sorting (n=97): time 0.02466/1.206, allocations: 6.495 MB / 0.6229 GB, free: 48.28 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.206, allocations: 145.4 kB / 0.623 GB, free: 48.11 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003979/1.21, allocations: 2.33 MB / 0.6253 GB, free: 45.76 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/1.21, allocations: 45.64 kB / 0.6253 GB, free: 45.71 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/1.212, allocations: 2.426 MB / 0.6277 GB, free: 43.28 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/1.212, allocations: 395.4 kB / 0.6281 GB, free: 42.89 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/1.212, allocations: 76 kB / 0.6281 GB, free: 42.82 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002203/1.213, allocations: 470.3 kB / 0.6286 GB, free: 42.36 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/1.215, allocations: 1.046 MB / 0.6296 GB, free: 41.31 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003269/1.218, allocations: 3.418 MB / 0.6329 GB, free: 36.7 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003398/1.221, allocations: 1.85 MB / 0.6348 GB, free: 34.84 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.793e-05/1.222, allocations: 24 kB / 0.6348 GB, free: 34.82 MB / 458.8 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.009304/1.231, allocations: 4.135 MB / 0.6388 GB, free: 30.68 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.81e-05/1.231, allocations: 40 kB / 0.6389 GB, free: 30.64 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.549e-05/1.231, allocations: 88 kB / 0.6389 GB, free: 30.55 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/1.231, allocations: 124 kB / 0.6391 GB, free: 30.43 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/1.235, allocations: 0.9436 MB / 0.64 GB, free: 29.49 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001358/1.235, allocations: 175.2 kB / 0.6401 GB, free: 29.32 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/1.239, allocations: 203.8 kB / 0.6403 GB, free: 29.12 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006589/1.24, allocations: 236 kB / 0.6406 GB, free: 28.89 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 43 (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 (500): * Single equations (assignments): 500 * 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.0006722/1.24, allocations: 426.9 kB / 0.641 GB, free: 28.46 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/1.241, allocations: 237.1 kB / 0.6412 GB, free: 28.23 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/1.244, allocations: 1.356 MB / 0.6425 GB, free: 26.86 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.244, allocations: 8 kB / 0.6425 GB, free: 26.85 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.565e-06/1.244, allocations: 4 kB / 0.6425 GB, free: 26.85 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/1.244, allocations: 11.92 kB / 0.6425 GB, free: 26.84 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/1.256, allocations: 6.109 MB / 0.6485 GB, free: 20.42 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/1.256, allocations: 20 kB / 0.6485 GB, free: 20.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.257, allocations: 247.5 kB / 0.6488 GB, free: 20.16 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.16e-05/1.257, allocations: 24 kB / 0.6488 GB, free: 20.14 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-05/1.257, allocations: 44 kB / 0.6488 GB, free: 20.09 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-05/1.257, allocations: 35.86 kB / 0.6489 GB, free: 20.06 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.799e-05/1.257, allocations: 27.88 kB / 0.6489 GB, free: 20.03 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/1.26, allocations: 3.569 MB / 0.6524 GB, free: 15.93 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007283/1.261, allocations: 333.8 kB / 0.6527 GB, free: 15.58 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/1.261, allocations: 47.98 kB / 0.6527 GB, free: 15.54 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.262, allocations: 51.97 kB / 0.6528 GB, free: 15.48 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/1.262, allocations: 143.9 kB / 0.6529 GB, free: 15.34 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.262, allocations: 52 kB / 0.653 GB, free: 15.29 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003156/1.266, allocations: 1.657 MB / 0.6546 GB, free: 13.62 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.163e-06/1.266, allocations: 0 / 0.6546 GB, free: 13.62 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004505/1.27, allocations: 0.6796 MB / 0.6553 GB, free: 12.95 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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.0005167/1.271, allocations: 202.1 kB / 0.6554 GB, free: 12.74 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.004581/1.275, allocations: 2.367 MB / 0.6578 GB, free: 10.4 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.275, allocations: 384 / 0.6578 GB, free: 10.4 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/1.277, allocations: 0.5751 MB / 0.6583 GB, free: 9.828 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/1.278, allocations: 305.3 kB / 0.6586 GB, free: 9.531 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/1.29, allocations: 5.522 MB / 0.664 GB, free: 3.73 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004673/1.295, allocations: 2.813 MB / 0.6668 GB, free: 0.8984 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004114/1.299, allocations: 1.064 MB / 0.6678 GB, free: 15.83 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/1.3, allocations: 171.4 kB / 0.668 GB, free: 15.66 MB / 474.8 MB Notification: Performance of SimCode: time 1.566e-06/1.3, allocations: 0 / 0.668 GB, free: 15.66 MB / 474.8 MB Notification: Performance of Templates: time 0.06789/1.368, allocations: 20.09 MB / 0.6876 GB, free: 11.77 MB / 490.8 MB