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_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.451/2.451, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.094e-05, allocations: 7.984 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.3791/0.5085, allocations: 37.8 MB / 448.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02671/0.5353, allocations: 8.277 MB / 457 MB, free: 2.637 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01125/0.5466, allocations: 192.2 kB / 457.2 MB, free: 2.613 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008558/0.5552, allocations: 1.948 MB / 459.2 MB, free: 1.973 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0232/0.5784, allocations: 5.201 MB / 464.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.5824, allocations: 464.3 kB / 464.8 MB, free: 14.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003219/0.5857, allocations: 0.7957 MB / 465.6 MB, free: 13.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009912/0.5956, allocations: 4.656 MB / 470.3 MB, free: 11.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.597, allocations: 0.5191 MB / 470.8 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/0.5989, allocations: 0.7838 MB / 471.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.6007, allocations: 0.5259 MB / 472.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006271/0.6014, allocations: 89.88 kB / 472.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.6033, allocations: 1.073 MB / 473.2 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008528/0.6042, allocations: 188 kB / 473.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007368/0.6116, allocations: 4.504 MB / 477.9 MB, free: 4.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6117, allocations: 0 / 477.9 MB, free: 4.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.6117, allocations: 0 / 477.9 MB, free: 4.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001713/0.6119, allocations: 0 / 477.9 MB, free: 4.477 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.01055/0.6224, allocations: 3.083 MB / 481 MB, free: 1.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6225, allocations: 8.031 kB / 481 MB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0045/0.627, allocations: 0.6355 MB / 481.7 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005558/0.6326, allocations: 1.707 MB / 483.4 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.633, allocations: 209.3 kB / 483.6 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/0.6342, allocations: 275.8 kB / 483.8 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02499/0.6592, allocations: 7.751 MB / 491.6 MB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.523e-05/0.6593, allocations: 11.88 kB / 491.6 MB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005178/0.6599, allocations: 127.9 kB / 491.7 MB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002822/0.6627, allocations: 1.099 MB / 492.8 MB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02433/0.6871, allocations: 6.323 MB / 499.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04685/0.734, allocations: 22.97 MB / 0.5099 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01615/0.7502, allocations: 1.878 MB / 0.5117 GB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.019/0.7692, allocations: 5.847 MB / 0.5174 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.48e-05/0.7694, allocations: 39.17 kB / 0.5175 GB, free: 14.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=75): time 5.32e-06/0.7694, allocations: 3.938 kB / 0.5175 GB, free: 14.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.03997/0.8094, allocations: 4.399 MB / 0.5218 GB, free: 10.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.8096, allocations: 64.41 kB / 0.5218 GB, free: 10.44 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007154/0.8167, allocations: 2.018 MB / 0.5238 GB, free: 8.395 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000255/0.8171, allocations: 41.7 kB / 0.5238 GB, free: 8.348 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003041/0.8201, allocations: 2.033 MB / 0.5258 GB, free: 6.285 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007767/0.821, allocations: 371.3 kB / 0.5262 GB, free: 5.918 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.8214, allocations: 68 kB / 0.5262 GB, free: 5.852 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004988/0.8219, allocations: 450 kB / 0.5267 GB, free: 5.402 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003983/0.8259, allocations: 0.8811 MB / 0.5275 GB, free: 4.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006739/0.8327, allocations: 2.938 MB / 0.5304 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006296/0.8391, allocations: 1.556 MB / 0.5319 GB, free: 14.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.341e-05/0.8392, allocations: 20 kB / 0.5319 GB, free: 14.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01626/0.8555, allocations: 3.661 MB / 0.5355 GB, free: 11.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.8557, allocations: 36.94 kB / 0.5355 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/0.8559, allocations: 72 kB / 0.5356 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.8562, allocations: 108 kB / 0.5357 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007108/0.8633, allocations: 0.7953 MB / 0.5365 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002779/0.8637, allocations: 155.3 kB / 0.5366 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006612/0.8703, allocations: 143.9 kB / 0.5368 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/0.8717, allocations: 208 kB / 0.537 GB, free: 9.797 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 50 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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.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 (435): * Single equations (assignments): 435 * 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.00651/0.8782, allocations: 1.391 MB / 0.5383 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00079/0.8791, allocations: 201.4 kB / 0.5385 GB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006261/0.8854, allocations: 1.136 MB / 0.5396 GB, free: 7.051 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/0.8855, allocations: 8 kB / 0.5396 GB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.8855, allocations: 7.938 kB / 0.5397 GB, free: 7.035 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.663e-05/0.8855, allocations: 11.94 kB / 0.5397 GB, free: 7.023 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.8986, allocations: 5.127 MB / 0.5447 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.772e-05/0.8987, allocations: 20.06 kB / 0.5447 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/0.9001, allocations: 223.5 kB / 0.5449 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.552e-05/0.9001, allocations: 24 kB / 0.5449 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-05/0.9002, allocations: 40 kB / 0.545 GB, free: 1.289 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-05/0.9003, allocations: 31.92 kB / 0.545 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.339e-05/0.9003, allocations: 23.88 kB / 0.545 GB, free: 1.234 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00409/0.9044, allocations: 3.024 MB / 0.548 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006983/0.9052, allocations: 294.3 kB / 0.5483 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004395/0.9056, allocations: 47.94 kB / 0.5483 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.9068, allocations: 40 kB / 0.5483 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.907, allocations: 120 kB / 0.5485 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.9071, allocations: 55.94 kB / 0.5485 GB, free: 13.01 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003378/0.9105, allocations: 1.454 MB / 0.5499 GB, free: 11.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.9106, allocations: 0 / 0.5499 GB, free: 11.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003889/0.9145, allocations: 0.5703 MB / 0.5505 GB, free: 10.97 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 117 * 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.0004943/0.915, allocations: 186.7 kB / 0.5507 GB, free: 10.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005434/0.9205, allocations: 2.106 MB / 0.5527 GB, free: 8.691 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-05/0.9205, allocations: 4.438 kB / 0.5527 GB, free: 8.688 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.922, allocations: 0.513 MB / 0.5532 GB, free: 8.176 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.9241, allocations: 305.8 kB / 0.5535 GB, free: 7.875 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/0.941, allocations: 7.407 MB / 0.5607 GB, free: 220 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004462/0.9455, allocations: 2.523 MB / 0.5632 GB, free: 13.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000745/0.9463, allocations: 175.4 kB / 0.5634 GB, free: 13.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/0.9463, allocations: 0 / 0.5634 GB, free: 13.48 MB / 490.7 MB Notification: Performance of Templates: time 0.07771/1.024, allocations: 33.63 MB / 0.5962 GB, free: 11.86 MB / 0.5105 GB