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_cpp_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.519/2.519, allocations: 234.9 MB / 250.1 MB, free: 11 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.059e-05, allocations: 4 kB / 308 MB, free: 0.957 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4228, allocations: 54.86 MB / 362.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.08485/0.5077, allocations: 37.57 MB / 400.4 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03048/0.5382, allocations: 7.946 MB / 408.4 MB, free: 14.24 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01041/0.5487, allocations: 187.6 kB / 408.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008806/0.5576, allocations: 1.933 MB / 410.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02548/0.5831, allocations: 4.912 MB / 415.4 MB, free: 7.191 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.588, allocations: 0.4992 MB / 415.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004571/0.5926, allocations: 0.9294 MB / 416.8 MB, free: 5.762 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01505/0.6078, allocations: 4.757 MB / 421.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.6101, allocations: 0.5882 MB / 422.2 MB, free: 368 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003131/0.6133, allocations: 0.8608 MB / 423 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.6162, allocations: 0.5033 MB / 423.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.6175, allocations: 95.94 kB / 423.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003121/0.6207, allocations: 1.2 MB / 424.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.6224, allocations: 220 kB / 425 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.6336, allocations: 4.909 MB / 430 MB, free: 8.559 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.6337, allocations: 0 / 430 MB, free: 8.559 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.048e-06/0.6337, allocations: 0 / 430 MB, free: 8.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002313/0.634, allocations: 0 / 430 MB, free: 8.559 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.01652/0.6505, allocations: 3.398 MB / 433.4 MB, free: 5.098 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/0.6506, allocations: 8.031 kB / 433.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007084/0.6577, allocations: 0.5802 MB / 433.9 MB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008631/0.6664, allocations: 1.781 MB / 435.7 MB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/0.667, allocations: 238.1 kB / 436 MB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/0.6688, allocations: 307.9 kB / 436.3 MB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04647/0.7153, allocations: 8.784 MB / 445 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.7156, allocations: 19.81 kB / 445.1 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/0.7167, allocations: 135.9 kB / 445.2 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007996/0.7247, allocations: 1.557 MB / 446.8 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04038/0.7651, allocations: 6.822 MB / 453.6 MB, free: 472 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08423/0.8494, allocations: 26.33 MB / 479.9 MB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01834/0.8679, allocations: 1.972 MB / 481.9 MB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3517/1.22, allocations: 6.352 MB / 488.2 MB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/1.22, allocations: 43.81 kB / 488.3 MB, free: 107.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=77): time 4.399e-06/1.22, allocations: 1.406 kB / 488.3 MB, free: 107.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.02765/1.247, allocations: 6.218 MB / 494.5 MB, free: 104.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/1.248, allocations: 144.8 kB / 494.6 MB, free: 104.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004511/1.252, allocations: 2.199 MB / 496.8 MB, free: 103.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/1.252, allocations: 41.52 kB / 496.9 MB, free: 103.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/1.254, allocations: 2.373 MB / 499.2 MB, free: 101.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004601/1.254, allocations: 386.8 kB / 499.6 MB, free: 101.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/1.255, allocations: 75.56 kB / 499.7 MB, free: 101.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002274/1.255, allocations: 465.4 kB / 0.4884 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/1.257, allocations: 0.9359 MB / 0.4893 GB, free: 100.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/1.261, allocations: 3.222 MB / 0.4925 GB, free: 97.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003734/1.265, allocations: 1.682 MB / 0.4941 GB, free: 96.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-05/1.265, allocations: 24 kB / 0.4942 GB, free: 96.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.009781/1.275, allocations: 3.986 MB / 0.498 GB, free: 92.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/1.275, allocations: 40 kB / 0.4981 GB, free: 92.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/1.275, allocations: 80 kB / 0.4982 GB, free: 92.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/1.275, allocations: 120.9 kB / 0.4983 GB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005084/1.28, allocations: 0.889 MB / 0.4991 GB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001355/1.28, allocations: 163.4 kB / 0.4993 GB, free: 91.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/1.284, allocations: 179.6 kB / 0.4995 GB, free: 91.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005654/1.285, allocations: 224 kB / 0.4997 GB, free: 90.99 MB / 410.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.003423/1.288, allocations: 1.547 MB / 0.5012 GB, free: 89.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/1.289, allocations: 225.1 kB / 0.5014 GB, free: 89.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/1.291, allocations: 1.122 MB / 0.5025 GB, free: 88.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.291, allocations: 12 kB / 0.5025 GB, free: 88.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/1.291, allocations: 0.875 kB / 0.5025 GB, free: 88.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.291, allocations: 9.062 kB / 0.5025 GB, free: 88.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/1.304, allocations: 5.948 MB / 0.5083 GB, free: 81.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.288e-05/1.304, allocations: 20 kB / 0.5084 GB, free: 81.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.305, allocations: 215.6 kB / 0.5086 GB, free: 81.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-05/1.305, allocations: 24 kB / 0.5086 GB, free: 81.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.542e-05/1.306, allocations: 43.62 kB / 0.5086 GB, free: 81.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.707e-05/1.306, allocations: 31.86 kB / 0.5087 GB, free: 81.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-05/1.306, allocations: 27.88 kB / 0.5087 GB, free: 81.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/1.309, allocations: 3.29 MB / 0.5119 GB, free: 77.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008018/1.31, allocations: 322 kB / 0.5122 GB, free: 77.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005248/1.31, allocations: 43.98 kB / 0.5122 GB, free: 77.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.312, allocations: 39.98 kB / 0.5123 GB, free: 77.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/1.312, allocations: 127.6 kB / 0.5124 GB, free: 77.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/1.312, allocations: 51.95 kB / 0.5125 GB, free: 77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003404/1.315, allocations: 1.6 MB / 0.514 GB, free: 75.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.914e-06/1.315, allocations: 0 / 0.514 GB, free: 75.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004303/1.32, allocations: 0.6435 MB / 0.5146 GB, free: 74.75 MB / 410.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.0005011/1.32, allocations: 182.8 kB / 0.5148 GB, free: 74.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005316/1.326, allocations: 2.259 MB / 0.517 GB, free: 72.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.172e-05/1.326, allocations: 5 kB / 0.517 GB, free: 72.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.327, allocations: 0.5224 MB / 0.5175 GB, free: 71.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/1.329, allocations: 290.7 kB / 0.5178 GB, free: 71.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/1.347, allocations: 8.482 MB / 0.5261 GB, free: 62.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004824/1.352, allocations: 2.813 MB / 0.5288 GB, free: 59.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007627/1.352, allocations: 191.4 kB / 0.529 GB, free: 59.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/1.352, allocations: 0 / 0.529 GB, free: 59.75 MB / 410.7 MB Notification: Performance of Templates: time 0.08755/1.44, allocations: 37.53 MB / 0.5657 GB, free: 22.21 MB / 410.7 MB