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_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 270.1 MB / 283.6 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.327e-05/3.338e-05, allocations: 4 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 61.88 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5452/0.6565, allocations: 110.1 MB / 0.5082 GB, free: 9.992 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003892/0.657, allocations: 75.95 kB / 0.5082 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4041/1.061, allocations: 100.4 MB / 0.6063 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.2e-06/1.061, allocations: 0 / 0.6063 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002774/1.061, allocations: 91.98 kB / 0.6064 GB, free: 4.777 MB / 0.5105 GB 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.3167/1.378, allocations: 5.106 MB / 0.6114 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.378, allocations: 9.25 kB / 0.6114 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02704/1.405, allocations: 4.607 MB / 0.6159 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/1.424, allocations: 5.774 MB / 0.6215 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004659/1.425, allocations: 345.6 kB / 0.6218 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/1.427, allocations: 462.5 kB / 0.6223 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.033/1.46, allocations: 12.55 MB / 0.6345 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003045/1.46, allocations: 63.53 kB / 0.6346 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/1.462, allocations: 229.6 kB / 0.6348 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002473/1.465, allocations: 1.268 MB / 0.6361 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02684/1.492, allocations: 10.55 MB / 0.6464 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07211/1.564, allocations: 55.8 MB / 0.7008 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02011/1.584, allocations: 5.91 MB / 0.7066 GB, free: 69.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004757/1.589, allocations: 3.024 MB / 0.7096 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02455/1.613, allocations: 13.03 MB / 0.7223 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/1.613, allocations: 57.5 kB / 0.7224 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=193): time 6.5e-06/1.613, allocations: 0 / 0.7224 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=254): time 0.1186/1.732, allocations: 30.46 MB / 0.7521 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/1.732, allocations: 212.7 kB / 0.7523 GB, free: 38.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007329/1.739, allocations: 3.82 MB / 0.756 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005762/1.74, allocations: 61.7 kB / 0.7561 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002402/1.742, allocations: 3.441 MB / 0.7595 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.744, allocations: 0.9475 MB / 0.7604 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007451/1.744, allocations: 136 kB / 0.7605 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004537/1.745, allocations: 0.5948 MB / 0.7611 GB, free: 30.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005727/1.751, allocations: 2.99 MB / 0.764 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00783/1.758, allocations: 6.862 MB / 0.7707 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007813/1.766, allocations: 4.495 MB / 0.7751 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/1.766, allocations: 36 kB / 0.7751 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02949/1.796, allocations: 12.01 MB / 0.7869 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.796, allocations: 66.66 kB / 0.7869 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/1.796, allocations: 140 kB / 0.7871 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01287/1.809, allocations: 3.219 MB / 0.7902 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007812/1.817, allocations: 1.552 MB / 0.7917 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04524/1.862, allocations: 14.94 MB / 0.8063 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/1.874, allocations: 475.3 kB / 0.8068 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002113/1.876, allocations: 404 kB / 0.8071 GB, free: 13.03 MB / 0.5417 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.002671/1.879, allocations: 0.6185 MB / 0.8077 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.88, allocations: 406.6 kB / 0.8081 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02214/1.902, allocations: 7.363 MB / 0.8153 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.556e-05/1.902, allocations: 32 kB / 0.8154 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.643e-05/1.902, allocations: 12 kB / 0.8154 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-05/1.902, allocations: 11.95 kB / 0.8154 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3872/2.29, allocations: 14.97 MB / 0.83 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/2.29, allocations: 0.5625 kB / 0.83 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/2.292, allocations: 386.3 kB / 0.8304 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/2.304, allocations: 2.87 MB / 0.8332 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005163/2.305, allocations: 45.11 kB / 0.8332 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02504/2.33, allocations: 13.24 MB / 0.8461 GB, free: 130.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.915e-06/2.33, allocations: 0 / 0.8461 GB, free: 130.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02458/2.354, allocations: 11.32 MB / 0.8572 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/2.356, allocations: 452.6 kB / 0.8576 GB, free: 129 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008296/2.357, allocations: 40.14 kB / 0.8577 GB, free: 129 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002668/2.359, allocations: 199.8 kB / 0.8579 GB, free: 129 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006728/2.36, allocations: 156.6 kB / 0.858 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003008/2.36, allocations: 67.47 kB / 0.8581 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005042/2.365, allocations: 2.656 MB / 0.8607 GB, free: 128 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.83e-07/2.365, allocations: 0 / 0.8607 GB, free: 128 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00741/2.373, allocations: 1.315 MB / 0.8619 GB, free: 127.8 MB / 0.5417 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.0006772/2.373, allocations: 190.5 kB / 0.8621 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01464/2.388, allocations: 7.431 MB / 0.8694 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.658e-06/2.388, allocations: 2.188 kB / 0.8694 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005986/2.394, allocations: 2.999 MB / 0.8723 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/2.397, allocations: 462 kB / 0.8728 GB, free: 124 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/2.418, allocations: 9.771 MB / 0.8823 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00635/2.425, allocations: 3.763 MB / 0.886 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007564/2.432, allocations: 2.18 MB / 0.8881 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/2.434, allocations: 284.3 kB / 0.8884 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.198e-06/2.434, allocations: 0 / 0.8884 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.1248/2.559, allocations: 52.91 MB / 0.94 GB, free: 88.7 MB / 0.5417 GB