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.3_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.635e-05/5.649e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3785, allocations: 58.82 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.544, allocations: 108.2 MB / 490.4 MB, free: 276 kB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5443, allocations: 75.97 kB / 490.5 MB, free: 200 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6472/1.191, allocations: 99.2 MB / 0.5759 GB, free: 100.3 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.318e-06/1.192, allocations: 3.984 kB / 0.5759 GB, free: 100.3 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002281/1.192, allocations: 92 kB / 0.576 GB, free: 100.2 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01546/1.207, allocations: 5.13 MB / 0.581 GB, free: 95.07 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.207, allocations: 11.97 kB / 0.581 GB, free: 95.05 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02546/1.233, allocations: 4.622 MB / 0.5855 GB, free: 90.42 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/1.25, allocations: 6.061 MB / 0.5914 GB, free: 84.36 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/1.25, allocations: 349.1 kB / 0.5918 GB, free: 84.01 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001867/1.252, allocations: 467.6 kB / 0.5922 GB, free: 83.55 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02824/1.28, allocations: 12.55 MB / 0.6045 GB, free: 69.91 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002563/1.28, allocations: 63.41 kB / 0.6045 GB, free: 69.85 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001525/1.282, allocations: 231.8 kB / 0.6047 GB, free: 69.62 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002009/1.284, allocations: 1.265 MB / 0.606 GB, free: 68.36 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02483/1.309, allocations: 10.55 MB / 0.6163 GB, free: 57.79 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06504/1.374, allocations: 55.84 MB / 0.6708 GB, free: 204 kB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02125/1.395, allocations: 5.901 MB / 0.6766 GB, free: 10.14 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005764/1.401, allocations: 3.037 MB / 0.6795 GB, free: 7.098 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02819/1.429, allocations: 13.06 MB / 0.6923 GB, free: 9.703 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/1.429, allocations: 55.88 kB / 0.6923 GB, free: 9.641 MB / 490.8 MB Notification: Performance of pre-optimization done (n=193): time 9.761e-06/1.429, allocations: 0 / 0.6923 GB, free: 9.641 MB / 490.8 MB Notification: Performance of matching and sorting (n=254): time 0.4115/1.841, allocations: 30.55 MB / 0.7222 GB, free: 138.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/1.841, allocations: 207.7 kB / 0.7224 GB, free: 138.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007828/1.849, allocations: 3.849 MB / 0.7261 GB, free: 138 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005586/1.849, allocations: 62.55 kB / 0.7262 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002428/1.852, allocations: 3.449 MB / 0.7296 GB, free: 136.6 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.853, allocations: 0.9455 MB / 0.7305 GB, free: 136 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006587/1.854, allocations: 135.6 kB / 0.7306 GB, free: 136 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003937/1.854, allocations: 0.5989 MB / 0.7312 GB, free: 135.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005838/1.86, allocations: 2.99 MB / 0.7341 GB, free: 135.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008045/1.868, allocations: 6.863 MB / 0.7408 GB, free: 130.7 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008421/1.877, allocations: 4.491 MB / 0.7452 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/1.877, allocations: 37.28 kB / 0.7452 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02941/1.906, allocations: 12.02 MB / 0.757 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.906, allocations: 64.81 kB / 0.757 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001517/1.907, allocations: 139.5 kB / 0.7572 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01124/1.918, allocations: 3.208 MB / 0.7603 GB, free: 125.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006619/1.924, allocations: 1.549 MB / 0.7618 GB, free: 125.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02837/1.953, allocations: 14.95 MB / 0.7764 GB, free: 118.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007306/1.96, allocations: 473.6 kB / 0.7769 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/1.962, allocations: 405.9 kB / 0.7773 GB, free: 117.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (809): * Single equations (assignments): 805 * 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.001549/1.963, allocations: 0.6259 MB / 0.7779 GB, free: 117.2 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009912/1.964, allocations: 409 kB / 0.7783 GB, free: 116.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0172/1.981, allocations: 7.369 MB / 0.7855 GB, free: 111.1 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.004e-05/1.981, allocations: 25.09 kB / 0.7855 GB, free: 111.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/1.982, allocations: 12 kB / 0.7855 GB, free: 111.1 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.169e-05/1.982, allocations: 9.891 kB / 0.7855 GB, free: 111.1 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03319/2.015, allocations: 14.98 MB / 0.8001 GB, free: 99.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.083e-05/2.015, allocations: 7.938 kB / 0.8001 GB, free: 99.15 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002426/2.017, allocations: 380.1 kB / 0.8005 GB, free: 98.85 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/2.028, allocations: 2.868 MB / 0.8033 GB, free: 96.93 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005069/2.028, allocations: 42.19 kB / 0.8033 GB, free: 96.89 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03879/2.067, allocations: 13.25 MB / 0.8163 GB, free: 84.29 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.173e-06/2.067, allocations: 3.953 kB / 0.8163 GB, free: 84.29 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05355/2.121, allocations: 11.32 MB / 0.8273 GB, free: 72.87 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003104/2.124, allocations: 0.9135 MB / 0.8282 GB, free: 71.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009627/2.125, allocations: 45.16 kB / 0.8283 GB, free: 71.89 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003004/2.128, allocations: 207.5 kB / 0.8285 GB, free: 71.69 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008023/2.129, allocations: 153.7 kB / 0.8286 GB, free: 71.54 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000297/2.129, allocations: 61.41 kB / 0.8287 GB, free: 71.48 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005524/2.135, allocations: 2.676 MB / 0.8313 GB, free: 68.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.86e-07/2.135, allocations: 4 kB / 0.8313 GB, free: 68.79 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007813/2.143, allocations: 1.322 MB / 0.8326 GB, free: 67.48 MB / 0.4949 GB 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.0007762/2.143, allocations: 184 kB / 0.8328 GB, free: 67.3 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01443/2.158, allocations: 7.432 MB / 0.84 GB, free: 59.89 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.18e-06/2.158, allocations: 0 / 0.84 GB, free: 59.89 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005862/2.164, allocations: 3.009 MB / 0.843 GB, free: 56.88 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/2.167, allocations: 462.8 kB / 0.8434 GB, free: 56.43 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/2.187, allocations: 9.783 MB / 0.853 GB, free: 46.62 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005197/2.192, allocations: 3.779 MB / 0.8566 GB, free: 42.84 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.007038/2.199, allocations: 2.184 MB / 0.8588 GB, free: 40.65 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/2.201, allocations: 283.4 kB / 0.859 GB, free: 40.38 MB / 0.4949 GB Notification: Performance of SimCode: time 2.513e-06/2.201, allocations: 0 / 0.859 GB, free: 40.38 MB / 0.4949 GB Notification: Performance of Templates: time 0.4865/2.687, allocations: 52.94 MB / 0.9107 GB, free: 142.9 MB / 0.5105 GB