Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.029e-05/5.044e-05, allocations: 4 kB / 273.1 MB, free: 3.184 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 48.7 MB / 321.8 MB, free: 2.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.5041, allocations: 95.18 MB / 417 MB, free: 164 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.5043, allocations: 79.14 kB / 417 MB, free: 124 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4242/0.9285, allocations: 98.75 MB / 0.5037 GB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.2e-06/0.9286, allocations: 0 / 0.5037 GB, free: 4.238 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002858/0.9289, allocations: 91.98 kB / 0.5038 GB, free: 4.148 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.01765/0.9465, allocations: 5.117 MB / 0.5088 GB, free: 14.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.9466, allocations: 8.031 kB / 0.5088 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02493/0.9716, allocations: 4.607 MB / 0.5133 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/0.9914, allocations: 6.057 MB / 0.5192 GB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005567/0.992, allocations: 345 kB / 0.5195 GB, free: 3.871 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/0.9944, allocations: 463.7 kB / 0.52 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2726/1.267, allocations: 12.52 MB / 0.5322 GB, free: 82.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002519/1.267, allocations: 66.23 kB / 0.5323 GB, free: 82.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/1.269, allocations: 223.6 kB / 0.5325 GB, free: 82.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002306/1.271, allocations: 1.266 MB / 0.5337 GB, free: 82.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02753/1.298, allocations: 10.54 MB / 0.544 GB, free: 82.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07128/1.37, allocations: 55.72 MB / 0.5984 GB, free: 47.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02039/1.39, allocations: 5.909 MB / 0.6042 GB, free: 45.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004877/1.395, allocations: 3.03 MB / 0.6071 GB, free: 44.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02458/1.42, allocations: 13.05 MB / 0.6199 GB, free: 37.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.42, allocations: 54.62 kB / 0.6199 GB, free: 37.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 6.399e-06/1.42, allocations: 0 / 0.6199 GB, free: 37.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.1189/1.539, allocations: 30.55 MB / 0.6498 GB, free: 19.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/1.539, allocations: 205.9 kB / 0.65 GB, free: 18.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007655/1.547, allocations: 3.817 MB / 0.6537 GB, free: 15.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005639/1.547, allocations: 61.7 kB / 0.6538 GB, free: 15.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00254/1.55, allocations: 3.433 MB / 0.6571 GB, free: 12.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.551, allocations: 0.9525 MB / 0.6581 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007163/1.552, allocations: 139.9 kB / 0.6582 GB, free: 11.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004086/1.552, allocations: 0.5932 MB / 0.6588 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00593/1.558, allocations: 2.988 MB / 0.6617 GB, free: 8.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008353/1.566, allocations: 6.851 MB / 0.6684 GB, free: 15.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009764/1.576, allocations: 4.474 MB / 0.6727 GB, free: 12.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/1.576, allocations: 40 kB / 0.6728 GB, free: 12.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.03417/1.611, allocations: 12 MB / 0.6845 GB, free: 1.078 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/1.611, allocations: 68.03 kB / 0.6846 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002072/1.611, allocations: 136 kB / 0.6847 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2642/1.875, allocations: 3.203 MB / 0.6878 GB, free: 90.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007626/1.883, allocations: 1.549 MB / 0.6893 GB, free: 90.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03078/1.914, allocations: 14.93 MB / 0.7039 GB, free: 89.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007356/1.921, allocations: 476.6 kB / 0.7044 GB, free: 89.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/1.923, allocations: 406.4 kB / 0.7048 GB, free: 89.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (806): * Single equations (assignments): 802 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001733/1.924, allocations: 0.6192 MB / 0.7054 GB, free: 88.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000996/1.925, allocations: 401.5 kB / 0.7057 GB, free: 88.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01979/1.945, allocations: 7.364 MB / 0.7129 GB, free: 88.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.332e-05/1.945, allocations: 25.34 kB / 0.713 GB, free: 88.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/1.945, allocations: 14.7 kB / 0.713 GB, free: 88.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.756e-05/1.945, allocations: 17.67 kB / 0.713 GB, free: 88.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03645/1.982, allocations: 14.97 MB / 0.7276 GB, free: 86.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.458e-05/1.982, allocations: 0 / 0.7276 GB, free: 86.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/1.985, allocations: 382.4 kB / 0.728 GB, free: 86.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01186/1.997, allocations: 2.871 MB / 0.7308 GB, free: 85.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000568/1.997, allocations: 43.17 kB / 0.7308 GB, free: 85.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02576/2.023, allocations: 13.25 MB / 0.7438 GB, free: 80.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.617e-06/2.023, allocations: 3.938 kB / 0.7438 GB, free: 80.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02555/2.049, allocations: 11.32 MB / 0.7548 GB, free: 75.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002856/2.052, allocations: 0.9089 MB / 0.7557 GB, free: 75.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/2.053, allocations: 45.77 kB / 0.7558 GB, free: 75.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/2.056, allocations: 201.9 kB / 0.7559 GB, free: 75.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006891/2.057, allocations: 150.1 kB / 0.7561 GB, free: 75.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002984/2.057, allocations: 67.81 kB / 0.7562 GB, free: 75.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005473/2.062, allocations: 2.66 MB / 0.7587 GB, free: 74.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.454e-06/2.062, allocations: 0 / 0.7587 GB, free: 74.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007365/2.07, allocations: 1.308 MB / 0.76 GB, free: 74.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006416/2.07, allocations: 182.9 kB / 0.7602 GB, free: 74.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01487/2.085, allocations: 7.436 MB / 0.7675 GB, free: 71.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.748e-06/2.085, allocations: 0 / 0.7675 GB, free: 71.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005709/2.091, allocations: 3 MB / 0.7704 GB, free: 68.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/2.094, allocations: 464.7 kB / 0.7708 GB, free: 68.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/2.115, allocations: 9.755 MB / 0.7804 GB, free: 59.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006219/2.121, allocations: 3.762 MB / 0.784 GB, free: 56.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007327/2.128, allocations: 2.17 MB / 0.7862 GB, free: 55.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/2.13, allocations: 278.2 kB / 0.7864 GB, free: 55.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.92e-06/2.13, allocations: 0 / 0.7864 GB, free: 55.26 MB / 442.7 MB Notification: Performance of Templates: time 0.124/2.254, allocations: 52.83 MB / 0.838 GB, free: 6.754 MB / 442.7 MB