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.99/1.99, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.29e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3777, allocations: 48.7 MB / 324.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.05727/0.435, allocations: 34.25 MB / 359.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0274/0.4625, allocations: 8.382 MB / 367.5 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.4726, allocations: 179.6 kB / 367.7 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007462/0.4801, allocations: 1.769 MB / 369.4 MB, free: 2.918 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02044/0.5006, allocations: 4.99 MB / 374.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004399/0.5051, allocations: 0.8229 MB / 375.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02848/0.5336, allocations: 9.295 MB / 384.5 MB, free: 3.785 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008469/0.5421, allocations: 3.654 MB / 388.2 MB, free: 108 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.545, allocations: 0.9781 MB / 389.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003724/0.5488, allocations: 1.578 MB / 390.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.5524, allocations: 1.077 MB / 391.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001552/0.554, allocations: 168 kB / 392 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003521/0.5575, allocations: 1.749 MB / 393.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.5593, allocations: 300 kB / 394 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.5701, allocations: 6.346 MB / 400.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5702, allocations: 0 / 400.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5702, allocations: 0 / 400.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002538/0.5704, allocations: 0 / 400.4 MB, free: 3.895 MB / 330.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.01874/0.5892, allocations: 4.961 MB / 405.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.5893, allocations: 8.031 kB / 405.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1829/0.7722, allocations: 10.62 MB / 416 MB, free: 4.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/0.7845, allocations: 3.608 MB / 419.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005117/0.7851, allocations: 254.4 kB / 419.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002496/0.7876, allocations: 343.8 kB / 420.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08251/0.8701, allocations: 12.5 MB / 432.6 MB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/0.8704, allocations: 51.44 kB / 432.7 MB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001244/0.8717, allocations: 167.8 kB / 432.9 MB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005905/0.8776, allocations: 2.252 MB / 435.1 MB, free: 188 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03698/0.9146, allocations: 10.87 MB / 446 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3893/1.304, allocations: 48.81 MB / 494.8 MB, free: 98.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02795/1.332, allocations: 5.963 MB / 0.489 GB, free: 97.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03261/1.365, allocations: 13.14 MB / 0.5019 GB, free: 90.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/1.365, allocations: 59 kB / 0.5019 GB, free: 90.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 6.582e-06/1.365, allocations: 0 / 0.5019 GB, free: 90.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.2244/1.589, allocations: 39.64 MB / 0.5406 GB, free: 60.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/1.589, allocations: 209.9 kB / 0.5408 GB, free: 60.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008586/1.598, allocations: 4.125 MB / 0.5448 GB, free: 56.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007511/1.599, allocations: 65.7 kB / 0.5449 GB, free: 56.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002718/1.601, allocations: 3.317 MB / 0.5481 GB, free: 52.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001628/1.603, allocations: 0.9533 MB / 0.5491 GB, free: 51.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007778/1.604, allocations: 132.8 kB / 0.5492 GB, free: 51.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000393/1.604, allocations: 0.5959 MB / 0.5498 GB, free: 51.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007121/1.611, allocations: 3.085 MB / 0.5528 GB, free: 48.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009448/1.621, allocations: 6.97 MB / 0.5596 GB, free: 39.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009964/1.631, allocations: 4.52 MB / 0.564 GB, free: 34.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.786e-05/1.631, allocations: 43.94 kB / 0.5641 GB, free: 34.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.03808/1.669, allocations: 12.43 MB / 0.5762 GB, free: 22.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.669, allocations: 65 kB / 0.5763 GB, free: 22.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/1.67, allocations: 136 kB / 0.5764 GB, free: 22.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01592/1.686, allocations: 3.264 MB / 0.5796 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00956/1.695, allocations: 1.532 MB / 0.5811 GB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03818/1.733, allocations: 16.07 MB / 0.5968 GB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/1.745, allocations: 443.9 kB / 0.5972 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001867/1.747, allocations: 408.7 kB / 0.5976 GB, free: 420 kB / 410.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.008758/1.756, allocations: 2.308 MB / 0.5998 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/1.757, allocations: 402.8 kB / 0.6002 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03937/1.797, allocations: 7.5 MB / 0.6075 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.119e-05/1.797, allocations: 28.72 kB / 0.6076 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-05/1.797, allocations: 12 kB / 0.6076 GB, free: 6.129 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.016e-05/1.797, allocations: 15.95 kB / 0.6076 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05638/1.854, allocations: 15.19 MB / 0.6224 GB, free: 6.883 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.731e-05/1.854, allocations: 0 / 0.6224 GB, free: 6.883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004023/1.858, allocations: 383.4 kB / 0.6228 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01696/1.875, allocations: 2.919 MB / 0.6257 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000698/1.875, allocations: 41 kB / 0.6257 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04226/1.918, allocations: 14.28 MB / 0.6396 GB, free: 5.117 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.918, allocations: 3.938 kB / 0.6396 GB, free: 5.113 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3235/2.241, allocations: 11.54 MB / 0.6509 GB, free: 158.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003447/2.245, allocations: 0.9306 MB / 0.6518 GB, free: 158.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/2.246, allocations: 38.58 kB / 0.6519 GB, free: 158.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004506/2.251, allocations: 192.3 kB / 0.652 GB, free: 158.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/2.252, allocations: 151.1 kB / 0.6522 GB, free: 158.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003473/2.252, allocations: 69.47 kB / 0.6523 GB, free: 158.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008011/2.26, allocations: 2.915 MB / 0.6551 GB, free: 157.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.26, allocations: 0 / 0.6551 GB, free: 157.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008226/2.269, allocations: 1.326 MB / 0.6564 GB, free: 157.1 MB / 458.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.001235/2.27, allocations: 193.8 kB / 0.6566 GB, free: 156.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02043/2.29, allocations: 7.778 MB / 0.6642 GB, free: 154.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/2.29, allocations: 0 / 0.6642 GB, free: 154.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008033/2.298, allocations: 3.121 MB / 0.6672 GB, free: 152.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004029/2.303, allocations: 461.3 kB / 0.6677 GB, free: 152.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02963/2.332, allocations: 14.12 MB / 0.6815 GB, free: 145.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006409/2.339, allocations: 3.756 MB / 0.6851 GB, free: 144.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002183/2.341, allocations: 335.6 kB / 0.6854 GB, free: 144.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/2.341, allocations: 0 / 0.6854 GB, free: 144.3 MB / 458.7 MB Notification: Performance of Templates: time 0.1522/2.493, allocations: 88.5 MB / 0.7719 GB, free: 57.45 MB / 458.7 MB