Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP,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.|jointUSP.frame_b.r_0.1.|jointUSP.frame_b.r_0.2.|jointUSP.frame_b.r_0.3.|jointUSP.frame_b.f.1.|jointUSP.frame_b.f.2.|jointUSP.frame_b.f.3.|jointUSP.frame_b.t.1.|jointUSP.frame_b.t.2.|jointUSP.frame_b.t.3.|jointUSP.frame_ia.r_0.1.|jointUSP.frame_ia.r_0.2.|jointUSP.frame_ia.r_0.3.|jointUSP.frame_ia.f.1.|jointUSP.frame_ia.f.2.|jointUSP.frame_ia.f.3.|jointUSP.frame_ia.t.1.|jointUSP.frame_ia.t.2.|jointUSP.frame_ia.t.3.|jointUSP.frame_im.r_0.1.|jointUSP.frame_im.r_0.1.|jointUSP.frame_im.r_0.2.|jointUSP.frame_im.r_0.2.|jointUSP.frame_im.r_0.3.|jointUSP.frame_im.r_0.3.|jointUSP.frame_im.f.1.|jointUSP.frame_im.f.1.|jointUSP.frame_im.f.2.|jointUSP.frame_im.f.2.|jointUSP.frame_im.f.3.|jointUSP.frame_im.f.3.|jointUSP.frame_im.t.1.|jointUSP.frame_im.t.1.|jointUSP.frame_im.t.2.|jointUSP.frame_im.t.2.|jointUSP.frame_im.t.3.|jointUSP.frame_im.t.3.|jointUSP.prismatic.frame_b.r_0.1.|jointUSP.prismatic.frame_b.r_0.2.|jointUSP.prismatic.frame_b.r_0.3.|jointUSP.prismatic.frame_b.f.1.|jointUSP.prismatic.frame_b.f.2.|jointUSP.prismatic.frame_b.f.3.|jointUSP.prismatic.frame_b.t.1.|jointUSP.prismatic.frame_b.t.2.|jointUSP.prismatic.frame_b.t.3.|jointUSP.rod1.frame_b.r_0.1.|jointUSP.rod1.frame_b.r_0.2.|jointUSP.rod1.frame_b.r_0.3.|jointUSP.rod1.frame_b.f.1.|jointUSP.rod1.frame_b.f.2.|jointUSP.rod1.frame_b.f.3.|jointUSP.rod1.frame_b.t.1.|jointUSP.rod1.frame_b.t.2.|jointUSP.rod1.frame_b.t.3.|jointUSP.rod1.frame_ia.r_0.1.|jointUSP.rod1.frame_ia.r_0.2.|jointUSP.rod1.frame_ia.r_0.3.|jointUSP.rod1.frame_ia.f.1.|jointUSP.rod1.frame_ia.f.2.|jointUSP.rod1.frame_ia.f.3.|jointUSP.rod1.frame_ia.t.1.|jointUSP.rod1.frame_ia.t.2.|jointUSP.rod1.frame_ia.t.3.|jointUSP.rod2.frame_b.r_0.1.|jointUSP.rod2.frame_b.r_0.2.|jointUSP.rod2.frame_b.r_0.3.|jointUSP.rod2.frame_b.f.1.|jointUSP.rod2.frame_b.f.2.|jointUSP.rod2.frame_b.f.3.|jointUSP.rod2.frame_b.t.1.|jointUSP.rod2.frame_b.t.2.|jointUSP.rod2.frame_b.t.3.|jointUSP.relativePosition.frame_b.r_0.1.|jointUSP.relativePosition.frame_b.r_0.2.|jointUSP.relativePosition.frame_b.r_0.3.|jointUSP.relativePosition.frame_b.f.1.|jointUSP.relativePosition.frame_b.f.2.|jointUSP.relativePosition.frame_b.f.3.|jointUSP.relativePosition.frame_b.t.1.|jointUSP.relativePosition.frame_b.t.2.|jointUSP.relativePosition.frame_b.t.3.|jointUSP.relativePosition.relativePosition.frame_b.r_0.1.|jointUSP.relativePosition.relativePosition.frame_b.r_0.2.|jointUSP.relativePosition.relativePosition.frame_b.r_0.3.|jointUSP.relativePosition.relativePosition.frame_b.f.1.|jointUSP.relativePosition.relativePosition.frame_b.f.2.|jointUSP.relativePosition.relativePosition.frame_b.f.3.|jointUSP.relativePosition.relativePosition.frame_b.t.1.|jointUSP.relativePosition.relativePosition.frame_b.t.2.|jointUSP.relativePosition.relativePosition.frame_b.t.3.|jointUSP.position_b.1..y|jointUSP.position_b.2..y|jointUSP.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.392e-05, allocations: 7.125 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.382, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.05787/0.4399, allocations: 37.57 MB / 400.5 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0244/0.4644, allocations: 7.942 MB / 408.4 MB, free: 144 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008178/0.4726, allocations: 191.7 kB / 408.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006881/0.4795, allocations: 1.936 MB / 410.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01979/0.4993, allocations: 4.916 MB / 415.4 MB, free: 9.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004017/0.5034, allocations: 0.4953 MB / 415.9 MB, free: 8.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003554/0.507, allocations: 0.9333 MB / 416.9 MB, free: 7.648 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009862/0.5169, allocations: 4.749 MB / 421.6 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.5184, allocations: 0.5921 MB / 422.2 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.5204, allocations: 0.8608 MB / 423.1 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.522, allocations: 0.5032 MB / 423.6 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00063/0.5227, allocations: 96 kB / 423.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001887/0.5246, allocations: 1.2 MB / 424.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008863/0.5255, allocations: 216 kB / 425.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00783/0.5334, allocations: 4.909 MB / 430 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.689e-06/0.5334, allocations: 4 kB / 430 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.646e-06/0.5335, allocations: 0 / 430 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002619/0.5337, allocations: 0 / 430 MB, free: 10.45 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.0124/0.5461, allocations: 3.394 MB / 433.4 MB, free: 6.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.5462, allocations: 12.03 kB / 433.4 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/0.5509, allocations: 0.5801 MB / 434 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005703/0.5566, allocations: 1.77 MB / 435.7 MB, free: 4.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.557, allocations: 238.1 kB / 436 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/0.5583, allocations: 319.8 kB / 436.3 MB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02982/0.5882, allocations: 8.78 MB / 445.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.5883, allocations: 15.81 kB / 445.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007585/0.5891, allocations: 143.8 kB / 445.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005025/0.5941, allocations: 1.553 MB / 446.8 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02578/0.62, allocations: 6.823 MB / 453.6 MB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06812/0.6881, allocations: 26.35 MB / 479.9 MB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/0.7037, allocations: 1.957 MB / 481.9 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01633/0.72, allocations: 6.353 MB / 488.3 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.795e-05/0.7202, allocations: 55.08 kB / 488.3 MB, free: 14.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 3.837e-06/0.7202, allocations: 0 / 488.3 MB, free: 14.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.02878/0.749, allocations: 6.214 MB / 494.5 MB, free: 8.094 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.938e-05/0.7491, allocations: 149.5 kB / 494.7 MB, free: 7.914 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005032/0.7542, allocations: 2.191 MB / 496.9 MB, free: 5.703 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.7544, allocations: 41.7 kB / 496.9 MB, free: 5.656 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002464/0.7569, allocations: 2.395 MB / 499.3 MB, free: 3.227 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005813/0.7575, allocations: 383.2 kB / 499.7 MB, free: 2.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.7578, allocations: 76 kB / 499.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003246/0.7582, allocations: 466 kB / 0.4885 GB, free: 2.312 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002509/0.7607, allocations: 0.9364 MB / 0.4894 GB, free: 1.375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3569/1.118, allocations: 3.222 MB / 0.4925 GB, free: 119.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005141/1.123, allocations: 1.679 MB / 0.4942 GB, free: 119.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/1.123, allocations: 23.28 kB / 0.4942 GB, free: 119.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01178/1.135, allocations: 4.062 MB / 0.4982 GB, free: 117.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.704e-05/1.135, allocations: 42.12 kB / 0.4982 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001284/1.135, allocations: 82.34 kB / 0.4983 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/1.135, allocations: 122.3 kB / 0.4984 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005064/1.14, allocations: 0.884 MB / 0.4993 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001486/1.141, allocations: 162.5 kB / 0.4994 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003275/1.144, allocations: 171.1 kB / 0.4996 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005102/1.144, allocations: 224.7 kB / 0.4998 GB, free: 117.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (479): * Single equations (assignments): 479 * 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.003277/1.148, allocations: 1.55 MB / 0.5013 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/1.148, allocations: 225 kB / 0.5015 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/1.151, allocations: 1.128 MB / 0.5026 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/1.151, allocations: 11.12 kB / 0.5026 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.151, allocations: 4 kB / 0.5026 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/1.151, allocations: 7.562 kB / 0.5026 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/1.164, allocations: 5.94 MB / 0.5084 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/1.164, allocations: 16 kB / 0.5085 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.165, allocations: 217.2 kB / 0.5087 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.751e-05/1.165, allocations: 28.78 kB / 0.5087 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-05/1.165, allocations: 46.25 kB / 0.5087 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.663e-05/1.165, allocations: 37.89 kB / 0.5088 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-05/1.165, allocations: 25.84 kB / 0.5088 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/1.168, allocations: 3.279 MB / 0.512 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/1.169, allocations: 320.3 kB / 0.5123 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004288/1.169, allocations: 42 kB / 0.5123 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.171, allocations: 40 kB / 0.5124 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/1.171, allocations: 127 kB / 0.5125 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/1.171, allocations: 52 kB / 0.5126 GB, free: 108.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002962/1.174, allocations: 1.607 MB / 0.5141 GB, free: 107.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.11e-07/1.174, allocations: 0 / 0.5141 GB, free: 107.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004196/1.178, allocations: 0.6328 MB / 0.5147 GB, free: 106.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 119 * 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.0004224/1.179, allocations: 190.8 kB / 0.5149 GB, free: 106.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00526/1.184, allocations: 2.264 MB / 0.5171 GB, free: 104.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.866e-05/1.184, allocations: 0 / 0.5171 GB, free: 104.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.185, allocations: 0.5195 MB / 0.5176 GB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/1.187, allocations: 298.3 kB / 0.5179 GB, free: 103.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.205, allocations: 8.087 MB / 0.5258 GB, free: 95.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004521/1.209, allocations: 2.809 MB / 0.5286 GB, free: 92.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00445/1.214, allocations: 0.9821 MB / 0.5295 GB, free: 91.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/1.214, allocations: 167.4 kB / 0.5297 GB, free: 91.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/1.214, allocations: 0 / 0.5297 GB, free: 91.23 MB / 426.7 MB Notification: Performance of Templates: time 0.06061/1.275, allocations: 18.57 MB / 0.5478 GB, free: 72.77 MB / 426.7 MB