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.3_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.625e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3445, allocations: 58.82 MB / 382.2 MB, free: 10.14 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1781/0.5227, allocations: 99.33 MB / 481.5 MB, free: 9.043 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.5229, allocations: 71.97 kB / 481.6 MB, free: 8.973 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1331/0.656, allocations: 35.2 MB / 0.5047 GB, free: 5.465 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.808e-06/0.6561, allocations: 0 / 0.5047 GB, free: 5.465 MB / 442.8 MB Notification: Performance of Transformations before backend: time 8.008e-05/0.6562, allocations: 36 kB / 0.5047 GB, free: 5.43 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.005549/0.6617, allocations: 2.21 MB / 0.5069 GB, free: 3.168 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.6618, allocations: 12.03 kB / 0.5069 GB, free: 3.156 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.664, allocations: 380.7 kB / 0.5073 GB, free: 2.781 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.6669, allocations: 1.154 MB / 0.5084 GB, free: 1.582 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.6671, allocations: 143.9 kB / 0.5085 GB, free: 1.441 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004498/0.6675, allocations: 192 kB / 0.5087 GB, free: 1.254 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.6798, allocations: 4.771 MB / 0.5134 GB, free: 12.21 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.128e-05/0.6799, allocations: 11.88 kB / 0.5134 GB, free: 12.2 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000324/0.6803, allocations: 87.95 kB / 0.5135 GB, free: 12.12 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001415/0.6817, allocations: 0.5228 MB / 0.514 GB, free: 11.59 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01571/0.6974, allocations: 3.731 MB / 0.5176 GB, free: 7.855 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2903/0.9878, allocations: 16.71 MB / 0.5339 GB, free: 112.1 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00567/0.9935, allocations: 1.266 MB / 0.5352 GB, free: 112 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.9948, allocations: 0.6978 MB / 0.5358 GB, free: 112 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006552/1.001, allocations: 4.077 MB / 0.5398 GB, free: 110.1 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/1.001, allocations: 42.28 kB / 0.5399 GB, free: 110.1 MB / 458.8 MB Notification: Performance of pre-optimization done (n=41): time 3.901e-06/1.001, allocations: 0 / 0.5399 GB, free: 110.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=41): time 0.008142/1.01, allocations: 1.467 MB / 0.5413 GB, free: 110 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/1.01, allocations: 114.4 kB / 0.5414 GB, free: 109.8 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/1.012, allocations: 1.398 MB / 0.5428 GB, free: 109.7 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/1.012, allocations: 35.7 kB / 0.5428 GB, free: 109.6 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008557/1.013, allocations: 1.414 MB / 0.5442 GB, free: 109 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/1.013, allocations: 176.4 kB / 0.5444 GB, free: 108.9 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.013, allocations: 45.66 kB / 0.5444 GB, free: 108.9 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002225/1.014, allocations: 464.3 kB / 0.5448 GB, free: 108.6 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008772/1.014, allocations: 498.9 kB / 0.5453 GB, free: 108.6 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/1.016, allocations: 2.017 MB / 0.5473 GB, free: 106.5 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/1.017, allocations: 0.9677 MB / 0.5482 GB, free: 106.5 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.051e-05/1.018, allocations: 15.75 kB / 0.5482 GB, free: 106.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004287/1.022, allocations: 2.249 MB / 0.5504 GB, free: 106.4 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/1.022, allocations: 33.41 kB / 0.5505 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.323e-05/1.022, allocations: 56.66 kB / 0.5505 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.969e-05/1.022, allocations: 81 kB / 0.5506 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/1.024, allocations: 0.5404 MB / 0.5511 GB, free: 106.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.397e-05/1.024, allocations: 114.3 kB / 0.5512 GB, free: 106.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/1.026, allocations: 334.7 kB / 0.5516 GB, free: 106.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/1.027, allocations: 144.6 kB / 0.5517 GB, free: 106.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (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.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 (295): * Single equations (assignments): 295 * 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.0003737/1.027, allocations: 320 kB / 0.552 GB, free: 105.9 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/1.027, allocations: 129.4 kB / 0.5521 GB, free: 105.8 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/1.028, allocations: 153.5 kB / 0.5523 GB, free: 105.8 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.227e-06/1.028, allocations: 3.938 kB / 0.5523 GB, free: 105.8 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.876e-06/1.028, allocations: 3.938 kB / 0.5523 GB, free: 105.8 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.222e-06/1.028, allocations: 7.406 kB / 0.5523 GB, free: 105.8 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/1.033, allocations: 3.207 MB / 0.5554 GB, free: 104.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/1.033, allocations: 10.53 kB / 0.5554 GB, free: 104.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/1.033, allocations: 97.61 kB / 0.5555 GB, free: 104.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.012e-05/1.033, allocations: 18.62 kB / 0.5555 GB, free: 104.1 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/1.034, allocations: 26.69 kB / 0.5556 GB, free: 104.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-05/1.034, allocations: 22.31 kB / 0.5556 GB, free: 104.1 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/1.034, allocations: 23.53 kB / 0.5556 GB, free: 104 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/1.035, allocations: 1.561 MB / 0.5571 GB, free: 102.3 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/1.035, allocations: 228.5 kB / 0.5574 GB, free: 102.1 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/1.035, allocations: 24.81 kB / 0.5574 GB, free: 102.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/1.036, allocations: 30.17 kB / 0.5574 GB, free: 102.1 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/1.036, allocations: 65.83 kB / 0.5575 GB, free: 102.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/1.036, allocations: 32.97 kB / 0.5575 GB, free: 102.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001514/1.038, allocations: 0.964 MB / 0.5584 GB, free: 101.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.95e-07/1.038, allocations: 0 / 0.5584 GB, free: 101.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.002589/1.04, allocations: 487.3 kB / 0.5589 GB, free: 101.5 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.0002068/1.041, allocations: 128.5 kB / 0.559 GB, free: 101.4 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.002144/1.043, allocations: 1.151 MB / 0.5602 GB, free: 101.1 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.949e-06/1.043, allocations: 7.438 kB / 0.5602 GB, free: 101.1 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/1.043, allocations: 208.5 kB / 0.5604 GB, free: 101 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.044, allocations: 169 kB / 0.5605 GB, free: 100.9 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/1.049, allocations: 2.804 MB / 0.5633 GB, free: 99.52 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/1.051, allocations: 1.744 MB / 0.565 GB, free: 98.62 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002322/1.054, allocations: 0.6128 MB / 0.5656 GB, free: 98.56 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/1.054, allocations: 96.34 kB / 0.5657 GB, free: 98.55 MB / 458.8 MB Notification: Performance of SimCode: time 1.73e-06/1.054, allocations: 0 / 0.5657 GB, free: 98.55 MB / 458.8 MB Notification: Performance of Templates: time 0.03001/1.084, allocations: 9.6 MB / 0.575 GB, free: 94.55 MB / 458.8 MB