Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,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.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 2.484/2.484, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.189e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3796, allocations: 54.85 MB / 362.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.03517/0.4149, allocations: 21.02 MB / 383.9 MB, free: 8.707 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0143/0.4292, allocations: 4.656 MB / 388.6 MB, free: 4.031 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004758/0.434, allocations: 103.8 kB / 388.7 MB, free: 3.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004421/0.4385, allocations: 1.046 MB / 389.7 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01648/0.4551, allocations: 2.735 MB / 392.4 MB, free: 140 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.4571, allocations: 323.4 kB / 392.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.459, allocations: 0.5309 MB / 393.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003308/0.4624, allocations: 1.512 MB / 394.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006839/0.4631, allocations: 323 kB / 395.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.4642, allocations: 0.5063 MB / 395.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.4654, allocations: 415.4 kB / 396 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003674/0.4658, allocations: 60 kB / 396.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000987/0.4668, allocations: 0.6467 MB / 396.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.4673, allocations: 115.9 kB / 396.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003538/0.4708, allocations: 2.13 MB / 399 MB, free: 9.562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4709, allocations: 0 / 399 MB, free: 9.562 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4709, allocations: 0 / 399 MB, free: 9.562 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.471, allocations: 0 / 399 MB, free: 9.562 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.006607/0.4776, allocations: 2.03 MB / 401 MB, free: 7.477 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.4777, allocations: 8.031 kB / 401 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.4798, allocations: 276.9 kB / 401.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/0.4824, allocations: 0.8645 MB / 402.1 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.4825, allocations: 102.8 kB / 402.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005539/0.4831, allocations: 147.9 kB / 402.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.4982, allocations: 4.97 MB / 407.4 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.649e-05/0.4983, allocations: 11.88 kB / 407.4 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/0.4986, allocations: 71.92 kB / 407.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003162/0.5018, allocations: 0.9911 MB / 408.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.5167, allocations: 3.889 MB / 412.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03407/0.5508, allocations: 16.33 MB / 428.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007688/0.5585, allocations: 1.288 MB / 429.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009187/0.5678, allocations: 4.089 MB / 434 MB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.5679, allocations: 42.56 kB / 434.1 MB, free: 5.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 3.697e-06/0.5679, allocations: 0 / 434.1 MB, free: 5.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.01142/0.5793, allocations: 1.757 MB / 435.8 MB, free: 3.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.495e-05/0.5795, allocations: 118.8 kB / 435.9 MB, free: 3.449 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.5827, allocations: 1.396 MB / 437.3 MB, free: 2.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-05/0.5828, allocations: 33.7 kB / 437.4 MB, free: 2.008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.5843, allocations: 1.394 MB / 438.8 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.5846, allocations: 186 kB / 439 MB, free: 416 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.5847, allocations: 44 kB / 439 MB, free: 372 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003657/0.5851, allocations: 455.3 kB / 439.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.5864, allocations: 0.5041 MB / 439.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/0.5892, allocations: 2.017 MB / 442 MB, free: 12.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.5917, allocations: 0.952 MB / 442.9 MB, free: 11.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.001e-05/0.5918, allocations: 16 kB / 442.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006293/0.5981, allocations: 2.415 MB / 445.3 MB, free: 9.223 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.66e-05/0.5982, allocations: 28 kB / 445.4 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.531e-05/0.5983, allocations: 59.94 kB / 445.4 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.5984, allocations: 80 kB / 445.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/0.6014, allocations: 0.5341 MB / 446 MB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001274/0.6015, allocations: 107.6 kB / 446.1 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.6037, allocations: 332.4 kB / 446.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/0.6039, allocations: 144 kB / 446.6 MB, free: 7.949 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (292): * Single equations (assignments): 292 * 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.001826/0.6058, allocations: 0.8465 MB / 447.5 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.6061, allocations: 130.3 kB / 447.6 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.6065, allocations: 153.3 kB / 447.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.6065, allocations: 4 kB / 447.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6065, allocations: 0 / 447.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.6065, allocations: 7.984 kB / 447.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007488/0.614, allocations: 3.275 MB / 451 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.6141, allocations: 12 kB / 451 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/0.6148, allocations: 99.97 kB / 451.1 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-05/0.6148, allocations: 19.98 kB / 451.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.6149, allocations: 20 kB / 451.2 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-05/0.6149, allocations: 23.88 kB / 451.2 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.142e-05/0.615, allocations: 23.88 kB / 451.2 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.6172, allocations: 1.651 MB / 452.9 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.6176, allocations: 227.2 kB / 453.1 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.6179, allocations: 24 kB / 453.1 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007912/0.6187, allocations: 27.98 kB / 453.1 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.6188, allocations: 67.73 kB / 453.2 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.6189, allocations: 35.94 kB / 453.2 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002083/0.621, allocations: 0.9664 MB / 454.2 MB, free: 15.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.621, allocations: 0 / 454.2 MB, free: 15.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002556/0.6236, allocations: 482 kB / 454.7 MB, free: 15.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.000264/0.6239, allocations: 135 kB / 454.8 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003315/0.6272, allocations: 1.245 MB / 456.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/0.6273, allocations: 4 kB / 456.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.6279, allocations: 242.4 kB / 456.3 MB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.6291, allocations: 178.2 kB / 456.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009621/0.6388, allocations: 4.289 MB / 460.8 MB, free: 8.793 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002482/0.6413, allocations: 1.741 MB / 462.5 MB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002906/0.6442, allocations: 0.61 MB / 463.1 MB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.6446, allocations: 99.36 kB / 463.2 MB, free: 6.305 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.6446, allocations: 4 kB / 463.2 MB, free: 6.301 MB / 394.7 MB Notification: Performance of Templates: time 0.03797/0.6826, allocations: 9.697 MB / 472.9 MB, free: 12.65 MB / 410.7 MB