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_cpp_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.201e-05/4.2e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4398, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.06083/0.5007, allocations: 37.6 MB / 400.5 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02561/0.5263, allocations: 8.084 MB / 408.6 MB, free: 24 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009299/0.5357, allocations: 187.7 kB / 408.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007433/0.5432, allocations: 1.933 MB / 410.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02024/0.5635, allocations: 4.908 MB / 415.6 MB, free: 8.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.5677, allocations: 0.62 MB / 416.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003424/0.5712, allocations: 0.9685 MB / 417.2 MB, free: 7.387 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/0.5819, allocations: 4.765 MB / 421.9 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.5839, allocations: 0.6194 MB / 422.6 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.5863, allocations: 0.8997 MB / 423.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.5888, allocations: 0.6554 MB / 424.1 MB, free: 400 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.5899, allocations: 104 kB / 424.2 MB, free: 296 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002323/0.5922, allocations: 1.204 MB / 425.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.5934, allocations: 216 kB / 425.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008645/0.602, allocations: 5.03 MB / 430.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.6021, allocations: 0 / 430.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.6021, allocations: 3.938 kB / 430.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002319/0.6024, allocations: 0 / 430.7 MB, free: 9.824 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.0141/0.6165, allocations: 3.636 MB / 434.3 MB, free: 6.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.6165, allocations: 8.031 kB / 434.3 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004928/0.6215, allocations: 0.5879 MB / 434.9 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00629/0.6278, allocations: 1.805 MB / 436.7 MB, free: 3.668 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/0.6282, allocations: 242.1 kB / 436.9 MB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/0.6296, allocations: 311.9 kB / 437.2 MB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03146/0.6611, allocations: 9.379 MB / 446.6 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/0.6613, allocations: 15.88 kB / 446.6 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008071/0.6621, allocations: 143.8 kB / 446.8 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0049/0.667, allocations: 1.584 MB / 448.4 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03003/0.6971, allocations: 7.634 MB / 456 MB, free: 0 / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1232/0.8204, allocations: 27.95 MB / 483.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0205/0.841, allocations: 2.355 MB / 486.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0169/0.8579, allocations: 7.673 MB / 494 MB, free: 8.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.8581, allocations: 47.16 kB / 494 MB, free: 8.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 3.948e-06/0.8581, allocations: 4 kB / 494 MB, free: 8.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.03408/0.8922, allocations: 7.164 MB / 0.4894 GB, free: 1.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.8923, allocations: 141.5 kB / 0.4896 GB, free: 1.238 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3135/1.206, allocations: 2.328 MB / 0.4918 GB, free: 123.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002539/1.206, allocations: 40.73 kB / 0.4919 GB, free: 123.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00235/1.209, allocations: 2.387 MB / 0.4942 GB, free: 121.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005691/1.209, allocations: 393.6 kB / 0.4946 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/1.209, allocations: 83.44 kB / 0.4947 GB, free: 121.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002586/1.21, allocations: 473.4 kB / 0.4951 GB, free: 121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/1.212, allocations: 1.071 MB / 0.4962 GB, free: 120.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00431/1.217, allocations: 3.44 MB / 0.4995 GB, free: 117.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/1.221, allocations: 1.841 MB / 0.5013 GB, free: 116.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-05/1.221, allocations: 23.59 kB / 0.5013 GB, free: 116.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.01063/1.232, allocations: 4.326 MB / 0.5056 GB, free: 114.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.329e-05/1.232, allocations: 44.59 kB / 0.5056 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/1.232, allocations: 85.62 kB / 0.5057 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/1.232, allocations: 131 kB / 0.5058 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005373/1.238, allocations: 0.9407 MB / 0.5067 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001524/1.238, allocations: 166 kB / 0.5069 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/1.242, allocations: 203 kB / 0.5071 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005489/1.242, allocations: 231.3 kB / 0.5073 GB, free: 114.4 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.003395/1.246, allocations: 1.563 MB / 0.5088 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000557/1.246, allocations: 227.7 kB / 0.5091 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/1.249, allocations: 1.385 MB / 0.5104 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/1.249, allocations: 9.375 kB / 0.5104 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.249, allocations: 4 kB / 0.5104 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/1.249, allocations: 3.844 kB / 0.5104 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/1.262, allocations: 6.016 MB / 0.5163 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/1.262, allocations: 16 kB / 0.5163 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/1.264, allocations: 219.6 kB / 0.5165 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.593e-05/1.264, allocations: 24.06 kB / 0.5165 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.882e-05/1.264, allocations: 47.94 kB / 0.5166 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.447e-05/1.264, allocations: 31.88 kB / 0.5166 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/1.264, allocations: 19.94 kB / 0.5166 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/1.267, allocations: 3.241 MB / 0.5198 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006985/1.268, allocations: 329.9 kB / 0.5201 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004473/1.268, allocations: 39.98 kB / 0.5202 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.27, allocations: 43.98 kB / 0.5202 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/1.27, allocations: 124.1 kB / 0.5203 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-05/1.27, allocations: 48.81 kB / 0.5204 GB, free: 101.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003135/1.273, allocations: 1.66 MB / 0.522 GB, free: 100.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.273, allocations: 1.781 kB / 0.522 GB, free: 100.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004145/1.277, allocations: 0.6712 MB / 0.5226 GB, free: 99.61 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.0004525/1.278, allocations: 196.4 kB / 0.5228 GB, free: 99.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005343/1.283, allocations: 2.489 MB / 0.5253 GB, free: 96.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/1.283, allocations: 0 / 0.5253 GB, free: 96.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/1.284, allocations: 0.5726 MB / 0.5258 GB, free: 96.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/1.286, allocations: 305.9 kB / 0.5261 GB, free: 96.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/1.302, allocations: 8.496 MB / 0.5344 GB, free: 87.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003872/1.306, allocations: 2.8 MB / 0.5371 GB, free: 84.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009143/1.307, allocations: 199.4 kB / 0.5373 GB, free: 84.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/1.307, allocations: 0 / 0.5373 GB, free: 84.32 MB / 426.7 MB Notification: Performance of Templates: time 0.07652/1.384, allocations: 39.03 MB / 0.5755 GB, free: 45.27 MB / 426.7 MB