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.1_cpp_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.025/2.025, allocations: 209.3 MB / 221.9 MB, free: 1.859 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.6e-05, allocations: 4 kB / 273.1 MB, free: 0.7188 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.08825, allocations: 48.71 MB / 321.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5076/0.5959, allocations: 94.36 MB / 416.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/0.5963, allocations: 79.03 kB / 416.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2947/0.891, allocations: 75.71 MB / 491.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.176e-06/0.8911, allocations: 4 kB / 491.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001771/0.8913, allocations: 68 kB / 492 MB, free: 15.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01257/0.9039, allocations: 3.796 MB / 495.8 MB, free: 11.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9039, allocations: 8.031 kB / 495.8 MB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004833/0.9088, allocations: 0.6815 MB / 496.5 MB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006992/0.9158, allocations: 2.208 MB / 498.7 MB, free: 8.398 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003972/0.9162, allocations: 299.7 kB / 499 MB, free: 8.105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.9178, allocations: 383.8 kB / 499.3 MB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2583/1.176, allocations: 8.769 MB / 0.4962 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/1.176, allocations: 17.97 kB / 0.4962 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001345/1.178, allocations: 172.2 kB / 0.4964 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002413/1.18, allocations: 0.8432 MB / 0.4972 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02128/1.201, allocations: 7.064 MB / 0.5041 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.048/1.249, allocations: 29.01 MB / 0.5324 GB, free: 88.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/1.26, allocations: 2.258 MB / 0.5346 GB, free: 87.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/1.262, allocations: 1.049 MB / 0.5357 GB, free: 87.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/1.274, allocations: 7.6 MB / 0.5431 GB, free: 82.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.274, allocations: 46.81 kB / 0.5431 GB, free: 82.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 5.179e-06/1.274, allocations: 3.875 kB / 0.5431 GB, free: 82.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02537/1.3, allocations: 6.477 MB / 0.5495 GB, free: 79.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/1.3, allocations: 145.8 kB / 0.5496 GB, free: 79.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003993/1.304, allocations: 2.314 MB / 0.5519 GB, free: 78.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/1.304, allocations: 44.58 kB / 0.5519 GB, free: 78.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00138/1.305, allocations: 2.382 MB / 0.5542 GB, free: 76.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000389/1.306, allocations: 398.4 kB / 0.5546 GB, free: 76.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/1.306, allocations: 74.88 kB / 0.5547 GB, free: 76.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002316/1.306, allocations: 475.8 kB / 0.5551 GB, free: 75.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/1.308, allocations: 1.039 MB / 0.5562 GB, free: 75.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003243/1.312, allocations: 3.399 MB / 0.5595 GB, free: 71.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/1.315, allocations: 1.834 MB / 0.5613 GB, free: 71.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.996e-05/1.315, allocations: 22.28 kB / 0.5613 GB, free: 71.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.009399/1.324, allocations: 4.039 MB / 0.5652 GB, free: 69.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.472e-05/1.325, allocations: 42.78 kB / 0.5653 GB, free: 69.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.12e-05/1.325, allocations: 87.08 kB / 0.5653 GB, free: 69.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001607/1.325, allocations: 125.6 kB / 0.5655 GB, free: 69.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004283/1.329, allocations: 0.9465 MB / 0.5664 GB, free: 69.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000143/1.329, allocations: 170.2 kB / 0.5666 GB, free: 69.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/1.333, allocations: 197.8 kB / 0.5667 GB, free: 69.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006511/1.334, allocations: 232.9 kB / 0.567 GB, free: 69.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 40 (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.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 (497): * Single equations (assignments): 497 * 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.0006593/1.334, allocations: 428.6 kB / 0.5674 GB, free: 69.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/1.335, allocations: 226.6 kB / 0.5676 GB, free: 69.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/1.338, allocations: 1.354 MB / 0.5689 GB, free: 68.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/1.338, allocations: 10.62 kB / 0.5689 GB, free: 68.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.45e-06/1.338, allocations: 3.969 kB / 0.5689 GB, free: 68.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/1.338, allocations: 10.23 kB / 0.5689 GB, free: 68.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/1.35, allocations: 6.107 MB / 0.5749 GB, free: 65.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/1.35, allocations: 17.69 kB / 0.5749 GB, free: 65.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.351, allocations: 242.8 kB / 0.5751 GB, free: 65.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.538e-05/1.351, allocations: 33.14 kB / 0.5752 GB, free: 65.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-05/1.351, allocations: 44.22 kB / 0.5752 GB, free: 65.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.719e-05/1.351, allocations: 33.86 kB / 0.5753 GB, free: 65.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/1.351, allocations: 25.69 kB / 0.5753 GB, free: 65.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/1.354, allocations: 3.557 MB / 0.5788 GB, free: 62.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007475/1.355, allocations: 330.3 kB / 0.5791 GB, free: 61.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/1.355, allocations: 46.42 kB / 0.5791 GB, free: 61.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.357, allocations: 50.98 kB / 0.5792 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/1.357, allocations: 130.9 kB / 0.5793 GB, free: 61.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.357, allocations: 53.91 kB / 0.5793 GB, free: 61.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003094/1.36, allocations: 1.644 MB / 0.5809 GB, free: 61.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.061e-06/1.36, allocations: 0 / 0.5809 GB, free: 61.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004587/1.365, allocations: 0.6878 MB / 0.5816 GB, free: 61.16 MB / 426.7 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.0004888/1.365, allocations: 201.9 kB / 0.5818 GB, free: 61.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004672/1.37, allocations: 2.354 MB / 0.5841 GB, free: 59.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/1.37, allocations: 384 / 0.5841 GB, free: 59.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/1.371, allocations: 0.5803 MB / 0.5847 GB, free: 59.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/1.373, allocations: 310.2 kB / 0.585 GB, free: 59.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/1.387, allocations: 5.887 MB / 0.5907 GB, free: 53.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008032/1.395, allocations: 2.798 MB / 0.5934 GB, free: 51.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.397, allocations: 199 kB / 0.5936 GB, free: 51.22 MB / 426.7 MB Notification: Performance of SimCode: time 2.698e-06/1.397, allocations: 0 / 0.5936 GB, free: 51.22 MB / 426.7 MB Notification: Performance of Templates: time 0.09408/1.491, allocations: 38.51 MB / 0.6312 GB, free: 17.47 MB / 426.7 MB