Running command: translateModel(ModelicaTest.MultiBody.Joints.Universal,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.Universal") Notification: Performance of loadModel(ModelicaTest): time 2.535/2.535, allocations: 270.1 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.247e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1796, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4369/0.6166, allocations: 104.7 MB / 0.5029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.6169, allocations: 76.7 kB / 0.503 GB, free: 15.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3761/0.993, allocations: 96.65 MB / 0.5974 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.443e-06/0.9931, allocations: 4 kB / 0.5974 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002081/0.9933, allocations: 83.94 kB / 0.5975 GB, free: 13.89 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.02157/1.015, allocations: 4.235 MB / 0.6016 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.67e-05/1.015, allocations: 12.03 kB / 0.6016 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03794/1.053, allocations: 3.613 MB / 0.6051 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02725/1.08, allocations: 4.33 MB / 0.6094 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009325/1.081, allocations: 336.8 kB / 0.6097 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003551/1.085, allocations: 443.8 kB / 0.6101 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3412/1.426, allocations: 11.6 MB / 0.6214 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002241/1.426, allocations: 38.33 kB / 0.6215 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001836/1.428, allocations: 201.7 kB / 0.6217 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002479/1.431, allocations: 1.335 MB / 0.623 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/1.459, allocations: 11.07 MB / 0.6338 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06751/1.526, allocations: 41.55 MB / 0.6744 GB, free: 96.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/1.541, allocations: 5.902 MB / 0.6801 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004759/1.546, allocations: 2.975 MB / 0.683 GB, free: 92.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/1.548, allocations: 1.887 MB / 0.6849 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/1.548, allocations: 66.83 kB / 0.6849 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=262): time 7.717e-06/1.548, allocations: 0 / 0.6849 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=283): time 0.06371/1.611, allocations: 16.57 MB / 0.7011 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/1.612, allocations: 75.47 kB / 0.7012 GB, free: 86.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008034/1.62, allocations: 2.664 MB / 0.7038 GB, free: 84.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007334/1.62, allocations: 62.64 kB / 0.7038 GB, free: 84.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003069/1.623, allocations: 2.989 MB / 0.7068 GB, free: 82.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001941/1.625, allocations: 1.013 MB / 0.7078 GB, free: 81.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008814/1.626, allocations: 117.1 kB / 0.7079 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006412/1.627, allocations: 0.5624 MB / 0.7084 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009758/1.637, allocations: 2.755 MB / 0.7111 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01245/1.649, allocations: 5.865 MB / 0.7168 GB, free: 71.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007045/1.656, allocations: 4.065 MB / 0.7208 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.749e-05/1.657, allocations: 32 kB / 0.7208 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.02103/1.678, allocations: 9.547 MB / 0.7302 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/1.678, allocations: 54.66 kB / 0.7302 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/1.678, allocations: 112 kB / 0.7303 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008977/1.687, allocations: 1.377 MB / 0.7317 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01404/1.701, allocations: 1.388 MB / 0.733 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02621/1.727, allocations: 7.18 MB / 0.74 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01291/1.74, allocations: 404.3 kB / 0.7404 GB, free: 50.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00229/1.743, allocations: 344.5 kB / 0.7407 GB, free: 50.55 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.002438/1.745, allocations: 0.5258 MB / 0.7413 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/1.746, allocations: 300.1 kB / 0.7415 GB, free: 49.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02517/1.772, allocations: 6.578 MB / 0.748 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.688e-05/1.772, allocations: 52.72 kB / 0.748 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/1.772, allocations: 4 kB / 0.748 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.948e-05/1.772, allocations: 11.62 kB / 0.748 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04382/1.816, allocations: 13.98 MB / 0.7617 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/1.816, allocations: 8 kB / 0.7617 GB, free: 32.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004944/1.821, allocations: 455.3 kB / 0.7621 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007661/1.828, allocations: 1.212 MB / 0.7633 GB, free: 30.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007901/1.829, allocations: 53 kB / 0.7634 GB, free: 30.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01793/1.847, allocations: 6.514 MB / 0.7697 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.527e-05/1.847, allocations: 11.94 kB / 0.7697 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03386/1.881, allocations: 10.38 MB / 0.7799 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.883, allocations: 357.1 kB / 0.7802 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001856/1.885, allocations: 48 kB / 0.7803 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003511/1.888, allocations: 201.6 kB / 0.7805 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005518/1.889, allocations: 169.5 kB / 0.7806 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002971/1.889, allocations: 82.52 kB / 0.7807 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003189/1.892, allocations: 1.82 MB / 0.7825 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.079e-06/1.892, allocations: 0 / 0.7825 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005966/1.898, allocations: 1.138 MB / 0.7836 GB, free: 9.191 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.0005986/1.899, allocations: 202.4 kB / 0.7838 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01163/1.911, allocations: 6.627 MB / 0.7902 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.104e-06/1.911, allocations: 0 / 0.7902 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004813/1.916, allocations: 2.707 MB / 0.7929 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/1.918, allocations: 365.8 kB / 0.7932 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/1.943, allocations: 9.621 MB / 0.8026 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009132/1.953, allocations: 3.675 MB / 0.8062 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.3124/2.265, allocations: 2.192 MB / 0.8084 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/2.267, allocations: 235 kB / 0.8086 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.961e-06/2.267, allocations: 0 / 0.8086 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.1062/2.373, allocations: 38.52 MB / 0.8462 GB, free: 121.9 MB / 0.5261 GB "" Variables in the reference:time,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b Variables in the result:axis1.animation,axis1.quantity,axis1.specularCoefficient,axis2.animation,axis2.quantity,axis2.specularCoefficient,body.I[1,1],body.I[1,2],body.I[1,3],body.I[2,1],body.I[2,2],body.I[2,3],body.I[3,1],body.I[3,2],body.I[3,3],body.I_11,body.I_21,body.I_22,body.I_31,body.I_32,body.I_33,body.Q_start[1],body.Q_start[2],body.Q_start[3],body.Q_start[4],body.R_start.T[1,1],body.R_start.T[1,2],body.R_start.T[1,3],body.R_start.T[2,1],body.R_start.T[2,2],body.R_start.T[2,3],body.R_start.T[3,1],body.R_start.T[3,2],body.R_start.T[3,3],body.R_start.w[1],body.R_start.w[2],body.R_start.w[3],body.angles_fixed,body.angles_start[1],body.angles_start[2],body.angles_start[3],body.animation,body.cylinder.height,body.cylinder.lengthDirection[1],body.cylinder.lengthDirection[2],body.cylinder.lengthDirection[3],body.cylinder.specularCoefficient,body.cylinder.width,body.cylinderDiameter,body.enforceStates,body.m,body.phi_start[1],body.phi_start[2],body.phi_start[3],body.r_CM[1],body.r_CM[2],body.r_CM[3],body.sequence_angleStates[1],body.sequence_angleStates[2],body.sequence_angleStates[3],body.sequence_start[1],body.sequence_start[2],body.sequence_start[3],body.specularCoefficient,body.sphere.height,body.sphere.length,body.sphere.r_shape[2],body.sphere.r_shape[3],body.sphere.specularCoefficient,body.sphere.width,body.sphereDiameter,body.useQuaternions,body.w_0_fixed,body.w_0_start[1],body.w_0_start[2],body.w_0_start[3],body.z_0_fixed,body.z_0_start[1],body.z_0_start[2],body.z_0_start[3],frame_a.animation,frame_a.animation2,frame_a.showLabels,frame_a.showLabels2,frame_a.specularCoefficient,frame_a.x_arrowHead.specularCoefficient,frame_a.x_arrowLine.specularCoefficient,frame_a.x_label.cylinders[1].specularCoefficient,frame_a.x_label.cylinders[2].specularCoefficient,frame_a.x_label.n,frame_a.x_label.specularCoefficient,frame_a.y_arrowHead.specularCoefficient,frame_a.y_arrowLine.specularCoefficient,frame_a.y_label.cylinders[1].specularCoefficient,frame_a.y_label.cylinders[2].specularCoefficient,frame_a.y_label.n,frame_a.y_label.specularCoefficient,frame_a.z_arrowHead.specularCoefficient,frame_a.z_arrowLine.specularCoefficient,frame_a.z_label.cylinders[1].specularCoefficient,frame_a.z_label.cylinders[2].specularCoefficient,frame_a.z_label.cylinders[3].specularCoefficient,frame_a.z_label.n,frame_a.z_label.specularCoefficient,frame_a1.animation,frame_a1.animation2,frame_a1.showLabels,frame_a1.showLabels2,frame_a1.specularCoefficient,frame_a1.x_arrowHead.specularCoefficient,frame_a1.x_arrowLine.specularCoefficient,frame_a1.x_label.cylinders[1].specularCoefficient,frame_a1.x_label.cylinders[2].specularCoefficient,frame_a1.x_label.n,frame_a1.x_label.specularCoefficient,frame_a1.y_arrowHead.specularCoefficient,frame_a1.y_arrowLine.specularCoefficient,frame_a1.y_label.cylinders[1].specularCoefficient,frame_a1.y_label.cylinders[2].specularCoefficient,frame_a1.y_label.n,frame_a1.y_label.specularCoefficient,frame_a1.z_arrowHead.specularCoefficient,frame_a1.z_arrowLine.specularCoefficient,frame_a1.z_label.cylinders[1].specularCoefficient,frame_a1.z_label.cylinders[2].specularCoefficient,frame_a1.z_label.cylinders[3].specularCoefficient,frame_a1.z_label.n,frame_a1.z_label.specularCoefficient,time,universal.animation,universal.cylinderDiameter,universal.cylinderLength,universal.n_a[1],universal.n_a[2],universal.n_a[3],universal.n_b[1],universal.n_b[2],universal.n_b[3],universal.phi_a,universal.phi_b,universal.revolute_a.animation,universal.revolute_a.constantTorque.flange.tau,universal.revolute_a.constantTorque.tau,universal.revolute_a.constantTorque.tau_constant,universal.revolute_a.constantTorque.useSupport,universal.revolute_a.cylinder.height,universal.revolute_a.cylinder.length,universal.revolute_a.cylinder.lengthDirection[1],universal.revolute_a.cylinder.lengthDirection[2],universal.revolute_a.cylinder.lengthDirection[3],universal.revolute_a.cylinder.specularCoefficient,universal.revolute_a.cylinder.width,universal.revolute_a.cylinderDiameter,universal.revolute_a.cylinderLength,universal.revolute_a.e[1],universal.revolute_a.e[2],universal.revolute_a.e[3],universal.revolute_a.fixed.flange.phi,universal.revolute_a.fixed.phi0,universal.revolute_a.internalAxis.flange.tau,universal.revolute_a.internalAxis.tau,universal.revolute_a.n[1],universal.revolute_a.n[2],universal.revolute_a.n[3],universal.revolute_a.specularCoefficient,universal.revolute_a.stateSelect,universal.revolute_a.tau,universal.revolute_b.animation,universal.revolute_b.constantTorque.flange.tau,universal.revolute_b.constantTorque.tau,universal.revolute_b.constantTorque.tau_constant,universal.revolute_b.constantTorque.useSupport,universal.revolute_b.cylinder.height,universal.revolute_b.cylinder.length,universal.revolute_b.cylinder.lengthDirection[1],universal.revolute_b.cylinder.lengthDirection[2],universal.revolute_b.cylinder.lengthDirection[3],universal.revolute_b.cylinder.specularCoefficient,universal.revolute_b.cylinder.width,universal.revolute_b.cylinderDiameter,universal.revolute_b.cylinderLength,universal.revolute_b.e[1],universal.revolute_b.e[2],universal.revolute_b.e[3],universal.revolute_b.fixed.flange.phi,universal.revolute_b.fixed.phi0,universal.revolute_b.internalAxis.flange.tau,universal.revolute_b.internalAxis.tau,universal.revolute_b.n[1],universal.revolute_b.n[2],universal.revolute_b.n[3],universal.revolute_b.specularCoefficient,universal.revolute_b.stateSelect,universal.revolute_b.tau,universal.specularCoefficient,universal.stateSelect,universal.w_a,universal.w_b,world.animateGravity,world.animateGround,world.animateWorld,world.axisDiameter,world.axisLength,world.axisShowLabels,world.defaultArrowDiameter,world.defaultAxisLength,world.defaultBodyDiameter,world.defaultForceLength,world.defaultForceWidth,world.defaultFrameDiameterFraction,world.defaultJointLength,world.defaultJointWidth,world.defaultN_to_m,world.defaultNm_to_m,world.defaultSpecularCoefficient,world.defaultWidthFraction,world.driveTrainMechanics3D,world.enableAnimation,world.g,world.gravityArrowDiameter,world.gravityArrowLength,world.gravityArrowTail[1],world.gravityArrowTail[2],world.gravityArrowTail[3],world.gravityHeadLength,world.gravityHeadWidth,world.gravityLineLength,world.gravitySphereDiameter,world.gravityType,world.groundAxis_u[1],world.groundAxis_u[2],world.groundAxis_u[3],world.groundLength_u,world.groundLength_v,world.headLength,world.headWidth,world.labelStart,world.lineLength,world.lineWidth,world.mu,world.n[1],world.n[2],world.n[3],world.ndim,world.ndim2,world.ndim_pointGravity,world.nominalLength,world.scaledLabel