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_4.0.0_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 270 MB / 283.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.687e-05, allocations: 7.938 kB / 348.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3905, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.243/0.6336, allocations: 104.7 MB / 0.5029 GB, free: 1.836 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.6339, allocations: 83.95 kB / 0.503 GB, free: 1.754 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6612/1.295, allocations: 96.62 MB / 0.5974 GB, free: 43.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.829e-06/1.295, allocations: 0 / 0.5974 GB, free: 43.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001818/1.295, allocations: 91.98 kB / 0.5974 GB, free: 43.59 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.01249/1.308, allocations: 4.231 MB / 0.6016 GB, free: 39.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.308, allocations: 12.03 kB / 0.6016 GB, free: 39.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01876/1.327, allocations: 3.61 MB / 0.6051 GB, free: 35.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/1.339, allocations: 4.337 MB / 0.6094 GB, free: 31.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/1.339, allocations: 340.8 kB / 0.6097 GB, free: 30.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001891/1.341, allocations: 443.8 kB / 0.6101 GB, free: 30.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02609/1.367, allocations: 11.6 MB / 0.6214 GB, free: 18.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001814/1.368, allocations: 35.73 kB / 0.6215 GB, free: 18.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00192/1.37, allocations: 199.9 kB / 0.6217 GB, free: 18.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002145/1.372, allocations: 1.333 MB / 0.623 GB, free: 16.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02466/1.396, allocations: 11.08 MB / 0.6338 GB, free: 5.691 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08031/1.477, allocations: 41.54 MB / 0.6743 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/1.494, allocations: 5.904 MB / 0.6801 GB, free: 5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005777/1.499, allocations: 2.974 MB / 0.683 GB, free: 2.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002657/1.502, allocations: 1.891 MB / 0.6849 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.732e-05/1.502, allocations: 56.56 kB / 0.6849 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=262): time 7.585e-06/1.502, allocations: 0.6562 kB / 0.6849 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=283): time 0.07463/1.577, allocations: 16.57 MB / 0.7011 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.577, allocations: 77.41 kB / 0.7012 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/1.588, allocations: 2.655 MB / 0.7038 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007826/1.588, allocations: 69.55 kB / 0.7038 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004872/1.593, allocations: 2.981 MB / 0.7067 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002569/1.596, allocations: 1.017 MB / 0.7077 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/1.597, allocations: 116 kB / 0.7078 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001083/1.598, allocations: 0.5621 MB / 0.7084 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009479/1.608, allocations: 2.761 MB / 0.7111 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3687/1.977, allocations: 5.858 MB / 0.7168 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008328/1.985, allocations: 4.064 MB / 0.7208 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001546/1.985, allocations: 29.31 kB / 0.7208 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.02385/2.009, allocations: 9.546 MB / 0.7301 GB, free: 128 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/2.009, allocations: 56.06 kB / 0.7302 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/2.009, allocations: 107.4 kB / 0.7303 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004673/2.014, allocations: 1.377 MB / 0.7316 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006695/2.021, allocations: 1.38 MB / 0.733 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/2.033, allocations: 7.186 MB / 0.74 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005935/2.039, allocations: 405.4 kB / 0.7404 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/2.04, allocations: 340.3 kB / 0.7407 GB, free: 126.5 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.001227/2.041, allocations: 0.5432 MB / 0.7412 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006464/2.042, allocations: 299.8 kB / 0.7415 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/2.056, allocations: 6.568 MB / 0.7479 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.255e-05/2.056, allocations: 55.95 kB / 0.748 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/2.056, allocations: 3.875 kB / 0.748 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-05/2.056, allocations: 13.33 kB / 0.748 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03035/2.087, allocations: 13.98 MB / 0.7617 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/2.087, allocations: 7.844 kB / 0.7617 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/2.09, allocations: 457.9 kB / 0.7621 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004742/2.095, allocations: 1.203 MB / 0.7633 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005636/2.095, allocations: 50.81 kB / 0.7633 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/2.106, allocations: 6.535 MB / 0.7697 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.489e-06/2.106, allocations: 7.938 kB / 0.7697 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01821/2.124, allocations: 10.38 MB / 0.7799 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008357/2.125, allocations: 359.2 kB / 0.7802 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008098/2.126, allocations: 49.75 kB / 0.7802 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/2.129, allocations: 209.8 kB / 0.7804 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007046/2.129, allocations: 160.2 kB / 0.7806 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003201/2.13, allocations: 76.19 kB / 0.7807 GB, free: 109 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003496/2.133, allocations: 1.812 MB / 0.7824 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.37e-07/2.133, allocations: 0 / 0.7824 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006484/2.14, allocations: 1.139 MB / 0.7835 GB, free: 106.2 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.0007705/2.141, allocations: 201.2 kB / 0.7837 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01206/2.153, allocations: 6.631 MB / 0.7902 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.274e-06/2.153, allocations: 0 / 0.7902 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004688/2.157, allocations: 2.708 MB / 0.7929 GB, free: 97.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/2.16, allocations: 366 kB / 0.7932 GB, free: 97.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/2.18, allocations: 9.625 MB / 0.8026 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005699/2.185, allocations: 3.675 MB / 0.8062 GB, free: 85.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006811/2.192, allocations: 2.203 MB / 0.8083 GB, free: 84.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/2.194, allocations: 239 kB / 0.8086 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of SimCode: time 1.738e-06/2.194, allocations: 0 / 0.8086 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.09468/2.288, allocations: 38.52 MB / 0.8462 GB, free: 49.68 MB / 0.5105 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