Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 270 MB / 282.7 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.161e-05, allocations: 4 kB / 347 MB, free: 3.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3272, allocations: 61.88 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.495, allocations: 110.1 MB / 0.5068 GB, free: 12.53 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4953, allocations: 75.95 kB / 0.5068 GB, free: 12.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6166/1.112, allocations: 100.4 MB / 0.6049 GB, free: 35.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.153e-06/1.112, allocations: 0 / 0.6049 GB, free: 35.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002125/1.112, allocations: 95.98 kB / 0.605 GB, free: 35.42 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.01507/1.127, allocations: 5.11 MB / 0.6099 GB, free: 30.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.127, allocations: 11.97 kB / 0.61 GB, free: 30.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02273/1.15, allocations: 4.611 MB / 0.6145 GB, free: 25.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/1.166, allocations: 5.768 MB / 0.6201 GB, free: 19.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000381/1.166, allocations: 353 kB / 0.6204 GB, free: 19.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/1.168, allocations: 467.8 kB / 0.6209 GB, free: 18.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02801/1.196, allocations: 12.55 MB / 0.6331 GB, free: 5.328 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002436/1.197, allocations: 71.3 kB / 0.6332 GB, free: 5.258 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/1.198, allocations: 223.9 kB / 0.6334 GB, free: 5.039 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001931/1.2, allocations: 1.257 MB / 0.6346 GB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02752/1.228, allocations: 10.56 MB / 0.6449 GB, free: 9.211 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08828/1.316, allocations: 55.81 MB / 0.6994 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02104/1.337, allocations: 5.905 MB / 0.7052 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005662/1.343, allocations: 3.015 MB / 0.7082 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.326/1.669, allocations: 13.03 MB / 0.7209 GB, free: 126 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/1.669, allocations: 59.92 kB / 0.7209 GB, free: 126 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=193): time 6.602e-06/1.669, allocations: 3.594 kB / 0.7209 GB, free: 126 MB / 0.5105 GB Notification: Performance of matching and sorting (n=254): time 0.1042/1.773, allocations: 30.46 MB / 0.7507 GB, free: 123 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/1.773, allocations: 208.7 kB / 0.7509 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006748/1.78, allocations: 3.814 MB / 0.7546 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005489/1.78, allocations: 63.73 kB / 0.7547 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001941/1.782, allocations: 3.338 MB / 0.7579 GB, free: 120 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/1.783, allocations: 0.9517 MB / 0.7589 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005171/1.784, allocations: 138 kB / 0.759 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003624/1.784, allocations: 0.5946 MB / 0.7596 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005042/1.789, allocations: 2.995 MB / 0.7625 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006821/1.796, allocations: 6.858 MB / 0.7692 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007555/1.804, allocations: 4.483 MB / 0.7736 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.966e-05/1.804, allocations: 40.09 kB / 0.7736 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02719/1.831, allocations: 11.88 MB / 0.7852 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.831, allocations: 64 kB / 0.7853 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/1.831, allocations: 139.9 kB / 0.7854 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/1.842, allocations: 3.207 MB / 0.7885 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006553/1.849, allocations: 1.553 MB / 0.7901 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02544/1.874, allocations: 14.95 MB / 0.8047 GB, free: 87.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007232/1.882, allocations: 474.1 kB / 0.8051 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/1.883, allocations: 407.7 kB / 0.8055 GB, free: 86.83 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.001452/1.885, allocations: 0.6167 MB / 0.8061 GB, free: 86.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009609/1.886, allocations: 406.1 kB / 0.8065 GB, free: 85.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/1.903, allocations: 7.367 MB / 0.8137 GB, free: 80.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-05/1.903, allocations: 26.89 kB / 0.8137 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.308e-05/1.903, allocations: 12 kB / 0.8137 GB, free: 80.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.632e-05/1.903, allocations: 13.55 kB / 0.8137 GB, free: 80.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03316/1.937, allocations: 14.98 MB / 0.8284 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/1.937, allocations: 0 / 0.8284 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/1.939, allocations: 379.5 kB / 0.8287 GB, free: 67.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0102/1.949, allocations: 2.864 MB / 0.8315 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005003/1.95, allocations: 44.53 kB / 0.8316 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02286/1.973, allocations: 13.25 MB / 0.8445 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.033e-06/1.973, allocations: 3.984 kB / 0.8445 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02267/1.995, allocations: 11.32 MB / 0.8556 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/1.997, allocations: 462.6 kB / 0.856 GB, free: 39.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008377/1.998, allocations: 40 kB / 0.856 GB, free: 39.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002668/2, allocations: 203.6 kB / 0.8562 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000576/2.001, allocations: 145.8 kB / 0.8564 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002982/2.001, allocations: 67.98 kB / 0.8564 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004813/2.006, allocations: 2.655 MB / 0.859 GB, free: 36.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.187e-06/2.006, allocations: 4 kB / 0.859 GB, free: 36.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007247/2.013, allocations: 1.313 MB / 0.8603 GB, free: 34.98 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.0006344/2.014, allocations: 185.3 kB / 0.8605 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01431/2.028, allocations: 7.433 MB / 0.8678 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.433e-06/2.028, allocations: 4 kB / 0.8678 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005609/2.034, allocations: 2.997 MB / 0.8707 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/2.037, allocations: 466.2 kB / 0.8711 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/2.058, allocations: 10.3 MB / 0.8812 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00639/2.065, allocations: 3.773 MB / 0.8849 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/2.067, allocations: 331.4 kB / 0.8852 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of SimCode: time 1.89e-06/2.067, allocations: 0 / 0.8852 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of Templates: time 0.4419/2.509, allocations: 86.92 MB / 0.9701 GB, free: 116.1 MB / 0.5261 GB