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.1_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadModel(ModelicaTest): time 1.971/1.971, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.581e-05, allocations: 4 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08769/0.08775, allocations: 48.69 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4225/0.5103, allocations: 90.11 MB / 411.9 MB, free: 4.012 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.5106, allocations: 73.27 kB / 412 MB, free: 4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3653/0.8759, allocations: 94.28 MB / 0.4944 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.876, allocations: 0 / 0.4944 GB, free: 13.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002244/0.8762, allocations: 79.94 kB / 0.4945 GB, free: 13.62 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.01472/0.8909, allocations: 4.235 MB / 0.4986 GB, free: 9.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.891, allocations: 8.031 kB / 0.4986 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02076/0.9118, allocations: 3.616 MB / 0.5021 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/0.9267, allocations: 4.455 MB / 0.5065 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000562/0.9273, allocations: 348.8 kB / 0.5068 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002407/0.9297, allocations: 435.9 kB / 0.5072 GB, free: 424 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03208/0.9618, allocations: 11.59 MB / 0.5185 GB, free: 4.289 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/0.962, allocations: 23.81 kB / 0.5186 GB, free: 4.266 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001148/0.9632, allocations: 203.9 kB / 0.5188 GB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002514/0.9657, allocations: 1.341 MB / 0.5201 GB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2692/1.235, allocations: 11.08 MB / 0.5309 GB, free: 90.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06844/1.303, allocations: 41.34 MB / 0.5713 GB, free: 73.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0142/1.318, allocations: 5.9 MB / 0.577 GB, free: 71.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004651/1.322, allocations: 2.975 MB / 0.5799 GB, free: 69.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/1.324, allocations: 1.886 MB / 0.5818 GB, free: 68.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/1.324, allocations: 56.06 kB / 0.5818 GB, free: 68.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 7.932e-06/1.324, allocations: 0 / 0.5818 GB, free: 68.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.05382/1.378, allocations: 16.61 MB / 0.598 GB, free: 63.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.378, allocations: 79.09 kB / 0.5981 GB, free: 63.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005189/1.383, allocations: 2.663 MB / 0.6007 GB, free: 62.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005506/1.384, allocations: 63.66 kB / 0.6008 GB, free: 62.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001981/1.386, allocations: 2.99 MB / 0.6037 GB, free: 59.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001297/1.387, allocations: 1.019 MB / 0.6047 GB, free: 59.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005799/1.388, allocations: 116.2 kB / 0.6048 GB, free: 59.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003959/1.388, allocations: 0.5645 MB / 0.6054 GB, free: 58.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005492/1.394, allocations: 2.759 MB / 0.6081 GB, free: 57.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007327/1.401, allocations: 5.886 MB / 0.6138 GB, free: 52.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00734/1.409, allocations: 4.062 MB / 0.6178 GB, free: 48.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.971e-05/1.409, allocations: 32 kB / 0.6178 GB, free: 48.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02216/1.431, allocations: 9.562 MB / 0.6271 GB, free: 40.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/1.431, allocations: 52 kB / 0.6272 GB, free: 40.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/1.431, allocations: 108 kB / 0.6273 GB, free: 40.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/1.436, allocations: 1.392 MB / 0.6287 GB, free: 39.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00662/1.442, allocations: 1.384 MB / 0.63 GB, free: 38.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/1.454, allocations: 7.188 MB / 0.637 GB, free: 32.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00621/1.461, allocations: 416.2 kB / 0.6374 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.462, allocations: 343.5 kB / 0.6377 GB, free: 31.45 MB / 426.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.001257/1.463, allocations: 0.5235 MB / 0.6383 GB, free: 30.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006715/1.464, allocations: 304.1 kB / 0.6386 GB, free: 30.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/1.478, allocations: 6.574 MB / 0.645 GB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.269e-05/1.478, allocations: 44.7 kB / 0.645 GB, free: 25.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.868e-05/1.478, allocations: 8 kB / 0.645 GB, free: 25.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.963e-05/1.478, allocations: 11.39 kB / 0.645 GB, free: 25.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03125/1.51, allocations: 13.99 MB / 0.6587 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.505e-05/1.51, allocations: 8 kB / 0.6587 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/1.513, allocations: 455.3 kB / 0.6591 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00431/1.517, allocations: 1.215 MB / 0.6603 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005917/1.518, allocations: 50.73 kB / 0.6604 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/1.528, allocations: 6.529 MB / 0.6667 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/1.528, allocations: 16 kB / 0.6668 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02093/1.549, allocations: 10.37 MB / 0.6769 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002721/1.552, allocations: 0.8211 MB / 0.6777 GB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009296/1.553, allocations: 49.55 kB / 0.6777 GB, free: 9.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/1.556, allocations: 199.7 kB / 0.6779 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008432/1.556, allocations: 162.6 kB / 0.6781 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003423/1.557, allocations: 82.05 kB / 0.6782 GB, free: 9.016 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004874/1.562, allocations: 1.812 MB / 0.6799 GB, free: 7.199 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.428e-06/1.562, allocations: 4 kB / 0.6799 GB, free: 7.195 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00723/1.569, allocations: 1.133 MB / 0.681 GB, free: 6.066 MB / 442.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.0009268/1.57, allocations: 195.2 kB / 0.6812 GB, free: 5.875 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2562/1.826, allocations: 6.629 MB / 0.6877 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.826, allocations: 1.781 kB / 0.6877 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005733/1.832, allocations: 2.711 MB / 0.6903 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/1.834, allocations: 354.2 kB / 0.6907 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02255/1.857, allocations: 9.634 MB / 0.7001 GB, free: 101.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007321/1.864, allocations: 3.678 MB / 0.7037 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007301/1.872, allocations: 2.199 MB / 0.7058 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/1.873, allocations: 239.6 kB / 0.7061 GB, free: 100.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.678e-06/1.873, allocations: 3.531 kB / 0.7061 GB, free: 100.5 MB / 442.7 MB Notification: Performance of Templates: time 0.09473/1.968, allocations: 38.32 MB / 0.7435 GB, free: 98.41 MB / 442.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