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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.419/2.419, allocations: 270 MB / 283.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.752e-05, allocations: 8 kB / 348.4 MB, free: 2.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3903, allocations: 61.87 MB / 410.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/0.6234, allocations: 110.1 MB / 0.5082 GB, free: 12.55 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.6237, allocations: 79.94 kB / 0.5082 GB, free: 12.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6915/1.315, allocations: 100.4 MB / 0.6063 GB, free: 35.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.093e-06/1.315, allocations: 4 kB / 0.6063 GB, free: 35.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002394/1.315, allocations: 88 kB / 0.6063 GB, free: 35.5 MB / 442.7 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.0164/1.332, allocations: 5.113 MB / 0.6113 GB, free: 30.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.332, allocations: 12.03 kB / 0.6113 GB, free: 30.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0259/1.358, allocations: 4.615 MB / 0.6159 GB, free: 25.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01691/1.375, allocations: 5.764 MB / 0.6215 GB, free: 19.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/1.375, allocations: 357 kB / 0.6218 GB, free: 19.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002076/1.377, allocations: 459.8 kB / 0.6223 GB, free: 19.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02982/1.407, allocations: 12.55 MB / 0.6345 GB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002458/1.408, allocations: 67.31 kB / 0.6346 GB, free: 5.336 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001675/1.409, allocations: 227.8 kB / 0.6348 GB, free: 5.113 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/1.411, allocations: 1.273 MB / 0.636 GB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02851/1.44, allocations: 10.54 MB / 0.6463 GB, free: 9.281 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09079/1.531, allocations: 55.81 MB / 0.7008 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02215/1.553, allocations: 5.906 MB / 0.7066 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005776/1.559, allocations: 3.022 MB / 0.7096 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3402/1.899, allocations: 13.03 MB / 0.7223 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/1.899, allocations: 58.83 kB / 0.7223 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=193): time 6.526e-06/1.899, allocations: 0 / 0.7223 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=254): time 0.1209/2.02, allocations: 30.47 MB / 0.7521 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/2.02, allocations: 208.8 kB / 0.7523 GB, free: 122 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007299/2.027, allocations: 3.814 MB / 0.756 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005537/2.028, allocations: 61.2 kB / 0.7561 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002375/2.03, allocations: 3.447 MB / 0.7594 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001141/2.032, allocations: 0.9437 MB / 0.7604 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005734/2.032, allocations: 136.4 kB / 0.7605 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003777/2.033, allocations: 0.5927 MB / 0.7611 GB, free: 118 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005839/2.038, allocations: 2.992 MB / 0.764 GB, free: 117 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009611/2.048, allocations: 6.861 MB / 0.7707 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008719/2.057, allocations: 4.482 MB / 0.7751 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/2.057, allocations: 46.7 kB / 0.7751 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.03104/2.088, allocations: 12.02 MB / 0.7868 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/2.088, allocations: 64 kB / 0.7869 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001433/2.088, allocations: 139.9 kB / 0.787 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/2.1, allocations: 3.205 MB / 0.7902 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00718/2.107, allocations: 1.557 MB / 0.7917 GB, free: 99.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02689/2.134, allocations: 14.94 MB / 0.8063 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007678/2.142, allocations: 472.5 kB / 0.8067 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/2.143, allocations: 411.3 kB / 0.8071 GB, free: 85.75 MB / 0.5105 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.001567/2.145, allocations: 0.609 MB / 0.8077 GB, free: 85.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000982/2.146, allocations: 406.8 kB / 0.8081 GB, free: 84.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01805/2.164, allocations: 7.363 MB / 0.8153 GB, free: 79.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.237e-05/2.164, allocations: 24.7 kB / 0.8153 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/2.164, allocations: 12 kB / 0.8153 GB, free: 79.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.385e-05/2.164, allocations: 14.78 kB / 0.8154 GB, free: 79.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03332/2.197, allocations: 14.98 MB / 0.83 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/2.197, allocations: 0 / 0.83 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002543/2.2, allocations: 387.4 kB / 0.8303 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01056/2.211, allocations: 2.868 MB / 0.8331 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005021/2.211, allocations: 40.86 kB / 0.8332 GB, free: 63.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02322/2.234, allocations: 13.25 MB / 0.8461 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.364e-06/2.234, allocations: 0 / 0.8461 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02338/2.258, allocations: 11.32 MB / 0.8572 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/2.259, allocations: 455.2 kB / 0.8576 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/2.26, allocations: 40.86 kB / 0.8577 GB, free: 38.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003617/2.264, allocations: 203.6 kB / 0.8579 GB, free: 37.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007831/2.265, allocations: 154.3 kB / 0.858 GB, free: 37.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003025/2.265, allocations: 64.7 kB / 0.8581 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005543/2.271, allocations: 2.655 MB / 0.8607 GB, free: 35.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.73e-07/2.271, allocations: 0 / 0.8607 GB, free: 35.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00761/2.278, allocations: 1.314 MB / 0.8619 GB, free: 33.78 MB / 0.5105 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.0007891/2.279, allocations: 191.8 kB / 0.8621 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01499/2.294, allocations: 7.442 MB / 0.8694 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/2.294, allocations: 0 / 0.8694 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005948/2.3, allocations: 3 MB / 0.8723 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/2.303, allocations: 459.5 kB / 0.8728 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/2.325, allocations: 9.754 MB / 0.8823 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006671/2.332, allocations: 3.777 MB / 0.886 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007461/2.339, allocations: 2.176 MB / 0.8881 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/2.341, allocations: 279.4 kB / 0.8884 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of SimCode: time 1.969e-06/2.341, allocations: 4 kB / 0.8884 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of Templates: time 0.4828/2.823, allocations: 52.89 MB / 0.94 GB, free: 127.2 MB / 0.5261 GB