Running command: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 270 MB / 282.7 MB, free: 1.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.152e-05, allocations: 4 kB / 347 MB, free: 3.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3632, allocations: 61.88 MB / 408.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.5228, allocations: 104.7 MB / 0.5015 GB, free: 1.953 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.5231, allocations: 71.97 kB / 0.5016 GB, free: 1.883 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7166/1.24, allocations: 96.63 MB / 0.596 GB, free: 43.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.944e-06/1.24, allocations: 0 / 0.596 GB, free: 43.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001482/1.24, allocations: 84 kB / 0.596 GB, free: 43.72 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01111/1.251, allocations: 4.231 MB / 0.6002 GB, free: 39.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.251, allocations: 16.03 kB / 0.6002 GB, free: 39.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/1.27, allocations: 3.606 MB / 0.6037 GB, free: 35.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/1.282, allocations: 4.334 MB / 0.6079 GB, free: 31.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/1.282, allocations: 340.8 kB / 0.6083 GB, free: 31.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/1.284, allocations: 439.9 kB / 0.6087 GB, free: 30.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02347/1.307, allocations: 11.6 MB / 0.62 GB, free: 18.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/1.307, allocations: 27.75 kB / 0.62 GB, free: 18.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008485/1.308, allocations: 203.9 kB / 0.6202 GB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001867/1.31, allocations: 1.341 MB / 0.6216 GB, free: 16.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/1.334, allocations: 11.07 MB / 0.6324 GB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07301/1.407, allocations: 41.55 MB / 0.6729 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/1.423, allocations: 5.904 MB / 0.6787 GB, free: 5.145 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/1.428, allocations: 2.98 MB / 0.6816 GB, free: 2.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002401/1.431, allocations: 1.88 MB / 0.6835 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/1.431, allocations: 56.67 kB / 0.6835 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=262): time 6.798e-06/1.431, allocations: 3.938 kB / 0.6835 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=283): time 0.05594/1.487, allocations: 16.57 MB / 0.6997 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/1.487, allocations: 81.41 kB / 0.6998 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005645/1.492, allocations: 2.666 MB / 0.7024 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005308/1.493, allocations: 61.7 kB / 0.7024 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002782/1.496, allocations: 2.96 MB / 0.7053 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/1.497, allocations: 1.021 MB / 0.7063 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004638/1.498, allocations: 108 kB / 0.7064 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005437/1.498, allocations: 0.5668 MB / 0.707 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005679/1.504, allocations: 2.757 MB / 0.7097 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3083/1.812, allocations: 5.864 MB / 0.7154 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008226/1.821, allocations: 4.062 MB / 0.7194 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001489/1.821, allocations: 32.28 kB / 0.7194 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.02251/1.843, allocations: 9.474 MB / 0.7286 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.843, allocations: 52.34 kB / 0.7287 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/1.844, allocations: 108.9 kB / 0.7288 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/1.848, allocations: 1.38 MB / 0.7301 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006557/1.855, allocations: 1.376 MB / 0.7315 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/1.867, allocations: 7.198 MB / 0.7385 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00563/1.872, allocations: 406.5 kB / 0.7389 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009932/1.873, allocations: 340.5 kB / 0.7392 GB, free: 126.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.headAtOrigin,axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 707 * Array equations: 6 * 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 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001156/1.875, allocations: 0.5305 MB / 0.7397 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006254/1.875, allocations: 308.8 kB / 0.74 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/1.889, allocations: 6.572 MB / 0.7465 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.641e-05/1.889, allocations: 58.77 kB / 0.7465 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.889, allocations: 3.906 kB / 0.7465 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.743e-05/1.889, allocations: 10.69 kB / 0.7465 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02875/1.918, allocations: 13.98 MB / 0.7602 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/1.918, allocations: 11.62 kB / 0.7602 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/1.921, allocations: 456.4 kB / 0.7606 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004491/1.926, allocations: 1.206 MB / 0.7618 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004861/1.926, allocations: 53.08 kB / 0.7619 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/1.937, allocations: 6.521 MB / 0.7682 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/1.937, allocations: 15.22 kB / 0.7682 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/1.954, allocations: 10.37 MB / 0.7784 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008759/1.955, allocations: 355.4 kB / 0.7787 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008218/1.956, allocations: 52.2 kB / 0.7788 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/1.958, allocations: 199.3 kB / 0.7789 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004863/1.959, allocations: 164.3 kB / 0.7791 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002943/1.959, allocations: 80.41 kB / 0.7792 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003145/1.962, allocations: 1.813 MB / 0.7809 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.71e-07/1.962, allocations: 0 / 0.7809 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006126/1.968, allocations: 1.143 MB / 0.7821 GB, free: 106.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006629/1.969, allocations: 193.5 kB / 0.7822 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.981, allocations: 6.638 MB / 0.7887 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.323e-06/1.981, allocations: 0 / 0.7887 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004363/1.985, allocations: 2.704 MB / 0.7914 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/1.987, allocations: 368.3 kB / 0.7917 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/2.008, allocations: 10.13 MB / 0.8016 GB, free: 88.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006188/2.014, allocations: 3.683 MB / 0.8052 GB, free: 85.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001796/2.016, allocations: 293 kB / 0.8055 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of SimCode: time 2.075e-06/2.016, allocations: 0 / 0.8055 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.1111/2.127, allocations: 79.58 MB / 0.8832 GB, free: 10.2 MB / 0.5105 GB