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_3.2.2_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.99e-05, allocations: 7.984 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3841, allocations: 54.85 MB / 359.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.5348, allocations: 96.91 MB / 456.7 MB, free: 4 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.5352, allocations: 76.66 kB / 456.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6219/1.157, allocations: 94.39 MB / 0.5382 GB, free: 105.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.574e-06/1.157, allocations: 0 / 0.5382 GB, free: 105.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002084/1.157, allocations: 81.97 kB / 0.5383 GB, free: 105.1 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.01464/1.172, allocations: 4.24 MB / 0.5425 GB, free: 103.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.172, allocations: 9.938 kB / 0.5425 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01965/1.192, allocations: 3.609 MB / 0.546 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/1.206, allocations: 4.464 MB / 0.5504 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004373/1.206, allocations: 342.8 kB / 0.5507 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0024/1.209, allocations: 447.8 kB / 0.5511 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0296/1.238, allocations: 11.6 MB / 0.5624 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/1.238, allocations: 32.72 kB / 0.5625 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001879/1.24, allocations: 202 kB / 0.5627 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002315/1.243, allocations: 1.337 MB / 0.564 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02607/1.269, allocations: 11.09 MB / 0.5748 GB, free: 97.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06689/1.336, allocations: 41.35 MB / 0.6152 GB, free: 68.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/1.35, allocations: 5.899 MB / 0.6209 GB, free: 62.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0046/1.354, allocations: 2.98 MB / 0.6238 GB, free: 60.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/1.356, allocations: 1.886 MB / 0.6257 GB, free: 57.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/1.356, allocations: 64.2 kB / 0.6258 GB, free: 57.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 9.701e-06/1.356, allocations: 4.109 kB / 0.6258 GB, free: 57.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=283): time 0.05231/1.409, allocations: 16.61 MB / 0.642 GB, free: 42.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/1.409, allocations: 81.36 kB / 0.6421 GB, free: 42.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004786/1.413, allocations: 2.658 MB / 0.6447 GB, free: 39.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000531/1.414, allocations: 61.7 kB / 0.6447 GB, free: 39.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001925/1.416, allocations: 2.991 MB / 0.6476 GB, free: 36.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/1.417, allocations: 1.02 MB / 0.6486 GB, free: 35.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005628/1.418, allocations: 115.9 kB / 0.6487 GB, free: 35.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003776/1.418, allocations: 0.5621 MB / 0.6493 GB, free: 34.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005273/1.423, allocations: 2.761 MB / 0.652 GB, free: 32.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007128/1.431, allocations: 5.883 MB / 0.6577 GB, free: 24.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007219/1.438, allocations: 4.066 MB / 0.6617 GB, free: 20.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.477e-05/1.438, allocations: 32 kB / 0.6617 GB, free: 20.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.0216/1.46, allocations: 9.574 MB / 0.6711 GB, free: 11.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.647e-05/1.46, allocations: 52 kB / 0.6711 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/1.46, allocations: 112 kB / 0.6712 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0045/1.464, allocations: 1.378 MB / 0.6726 GB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006246/1.471, allocations: 1.388 MB / 0.6739 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/1.482, allocations: 7.183 MB / 0.6809 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005846/1.488, allocations: 411.4 kB / 0.6813 GB, free: 416 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/1.489, allocations: 336 kB / 0.6817 GB, free: 80 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 27 (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.color[3],axis2.color[2],axis2.color[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 (717): * Single equations (assignments): 710 * 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.0013/1.491, allocations: 0.5383 MB / 0.6822 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007961/1.491, allocations: 300.1 kB / 0.6825 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/1.507, allocations: 6.576 MB / 0.6889 GB, free: 8.613 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001137/1.508, allocations: 55.89 kB / 0.6889 GB, free: 8.559 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/1.508, allocations: 8 kB / 0.689 GB, free: 8.551 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.272e-05/1.508, allocations: 11.95 kB / 0.689 GB, free: 8.539 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3369/1.845, allocations: 13.98 MB / 0.7026 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.54e-05/1.845, allocations: 5.969 kB / 0.7026 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/1.848, allocations: 456.8 kB / 0.7031 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004801/1.852, allocations: 1.209 MB / 0.7042 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005845/1.853, allocations: 55.55 kB / 0.7043 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/1.865, allocations: 6.518 MB / 0.7107 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.608e-05/1.865, allocations: 15.09 kB / 0.7107 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/1.885, allocations: 10.37 MB / 0.7208 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002496/1.888, allocations: 0.8275 MB / 0.7216 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009956/1.889, allocations: 46.06 kB / 0.7217 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/1.892, allocations: 205.6 kB / 0.7219 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007236/1.893, allocations: 165 kB / 0.722 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000315/1.893, allocations: 75.73 kB / 0.7221 GB, free: 104.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003792/1.897, allocations: 1.816 MB / 0.7239 GB, free: 104.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.113e-06/1.897, allocations: 0 / 0.7239 GB, free: 104.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006826/1.904, allocations: 1.137 MB / 0.725 GB, free: 104.3 MB / 474.7 MB 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.0008534/1.904, allocations: 192.8 kB / 0.7251 GB, free: 104.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01286/1.917, allocations: 6.634 MB / 0.7316 GB, free: 102.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/1.917, allocations: 3.5 kB / 0.7316 GB, free: 102.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005333/1.923, allocations: 2.706 MB / 0.7343 GB, free: 101.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/1.925, allocations: 349.8 kB / 0.7346 GB, free: 101 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/1.946, allocations: 9.654 MB / 0.744 GB, free: 97.53 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006395/1.953, allocations: 3.677 MB / 0.7476 GB, free: 96.19 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007214/1.96, allocations: 2.195 MB / 0.7498 GB, free: 96.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/1.962, allocations: 242 kB / 0.75 GB, free: 96.14 MB / 474.7 MB Notification: Performance of SimCode: time 2.641e-06/1.962, allocations: 0 / 0.75 GB, free: 96.14 MB / 474.7 MB Notification: Performance of Templates: time 0.09591/2.058, allocations: 38.34 MB / 0.7874 GB, free: 76.63 MB / 474.7 MB "" Variables in the reference:time,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b Variables in the result:axis1.animation,axis1.specularCoefficient,axis2.animation,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],body.z_a_start[1],body.z_a_start[2],body.z_a_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.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.headLength,world.headWidth,world.labelStart,world.lineLength,world.lineWidth,world.mue,world.n[1],world.n[2],world.n[3],world.ndim,world.ndim2,world.ndim_pointGravity,world.nominalLength,world.scaledLabel