Running command: translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relative_a1.r_rel.3.|relative_a1.v_rel.3.|relative_a1.a_rel.3.|relative_a1.angles.3.|relative_a1.w_rel.3.|relative_a2.r_rel.3.|relative_a2.v_rel.3.|relative_a2.a_rel.3.|relative_a2.angles.3.|relative_a2.w_rel.3.|relative_a2.z_rel.3.|relative_b2.r_rel.3.|relative_b2.v_rel.3.|relative_b2.angles.3.|relative_b2.w_rel.3.|relative_b2.z_rel.3.|relative_b1.r_rel.3.|relative_b1.v_rel.3.|relative_b1.a_rel.3.|relative_b1.angles.3.|relative_b1.w_rel.3.|relative_b1.z_rel.3.|relativeSensor.r_rel.3.|relativeSensor.angles.3.|relative_a1.r_rel.2.|relative_a1.v_rel.2.|relative_a1.a_rel.2.|relative_a1.angles.2.|relative_a1.w_rel.2.|relative_a2.r_rel.2.|relative_a2.v_rel.2.|relative_a2.a_rel.2.|relative_a2.angles.2.|relative_a2.w_rel.2.|relative_a2.z_rel.2.|relative_b2.r_rel.2.|relative_b2.v_rel.2.|relative_b2.angles.2.|relative_b2.w_rel.2.|relative_b2.z_rel.2.|relative_b1.r_rel.2.|relative_b1.v_rel.2.|relative_b1.a_rel.2.|relative_b1.angles.2.|relative_b1.w_rel.2.|relative_b1.z_rel.2.|relativeSensor.r_rel.2.|relativeSensor.angles.2.|relative_a1.r_rel.1.|relative_a1.v_rel.1.|relative_a1.a_rel.1.|relative_a1.angles.1.|relative_a1.w_rel.1.|relative_a2.r_rel.1.|relative_a2.v_rel.1.|relative_a2.a_rel.1.|relative_a2.angles.1.|relative_a2.w_rel.1.|relative_a2.z_rel.1.|relative_b2.r_rel.1.|relative_b2.v_rel.1.|relative_b2.angles.1.|relative_b2.w_rel.1.|relative_b2.z_rel.1.|relative_b1.r_rel.1.|relative_b1.v_rel.1.|relative_b1.a_rel.1.|relative_b1.angles.1.|relative_b1.w_rel.1.|relative_b1.z_rel.1.|relativeSensor.r_rel.1.|relativeSensor.angles.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.RelativeSensor") Notification: Performance of loadModel(ModelicaTest): time 2.165/2.165, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.748e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 54.85 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.4926, allocations: 105.5 MB / 465.3 MB, free: 7.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4929, allocations: 80.53 kB / 465.4 MB, free: 7.332 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.027/1.52, allocations: 248.5 MB / 0.6972 GB, free: 6.086 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.527e-06/1.52, allocations: 4 kB / 0.6972 GB, free: 6.082 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000814/1.521, allocations: 367.9 kB / 0.6975 GB, free: 5.723 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5962 * Number of variables: 5962 Notification: Performance of Generate backend data structure: time 0.6613/2.182, allocations: 15.61 MB / 0.7128 GB, free: 30.02 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/2.182, allocations: 13.5 kB / 0.7128 GB, free: 30.02 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04611/2.228, allocations: 8.294 MB / 0.7209 GB, free: 28.98 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03808/2.266, allocations: 12.41 MB / 0.733 GB, free: 27.63 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002404/2.269, allocations: 1.494 MB / 0.7345 GB, free: 27.59 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01114/2.28, allocations: 1.971 MB / 0.7364 GB, free: 27.58 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1393/2.419, allocations: 42.05 MB / 0.7774 GB, free: 21.09 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001119/2.42, allocations: 156.8 kB / 0.7776 GB, free: 21.08 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007106/2.427, allocations: 0.885 MB / 0.7785 GB, free: 21.08 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004045/2.432, allocations: 2.38 MB / 0.7808 GB, free: 21.05 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09104/2.523, allocations: 33.04 MB / 0.8131 GB, free: 11.49 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.622/3.145, allocations: 146.7 MB / 0.9563 GB, free: 30.52 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07692/3.222, allocations: 22.39 MB / 0.9782 GB, free: 28.14 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01036/3.232, allocations: 6.733 MB / 0.9847 GB, free: 28.1 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05074/3.283, allocations: 27.35 MB / 1.011 GB, free: 23.34 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.748e-05/3.283, allocations: 77.7 kB / 1.012 GB, free: 23.3 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=372): time 9.598e-06/3.283, allocations: 0 / 1.012 GB, free: 23.3 MB / 0.5418 GB Notification: Performance of matching and sorting (n=486): time 1.447/4.73, allocations: 280.7 MB / 1.286 GB, free: 83.96 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.608e-05/4.73, allocations: 287.5 kB / 1.286 GB, free: 83.62 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01927/4.749, allocations: 8.949 MB / 1.295 GB, free: 74.68 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002033/4.751, allocations: 100.2 kB / 1.295 GB, free: 74.58 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006682/4.758, allocations: 10.59 MB / 1.305 GB, free: 64 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00365/4.762, allocations: 1.886 MB / 1.307 GB, free: 62.13 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003439/4.765, allocations: 341.2 kB / 1.307 GB, free: 61.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00177/4.767, allocations: 1.034 MB / 1.308 GB, free: 60.75 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3656/5.133, allocations: 15.7 MB / 1.324 GB, free: 128.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03613/5.169, allocations: 26.17 MB / 1.349 GB, free: 114.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03577/5.205, allocations: 19.83 MB / 1.369 GB, free: 114.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003445/5.205, allocations: 107.8 kB / 1.369 GB, free: 114.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=2206) (initialization): time 0.08498/5.29, allocations: 40.36 MB / 1.408 GB, free: 100.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003248/5.29, allocations: 166.1 kB / 1.408 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004798/5.291, allocations: 374 kB / 1.409 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00213/5.293, allocations: 0.8725 MB / 1.409 GB, free: 100 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0281/5.321, allocations: 5.287 MB / 1.415 GB, free: 99.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007422/5.329, allocations: 5.663 MB / 1.42 GB, free: 95.78 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02344/5.352, allocations: 2.153 MB / 1.422 GB, free: 95.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004908/5.357, allocations: 1.019 MB / 1.423 GB, free: 95.39 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1714 * Number of states: 0 () * Number of discrete variables: 45 (relativeSensor.arrowColor[3],relativeSensor.arrowColor[2],relativeSensor.arrowColor[1],relative_b1.arrowColor[3],relative_b1.arrowColor[2],relative_b1.arrowColor[1],relative_b2.arrowColor[3],relative_b2.arrowColor[2],relative_b2.arrowColor[1],relative_a2.arrowColor[3],relative_a2.arrowColor[2],relative_a2.arrowColor[1],relative_a1.arrowColor[3],relative_a1.arrowColor[2],relative_a1.arrowColor[1],BodyBox2.color[3],BodyBox2.color[2],BodyBox2.color[1],BodyBox2.body.sphereColor[3],BodyBox2.body.sphereColor[2],BodyBox2.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2150): * Single equations (assignments): 2140 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007629/5.365, allocations: 1.402 MB / 1.425 GB, free: 94.29 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003458/5.368, allocations: 0.8659 MB / 1.425 GB, free: 94.29 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05915/5.427, allocations: 29.98 MB / 1.455 GB, free: 80.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001674/5.428, allocations: 99.98 kB / 1.455 GB, free: 80.79 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/5.428, allocations: 3.875 kB / 1.455 GB, free: 80.79 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.361e-05/5.428, allocations: 20.44 kB / 1.455 GB, free: 80.79 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4867/5.915, allocations: 73.17 MB / 1.526 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-05/5.915, allocations: 1.688 kB / 1.526 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01582/5.93, allocations: 2.112 MB / 1.528 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/5.932, allocations: 317.9 kB / 1.529 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001966/5.934, allocations: 81 kB / 1.529 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005451/5.939, allocations: 4.295 MB / 1.533 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.271e-06/5.939, allocations: 5.062 kB / 1.533 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08647/6.026, allocations: 50.36 MB / 1.582 GB, free: 103.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01091/6.037, allocations: 3.946 MB / 1.586 GB, free: 101.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00417/6.041, allocations: 80.16 kB / 1.586 GB, free: 101.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0138/6.055, allocations: 1.642 MB / 1.588 GB, free: 101.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002716/6.058, allocations: 254.5 kB / 1.588 GB, free: 101.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001834/6.06, allocations: 130.8 kB / 1.588 GB, free: 101.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.015/6.075, allocations: 6.162 MB / 1.594 GB, free: 99.23 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.97e-07/6.075, allocations: 0.6562 kB / 1.594 GB, free: 99.23 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02442/6.099, allocations: 4.274 MB / 1.598 GB, free: 98.91 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 434 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002703/6.102, allocations: 306.6 kB / 1.598 GB, free: 98.75 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.06053/6.162, allocations: 34.24 MB / 1.632 GB, free: 84.96 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/6.162, allocations: 0.625 kB / 1.632 GB, free: 84.96 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02536/6.188, allocations: 14.79 MB / 1.646 GB, free: 78.09 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008882/6.197, allocations: 1.333 MB / 1.648 GB, free: 77.26 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1148/6.312, allocations: 44.25 MB / 1.691 GB, free: 37.79 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02712/6.339, allocations: 11.35 MB / 1.702 GB, free: 29.54 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0244/6.363, allocations: 0.756 MB / 1.703 GB, free: 28.8 MB / 0.573 GB Notification: Performance of SimCode: time 3.425e-06/6.363, allocations: 0 / 1.703 GB, free: 28.8 MB / 0.573 GB Notification: Performance of Templates: time 1.266/7.629, allocations: 392.5 MB / 2.086 GB, free: 10.67 MB / 0.573 GB