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_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.331/2.331, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.046e-05, allocations: 0 / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3678, allocations: 54.86 MB / 362.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.05422/0.4221, allocations: 34.28 MB / 397.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02531/0.4475, allocations: 8.413 MB / 405.5 MB, free: 3.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008244/0.4558, allocations: 179.6 kB / 405.7 MB, free: 2.895 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006418/0.4622, allocations: 1.765 MB / 407.5 MB, free: 1.121 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02065/0.4829, allocations: 4.986 MB / 412.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.4869, allocations: 0.8112 MB / 413.3 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.02717/0.5141, allocations: 9.293 MB / 422.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007454/0.5216, allocations: 3.656 MB / 426.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.5238, allocations: 0.978 MB / 427.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003347/0.5272, allocations: 1.578 MB / 428.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.5305, allocations: 1.073 MB / 429.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001293/0.5319, allocations: 172 kB / 430 MB, free: 10.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002953/0.5349, allocations: 1.757 MB / 431.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.5365, allocations: 300 kB / 432.1 MB, free: 8.453 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.5468, allocations: 6.354 MB / 438.4 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5468, allocations: 0 / 438.4 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5468, allocations: 0 / 438.4 MB, free: 2.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000271/0.5471, allocations: 0 / 438.4 MB, free: 2.086 MB / 362.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.01889/0.566, allocations: 4.961 MB / 443.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.5661, allocations: 15.91 kB / 443.4 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2171/0.7832, allocations: 10.61 MB / 454 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.7953, allocations: 3.616 MB / 457.6 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.7957, allocations: 254.4 kB / 457.9 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/0.7977, allocations: 347.7 kB / 458.2 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03722/0.835, allocations: 12.5 MB / 470.7 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000229/0.8352, allocations: 55.44 kB / 470.8 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/0.8365, allocations: 159.8 kB / 470.9 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005987/0.8426, allocations: 2.264 MB / 473.2 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03675/0.8794, allocations: 10.87 MB / 484.1 MB, free: 3.461 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4243/1.304, allocations: 48.85 MB / 0.5204 GB, free: 90.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02554/1.329, allocations: 5.951 MB / 0.5262 GB, free: 87.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03004/1.359, allocations: 13.16 MB / 0.5391 GB, free: 79.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/1.359, allocations: 53.88 kB / 0.5391 GB, free: 79.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 6.402e-06/1.359, allocations: 3.656 kB / 0.5391 GB, free: 79.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.2012/1.561, allocations: 39.64 MB / 0.5779 GB, free: 39.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/1.561, allocations: 205.9 kB / 0.5781 GB, free: 39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009025/1.57, allocations: 4.129 MB / 0.5821 GB, free: 34.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007768/1.571, allocations: 65.7 kB / 0.5821 GB, free: 34.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002622/1.573, allocations: 3.316 MB / 0.5854 GB, free: 31.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001548/1.575, allocations: 0.9504 MB / 0.5863 GB, free: 30.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000842/1.576, allocations: 137.9 kB / 0.5864 GB, free: 30.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004715/1.576, allocations: 0.6037 MB / 0.587 GB, free: 29.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007461/1.584, allocations: 3.082 MB / 0.59 GB, free: 26.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/1.594, allocations: 6.965 MB / 0.5968 GB, free: 17.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.604, allocations: 4.522 MB / 0.6013 GB, free: 13.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/1.604, allocations: 40 kB / 0.6013 GB, free: 13.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.03847/1.643, allocations: 12.44 MB / 0.6135 GB, free: 0.793 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.643, allocations: 64 kB / 0.6135 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/1.643, allocations: 136 kB / 0.6136 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01733/1.661, allocations: 3.26 MB / 0.6168 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/1.671, allocations: 1.532 MB / 0.6183 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04472/1.715, allocations: 16.06 MB / 0.634 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008287/1.724, allocations: 443 kB / 0.6344 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001763/1.726, allocations: 401 kB / 0.6348 GB, free: 10.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 623 * 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 (805): * Single equations (assignments): 801 * 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.007155/1.733, allocations: 2.306 MB / 0.6371 GB, free: 8.453 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.734, allocations: 406.8 kB / 0.6375 GB, free: 8.051 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02981/1.764, allocations: 7.515 MB / 0.6448 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.074e-05/1.764, allocations: 24 kB / 0.6448 GB, free: 496 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-05/1.764, allocations: 12 kB / 0.6448 GB, free: 484 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.084e-05/1.764, allocations: 7.969 kB / 0.6448 GB, free: 476 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05227/1.817, allocations: 15.2 MB / 0.6597 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.325e-05/1.817, allocations: 0 / 0.6597 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003898/1.821, allocations: 375.5 kB / 0.66 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01681/1.837, allocations: 2.927 MB / 0.6629 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008808/1.838, allocations: 44.47 kB / 0.6629 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3673/2.206, allocations: 14.27 MB / 0.6769 GB, free: 168.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/2.206, allocations: 2.344 kB / 0.6769 GB, free: 168.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03613/2.242, allocations: 11.54 MB / 0.6881 GB, free: 165.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003429/2.245, allocations: 0.9357 MB / 0.6891 GB, free: 165.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/2.247, allocations: 40.72 kB / 0.6891 GB, free: 165.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004568/2.252, allocations: 195 kB / 0.6893 GB, free: 165.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/2.253, allocations: 150.1 kB / 0.6894 GB, free: 165.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005779/2.253, allocations: 62.5 kB / 0.6895 GB, free: 165.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007168/2.261, allocations: 2.916 MB / 0.6923 GB, free: 164.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.032e-06/2.261, allocations: 0 / 0.6923 GB, free: 164.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008274/2.269, allocations: 1.335 MB / 0.6936 GB, free: 164.2 MB / 490.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.001349/2.27, allocations: 190.3 kB / 0.6938 GB, free: 164.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01946/2.29, allocations: 7.786 MB / 0.7014 GB, free: 160.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/2.29, allocations: 4 kB / 0.7014 GB, free: 160.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008343/2.298, allocations: 3.109 MB / 0.7045 GB, free: 157.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004398/2.303, allocations: 458.4 kB / 0.7049 GB, free: 157.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03069/2.334, allocations: 14.11 MB / 0.7187 GB, free: 144.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006575/2.34, allocations: 3.773 MB / 0.7224 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/2.343, allocations: 331.4 kB / 0.7227 GB, free: 140.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/2.343, allocations: 2.406 kB / 0.7227 GB, free: 140.5 MB / 490.7 MB Notification: Performance of Templates: time 0.1582/2.501, allocations: 88.56 MB / 0.8092 GB, free: 51.86 MB / 490.7 MB