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.2_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.564e-05, allocations: 4 kB / 308 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4139, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.06015/0.4741, allocations: 37.61 MB / 400.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02558/0.4997, allocations: 8.08 MB / 408.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008608/0.5084, allocations: 187.6 kB / 408.8 MB, free: 15.76 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009818/0.5182, allocations: 1.933 MB / 410.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02884/0.5472, allocations: 4.908 MB / 415.6 MB, free: 8.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005277/0.5525, allocations: 0.6278 MB / 416.2 MB, free: 8.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004509/0.5571, allocations: 0.9608 MB / 417.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0154/0.5725, allocations: 4.773 MB / 422 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.5752, allocations: 0.6155 MB / 422.6 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/0.579, allocations: 0.8958 MB / 423.5 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/0.5826, allocations: 0.6593 MB / 424.1 MB, free: 316 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.584, allocations: 104 kB / 424.2 MB, free: 212 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003304/0.5874, allocations: 1.204 MB / 425.4 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.589, allocations: 216 kB / 425.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.6004, allocations: 5.038 MB / 430.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6005, allocations: 0 / 430.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.6005, allocations: 0 / 430.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002476/0.6008, allocations: 0 / 430.7 MB, free: 9.738 MB / 362.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.01628/0.6171, allocations: 3.629 MB / 434.3 MB, free: 6.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6171, allocations: 11.97 kB / 434.3 MB, free: 6.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004862/0.622, allocations: 0.5918 MB / 434.9 MB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006685/0.6287, allocations: 1.809 MB / 436.7 MB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.6291, allocations: 238.1 kB / 437 MB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/0.6303, allocations: 315.9 kB / 437.3 MB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03106/0.6614, allocations: 9.371 MB / 446.6 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.6616, allocations: 15.88 kB / 446.7 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006802/0.6623, allocations: 139.9 kB / 446.8 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005565/0.6679, allocations: 1.588 MB / 448.4 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06332/0.7312, allocations: 7.63 MB / 456 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06757/0.7989, allocations: 27.95 MB / 484 MB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02146/0.8204, allocations: 2.363 MB / 486.3 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0263/0.8468, allocations: 7.669 MB / 494 MB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.933e-05/0.8469, allocations: 47.16 kB / 494 MB, free: 8.539 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 5.951e-06/0.8469, allocations: 0 / 494 MB, free: 8.539 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.05469/0.9016, allocations: 7.16 MB / 0.4895 GB, free: 1.332 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.9018, allocations: 145.5 kB / 0.4896 GB, free: 1.156 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3463/1.248, allocations: 2.331 MB / 0.4919 GB, free: 123.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002399/1.248, allocations: 41.8 kB / 0.4919 GB, free: 123.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002297/1.251, allocations: 2.412 MB / 0.4943 GB, free: 121.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005636/1.251, allocations: 393.5 kB / 0.4946 GB, free: 121.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/1.252, allocations: 80.81 kB / 0.4947 GB, free: 121.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002519/1.252, allocations: 466.5 kB / 0.4952 GB, free: 121.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003155/1.255, allocations: 1.071 MB / 0.4962 GB, free: 120.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004842/1.26, allocations: 3.441 MB / 0.4996 GB, free: 117.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004283/1.264, allocations: 1.845 MB / 0.5014 GB, free: 116.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/1.264, allocations: 23.69 kB / 0.5014 GB, free: 116.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.01167/1.276, allocations: 4.403 MB / 0.5057 GB, free: 114.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.034e-05/1.276, allocations: 46.48 kB / 0.5057 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/1.276, allocations: 87.19 kB / 0.5058 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/1.277, allocations: 128.7 kB / 0.5059 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005676/1.282, allocations: 0.9402 MB / 0.5069 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001846/1.283, allocations: 164.4 kB / 0.507 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004167/1.287, allocations: 189.1 kB / 0.5072 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007384/1.287, allocations: 238.1 kB / 0.5074 GB, free: 114.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 387 * 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 (496): * Single equations (assignments): 496 * 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.003869/1.291, allocations: 1.566 MB / 0.509 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/1.292, allocations: 229.4 kB / 0.5092 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003407/1.295, allocations: 1.384 MB / 0.5105 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/1.296, allocations: 9.375 kB / 0.5105 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.296, allocations: 4 kB / 0.5105 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/1.296, allocations: 3.938 kB / 0.5105 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/1.311, allocations: 6.017 MB / 0.5164 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.793e-05/1.311, allocations: 12 kB / 0.5164 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.312, allocations: 224.5 kB / 0.5166 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-05/1.313, allocations: 24 kB / 0.5167 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.313, allocations: 47.94 kB / 0.5167 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.529e-05/1.313, allocations: 27.94 kB / 0.5167 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-05/1.313, allocations: 23.88 kB / 0.5168 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/1.316, allocations: 3.236 MB / 0.5199 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000753/1.317, allocations: 322 kB / 0.5202 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004659/1.317, allocations: 51.86 kB / 0.5203 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.319, allocations: 44.55 kB / 0.5203 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/1.319, allocations: 124.1 kB / 0.5204 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.295e-05/1.319, allocations: 49.59 kB / 0.5205 GB, free: 101.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003353/1.322, allocations: 1.66 MB / 0.5221 GB, free: 100.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.322, allocations: 4 kB / 0.5221 GB, free: 100.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00459/1.327, allocations: 0.6634 MB / 0.5228 GB, free: 99.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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.0005843/1.328, allocations: 197.2 kB / 0.5229 GB, free: 99.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00576/1.333, allocations: 2.488 MB / 0.5254 GB, free: 96.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/1.334, allocations: 0 / 0.5254 GB, free: 96.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/1.335, allocations: 0.5655 MB / 0.5259 GB, free: 96.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.337, allocations: 314.4 kB / 0.5262 GB, free: 95.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.354, allocations: 8.107 MB / 0.5341 GB, free: 87.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005018/1.359, allocations: 2.8 MB / 0.5369 GB, free: 84.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004824/1.364, allocations: 1.032 MB / 0.5379 GB, free: 83.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007661/1.364, allocations: 175.4 kB / 0.5381 GB, free: 83.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.402e-06/1.364, allocations: 4 kB / 0.5381 GB, free: 83.5 MB / 426.7 MB Notification: Performance of Templates: time 0.0662/1.431, allocations: 20.36 MB / 0.5579 GB, free: 63.25 MB / 426.7 MB