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.2_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.529e-05, allocations: 4 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3671, allocations: 54.86 MB / 359.8 MB, free: 2.684 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.5237, allocations: 102 MB / 461.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.5239, allocations: 75.95 kB / 461.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6782/1.202, allocations: 98.87 MB / 0.5476 GB, free: 104.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.2e-06/1.202, allocations: 1.438 kB / 0.5476 GB, free: 104.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000264/1.203, allocations: 90.16 kB / 0.5477 GB, free: 104.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.01701/1.22, allocations: 5.115 MB / 0.5527 GB, free: 102.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.22, allocations: 17.19 kB / 0.5527 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02451/1.244, allocations: 4.609 MB / 0.5572 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/1.262, allocations: 6.062 MB / 0.5631 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000369/1.263, allocations: 349.2 kB / 0.5635 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/1.265, allocations: 463.1 kB / 0.5639 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02965/1.294, allocations: 12.54 MB / 0.5761 GB, free: 96.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002333/1.294, allocations: 77.19 kB / 0.5762 GB, free: 96.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001209/1.296, allocations: 228 kB / 0.5764 GB, free: 96.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002163/1.298, allocations: 1.259 MB / 0.5777 GB, free: 96.37 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0426/1.341, allocations: 10.54 MB / 0.5879 GB, free: 93.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08035/1.421, allocations: 55.75 MB / 0.6424 GB, free: 41.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02606/1.447, allocations: 5.917 MB / 0.6482 GB, free: 35.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008217/1.455, allocations: 3.017 MB / 0.6511 GB, free: 32.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03293/1.488, allocations: 13.06 MB / 0.6639 GB, free: 19 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/1.488, allocations: 55.8 kB / 0.6639 GB, free: 18.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 7.073e-06/1.488, allocations: 0 / 0.6639 GB, free: 18.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.1149/1.603, allocations: 30.55 MB / 0.6937 GB, free: 4.293 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/1.604, allocations: 209.9 kB / 0.6939 GB, free: 4.047 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00925/1.613, allocations: 3.823 MB / 0.6977 GB, free: 208 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005889/1.613, allocations: 65.7 kB / 0.6977 GB, free: 136 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2724/1.886, allocations: 3.425 MB / 0.7011 GB, free: 110.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.887, allocations: 0.953 MB / 0.702 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007363/1.888, allocations: 134.2 kB / 0.7021 GB, free: 109.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005191/1.889, allocations: 0.5907 MB / 0.7027 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006858/1.896, allocations: 2.989 MB / 0.7056 GB, free: 109.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00952/1.905, allocations: 6.841 MB / 0.7123 GB, free: 104.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009939/1.915, allocations: 4.472 MB / 0.7167 GB, free: 104.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000246/1.915, allocations: 39.03 kB / 0.7167 GB, free: 104.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.03315/1.949, allocations: 12 MB / 0.7284 GB, free: 102.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/1.949, allocations: 61.59 kB / 0.7285 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001671/1.949, allocations: 143.4 kB / 0.7286 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01222/1.961, allocations: 3.204 MB / 0.7318 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007305/1.969, allocations: 1.548 MB / 0.7333 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02888/1.997, allocations: 14.95 MB / 0.7479 GB, free: 95.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008066/2.006, allocations: 470.7 kB / 0.7483 GB, free: 95.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001571/2.007, allocations: 408.5 kB / 0.7487 GB, free: 95.45 MB / 474.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.001964/2.009, allocations: 0.609 MB / 0.7493 GB, free: 94.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009394/2.01, allocations: 398.5 kB / 0.7497 GB, free: 94.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/2.029, allocations: 7.375 MB / 0.7569 GB, free: 92.35 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.478e-05/2.029, allocations: 25.91 kB / 0.7569 GB, free: 92.35 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/2.029, allocations: 11.25 kB / 0.7569 GB, free: 92.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-05/2.029, allocations: 16.05 kB / 0.757 GB, free: 92.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03644/2.065, allocations: 14.97 MB / 0.7716 GB, free: 87.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/2.065, allocations: 0.5 kB / 0.7716 GB, free: 87.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/2.068, allocations: 379.1 kB / 0.7719 GB, free: 86.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01211/2.08, allocations: 2.865 MB / 0.7747 GB, free: 86.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005887/2.081, allocations: 49.56 kB / 0.7748 GB, free: 86.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0302/2.111, allocations: 13.25 MB / 0.7877 GB, free: 75.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/2.111, allocations: 0 / 0.7877 GB, free: 75.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02277/2.134, allocations: 11.32 MB / 0.7988 GB, free: 66.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002629/2.137, allocations: 0.9119 MB / 0.7997 GB, free: 65.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/2.138, allocations: 46.62 kB / 0.7997 GB, free: 65.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003122/2.141, allocations: 206.4 kB / 0.7999 GB, free: 65.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006244/2.141, allocations: 143.2 kB / 0.8 GB, free: 65.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003018/2.142, allocations: 64.94 kB / 0.8001 GB, free: 65.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005209/2.147, allocations: 2.67 MB / 0.8027 GB, free: 62.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.7e-07/2.147, allocations: 0 / 0.8027 GB, free: 62.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007531/2.155, allocations: 1.306 MB / 0.804 GB, free: 61.43 MB / 474.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.0006674/2.155, allocations: 183.9 kB / 0.8042 GB, free: 61.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0147/2.17, allocations: 7.428 MB / 0.8114 GB, free: 54.35 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/2.17, allocations: 0 / 0.8114 GB, free: 54.35 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005694/2.176, allocations: 3.003 MB / 0.8144 GB, free: 51.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/2.179, allocations: 468.7 kB / 0.8148 GB, free: 50.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/2.2, allocations: 9.75 MB / 0.8243 GB, free: 41.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007173/2.208, allocations: 3.775 MB / 0.828 GB, free: 37.33 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007373/2.215, allocations: 2.164 MB / 0.8301 GB, free: 35.17 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/2.217, allocations: 279.4 kB / 0.8304 GB, free: 34.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.948e-06/2.217, allocations: 4 kB / 0.8304 GB, free: 34.89 MB / 474.7 MB Notification: Performance of Templates: time 0.4439/2.661, allocations: 52.8 MB / 0.882 GB, free: 114.1 MB / 490.7 MB