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_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.413e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.0888, allocations: 48.69 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4514, allocations: 95.18 MB / 416.9 MB, free: 172 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.4517, allocations: 77.64 kB / 417 MB, free: 132 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3885/0.8402, allocations: 98.75 MB / 0.5037 GB, free: 4.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.938e-06/0.8402, allocations: 0 / 0.5037 GB, free: 4.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002825/0.8405, allocations: 91.98 kB / 0.5038 GB, free: 4.43 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.01789/0.8584, allocations: 5.113 MB / 0.5088 GB, free: 15.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.8585, allocations: 12.03 kB / 0.5088 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02541/0.8839, allocations: 4.603 MB / 0.5133 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02514/0.9091, allocations: 6.061 MB / 0.5192 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008924/0.9101, allocations: 345 kB / 0.5195 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/0.9124, allocations: 463.7 kB / 0.5199 GB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2831/1.196, allocations: 12.52 MB / 0.5322 GB, free: 82.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002779/1.196, allocations: 68.94 kB / 0.5322 GB, free: 82.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001509/1.197, allocations: 222.2 kB / 0.5325 GB, free: 82.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002478/1.2, allocations: 1.26 MB / 0.5337 GB, free: 82.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03671/1.237, allocations: 10.54 MB / 0.544 GB, free: 82.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/1.339, allocations: 55.73 MB / 0.5984 GB, free: 48.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01974/1.359, allocations: 5.895 MB / 0.6042 GB, free: 46.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004607/1.363, allocations: 3.038 MB / 0.6071 GB, free: 44.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02241/1.386, allocations: 13.05 MB / 0.6199 GB, free: 38.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/1.386, allocations: 55.44 kB / 0.6199 GB, free: 38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 5.818e-06/1.386, allocations: 0 / 0.6199 GB, free: 38 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.1132/1.499, allocations: 30.56 MB / 0.6498 GB, free: 20.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/1.499, allocations: 205.9 kB / 0.65 GB, free: 20.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007299/1.506, allocations: 3.815 MB / 0.6537 GB, free: 16.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005901/1.507, allocations: 65.42 kB / 0.6537 GB, free: 16.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002404/1.509, allocations: 3.329 MB / 0.657 GB, free: 13.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001325/1.511, allocations: 0.9529 MB / 0.6579 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008008/1.512, allocations: 133.6 kB / 0.6581 GB, free: 12.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004246/1.512, allocations: 0.5929 MB / 0.6586 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005774/1.518, allocations: 2.994 MB / 0.6616 GB, free: 9.441 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007794/1.526, allocations: 6.84 MB / 0.6682 GB, free: 1.137 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/1.538, allocations: 4.653 MB / 0.6728 GB, free: 13.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/1.538, allocations: 40 kB / 0.6728 GB, free: 13.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.03289/1.571, allocations: 11.86 MB / 0.6844 GB, free: 2.562 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.571, allocations: 60 kB / 0.6845 GB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/1.571, allocations: 140 kB / 0.6846 GB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2612/1.833, allocations: 3.201 MB / 0.6877 GB, free: 90.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007724/1.84, allocations: 1.55 MB / 0.6892 GB, free: 90.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02988/1.87, allocations: 14.93 MB / 0.7038 GB, free: 88.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007314/1.878, allocations: 476.8 kB / 0.7043 GB, free: 88.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/1.879, allocations: 402.8 kB / 0.7046 GB, free: 88.88 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.001461/1.881, allocations: 0.6115 MB / 0.7052 GB, free: 88.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009122/1.882, allocations: 405.5 kB / 0.7056 GB, free: 88.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/1.9, allocations: 7.363 MB / 0.7128 GB, free: 88.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.282e-05/1.9, allocations: 25.84 kB / 0.7128 GB, free: 88.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/1.9, allocations: 15.8 kB / 0.7129 GB, free: 88.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.562e-05/1.9, allocations: 10.41 kB / 0.7129 GB, free: 88.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03561/1.936, allocations: 14.98 MB / 0.7275 GB, free: 86.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.419e-05/1.936, allocations: 0 / 0.7275 GB, free: 86.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002753/1.938, allocations: 387.8 kB / 0.7279 GB, free: 86.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01109/1.95, allocations: 2.871 MB / 0.7307 GB, free: 85.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005583/1.95, allocations: 43.02 kB / 0.7307 GB, free: 85.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02483/1.975, allocations: 13.25 MB / 0.7437 GB, free: 80.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.451e-06/1.975, allocations: 3.422 kB / 0.7437 GB, free: 80.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02515/2, allocations: 11.32 MB / 0.7547 GB, free: 76.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/2.003, allocations: 0.9139 MB / 0.7556 GB, free: 75.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/2.004, allocations: 45.72 kB / 0.7557 GB, free: 75.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003339/2.008, allocations: 206.9 kB / 0.7558 GB, free: 75.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000756/2.009, allocations: 152.5 kB / 0.756 GB, free: 75.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003079/2.009, allocations: 62.02 kB / 0.7561 GB, free: 75.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005793/2.015, allocations: 2.662 MB / 0.7587 GB, free: 74.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.445e-06/2.015, allocations: 0 / 0.7587 GB, free: 74.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007841/2.023, allocations: 1.313 MB / 0.7599 GB, free: 74.5 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.0007657/2.023, allocations: 183.3 kB / 0.7601 GB, free: 74.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01488/2.038, allocations: 7.426 MB / 0.7674 GB, free: 71.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.458e-06/2.038, allocations: 0 / 0.7674 GB, free: 71.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006262/2.045, allocations: 2.999 MB / 0.7703 GB, free: 70.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/2.048, allocations: 467 kB / 0.7707 GB, free: 69.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/2.07, allocations: 10.29 MB / 0.7808 GB, free: 60.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006979/2.077, allocations: 3.767 MB / 0.7845 GB, free: 57.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/2.079, allocations: 334.1 kB / 0.7848 GB, free: 57.54 MB / 442.7 MB Notification: Performance of SimCode: time 2.048e-06/2.079, allocations: 0 / 0.7848 GB, free: 57.54 MB / 442.7 MB Notification: Performance of Templates: time 0.3766/2.456, allocations: 86.7 MB / 0.8695 GB, free: 102.2 MB / 458.7 MB