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.3_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.716e-05/5.734e-05, allocations: 4 kB / 323.4 MB, free: 4.324 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3677, allocations: 58.84 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.5289, allocations: 103.3 MB / 485.5 MB, free: 5.227 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5292, allocations: 79.95 kB / 485.5 MB, free: 5.148 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6348/1.164, allocations: 95.43 MB / 0.5674 GB, free: 107.4 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.423e-06/1.164, allocations: 0 / 0.5674 GB, free: 107.4 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001818/1.164, allocations: 88.39 kB / 0.5674 GB, free: 107.4 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01344/1.178, allocations: 4.244 MB / 0.5716 GB, free: 103.9 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.178, allocations: 8.031 kB / 0.5716 GB, free: 103.9 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0191/1.197, allocations: 3.619 MB / 0.5751 GB, free: 100.2 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/1.21, allocations: 4.49 MB / 0.5795 GB, free: 95.75 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/1.21, allocations: 339.6 kB / 0.5798 GB, free: 95.45 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002259/1.212, allocations: 444.7 kB / 0.5803 GB, free: 95.05 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02791/1.24, allocations: 11.61 MB / 0.5916 GB, free: 83.03 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/1.241, allocations: 31.75 kB / 0.5916 GB, free: 83 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002034/1.243, allocations: 201.7 kB / 0.5918 GB, free: 82.84 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002112/1.245, allocations: 1.343 MB / 0.5931 GB, free: 81.5 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02494/1.27, allocations: 11.1 MB / 0.604 GB, free: 70.39 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06476/1.335, allocations: 41.46 MB / 0.6445 GB, free: 28.18 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/1.349, allocations: 5.909 MB / 0.6502 GB, free: 22.04 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00454/1.353, allocations: 2.976 MB / 0.6531 GB, free: 19.06 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/1.355, allocations: 1.883 MB / 0.655 GB, free: 16.86 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/1.355, allocations: 56.5 kB / 0.655 GB, free: 16.8 MB / 458.8 MB Notification: Performance of pre-optimization done (n=262): time 7.442e-06/1.355, allocations: 4 kB / 0.655 GB, free: 16.79 MB / 458.8 MB Notification: Performance of matching and sorting (n=283): time 0.05164/1.407, allocations: 16.63 MB / 0.6713 GB, free: 20 kB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.962e-05/1.407, allocations: 77.41 kB / 0.6713 GB, free: 15.93 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005921/1.413, allocations: 2.691 MB / 0.674 GB, free: 13.22 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005625/1.413, allocations: 65.69 kB / 0.674 GB, free: 13.15 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00312/1.416, allocations: 2.997 MB / 0.677 GB, free: 10.11 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001672/1.418, allocations: 1.025 MB / 0.678 GB, free: 9.074 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006759/1.419, allocations: 116 kB / 0.6781 GB, free: 8.961 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006207/1.42, allocations: 0.5661 MB / 0.6786 GB, free: 8.387 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006339/1.426, allocations: 2.768 MB / 0.6813 GB, free: 5.613 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009794/1.436, allocations: 5.897 MB / 0.6871 GB, free: 14.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008821/1.445, allocations: 4.074 MB / 0.6911 GB, free: 10.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.445, allocations: 32 kB / 0.6911 GB, free: 10.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.02541/1.47, allocations: 9.585 MB / 0.7005 GB, free: 472 kB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.47, allocations: 55.95 kB / 0.7005 GB, free: 416 kB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/1.47, allocations: 112 kB / 0.7006 GB, free: 304 kB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005223/1.476, allocations: 1.39 MB / 0.702 GB, free: 14.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007227/1.483, allocations: 1.384 MB / 0.7033 GB, free: 13.51 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/1.502, allocations: 7.178 MB / 0.7103 GB, free: 6.199 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008151/1.51, allocations: 411.6 kB / 0.7107 GB, free: 5.797 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.511, allocations: 340 kB / 0.7111 GB, free: 5.465 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 505 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (720): * Single equations (assignments): 713 * 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.001685/1.513, allocations: 0.5366 MB / 0.7116 GB, free: 4.918 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007963/1.514, allocations: 308 kB / 0.7119 GB, free: 4.613 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3051/1.819, allocations: 6.567 MB / 0.7183 GB, free: 136 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001142/1.819, allocations: 55.55 kB / 0.7183 GB, free: 136 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-05/1.819, allocations: 4.375 kB / 0.7183 GB, free: 136 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.898e-05/1.819, allocations: 11.39 kB / 0.7184 GB, free: 136 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03155/1.851, allocations: 13.99 MB / 0.732 GB, free: 135.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.608e-05/1.851, allocations: 6.531 kB / 0.732 GB, free: 135.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003182/1.854, allocations: 464.2 kB / 0.7325 GB, free: 135.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004716/1.859, allocations: 1.211 MB / 0.7337 GB, free: 135.2 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005982/1.86, allocations: 58.56 kB / 0.7337 GB, free: 135.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/1.871, allocations: 6.516 MB / 0.7401 GB, free: 133.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.741e-06/1.871, allocations: 8.656 kB / 0.7401 GB, free: 133.2 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/1.89, allocations: 10.38 MB / 0.7502 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002471/1.892, allocations: 0.8248 MB / 0.751 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000879/1.893, allocations: 50.7 kB / 0.7511 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/1.896, allocations: 200.1 kB / 0.7513 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006711/1.897, allocations: 169.9 kB / 0.7514 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003028/1.897, allocations: 79.66 kB / 0.7515 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003856/1.901, allocations: 1.827 MB / 0.7533 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.302e-06/1.901, allocations: 3.562 kB / 0.7533 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006959/1.908, allocations: 1.144 MB / 0.7544 GB, free: 127.7 MB / 0.4949 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.0008808/1.909, allocations: 193.8 kB / 0.7546 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.921, allocations: 6.645 MB / 0.7611 GB, free: 125.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.59e-06/1.921, allocations: 0 / 0.7611 GB, free: 125.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005188/1.927, allocations: 2.707 MB / 0.7637 GB, free: 124.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/1.929, allocations: 368.3 kB / 0.7641 GB, free: 124.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02183/1.951, allocations: 9.654 MB / 0.7735 GB, free: 117.6 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007719/1.959, allocations: 3.69 MB / 0.7771 GB, free: 114.8 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.007046/1.966, allocations: 2.203 MB / 0.7793 GB, free: 113.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/1.968, allocations: 243.2 kB / 0.7795 GB, free: 113.2 MB / 0.4949 GB Notification: Performance of SimCode: time 1.807e-06/1.968, allocations: 0 / 0.7795 GB, free: 113.2 MB / 0.4949 GB Notification: Performance of Templates: time 0.09549/2.063, allocations: 38.48 MB / 0.8171 GB, free: 80.61 MB / 0.4949 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.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.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.mue,world.n[1],world.n[2],world.n[3],world.ndim,world.ndim2,world.ndim_pointGravity,world.nominalLength,world.scaledLabel