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.1_cpp_ModelicaTest.MultiBody.Sensors.RelativeSensor") Notification: Performance of loadModel(ModelicaTest): time 1.797/1.797, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.157e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.08446, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3667/0.4512, allocations: 98.69 MB / 420.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.4515, allocations: 75.95 kB / 420.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008/1.459, allocations: 248.4 MB / 0.6532 GB, free: 27.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.743e-06/1.459, allocations: 0 / 0.6532 GB, free: 27.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000623/1.46, allocations: 371.9 kB / 0.6536 GB, free: 26.92 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5960 * Number of variables: 5960 Notification: Performance of Generate backend data structure: time 0.04381/1.504, allocations: 15.6 MB / 0.6688 GB, free: 11.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.504, allocations: 12.03 kB / 0.6688 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04003/1.544, allocations: 8.298 MB / 0.677 GB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03645/1.58, allocations: 12.41 MB / 0.6891 GB, free: 6.352 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002049/1.583, allocations: 1.501 MB / 0.6905 GB, free: 4.848 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007339/1.59, allocations: 1.964 MB / 0.6925 GB, free: 2.883 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4353/2.025, allocations: 42.04 MB / 0.7335 GB, free: 43.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008728/2.026, allocations: 148.1 kB / 0.7337 GB, free: 43.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005997/2.032, allocations: 0.8872 MB / 0.7345 GB, free: 43.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003869/2.036, allocations: 2.379 MB / 0.7368 GB, free: 43.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09403/2.13, allocations: 33.04 MB / 0.7691 GB, free: 37.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5643/2.695, allocations: 147 MB / 0.9127 GB, free: 18.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07769/2.772, allocations: 22.39 MB / 0.9345 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01019/2.782, allocations: 6.733 MB / 0.9411 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04912/2.832, allocations: 27.33 MB / 0.9678 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.35e-05/2.832, allocations: 81.61 kB / 0.9679 GB, free: 11.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=372): time 8.906e-06/2.832, allocations: 0 / 0.9679 GB, free: 11.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=486): time 1.37/4.201, allocations: 281.3 MB / 1.243 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/4.202, allocations: 286.1 kB / 1.243 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02033/4.222, allocations: 8.955 MB / 1.252 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002064/4.224, allocations: 99.73 kB / 1.252 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006725/4.231, allocations: 10.58 MB / 1.262 GB, free: 99.63 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003454/4.234, allocations: 1.893 MB / 1.264 GB, free: 97.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003112/4.237, allocations: 338.9 kB / 1.264 GB, free: 97.42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001664/4.239, allocations: 1.034 MB / 1.265 GB, free: 96.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02676/4.266, allocations: 15.7 MB / 1.281 GB, free: 80.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3456/4.611, allocations: 26.16 MB / 1.306 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03853/4.65, allocations: 19.84 MB / 1.325 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005503/4.651, allocations: 107.8 kB / 1.326 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2206) (initialization): time 0.08518/4.736, allocations: 40.35 MB / 1.365 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006892/4.737, allocations: 166.5 kB / 1.365 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007499/4.737, allocations: 373.3 kB / 1.365 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/4.74, allocations: 0.8703 MB / 1.366 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02918/4.769, allocations: 5.293 MB / 1.371 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00721/4.776, allocations: 5.65 MB / 1.377 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02385/4.8, allocations: 2.154 MB / 1.379 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004859/4.805, allocations: 1.023 MB / 1.38 GB, free: 130.5 MB / 0.5573 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.007815/4.813, allocations: 1.395 MB / 1.381 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003374/4.816, allocations: 0.8709 MB / 1.382 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05756/4.874, allocations: 29.98 MB / 1.412 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001596/4.874, allocations: 87.89 kB / 1.412 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/4.874, allocations: 6.906 kB / 1.412 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-05/4.874, allocations: 22.47 kB / 1.412 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1271/5.001, allocations: 72.14 MB / 1.482 GB, free: 60.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/5.001, allocations: 4 kB / 1.482 GB, free: 60.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01488/5.016, allocations: 2.113 MB / 1.484 GB, free: 59.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/5.018, allocations: 322.1 kB / 1.485 GB, free: 59.15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001988/5.02, allocations: 83.23 kB / 1.485 GB, free: 59.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/5.025, allocations: 4.295 MB / 1.489 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.273e-06/5.025, allocations: 0 / 1.489 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4259/5.451, allocations: 51.81 MB / 1.539 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01081/5.462, allocations: 3.954 MB / 1.543 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004059/5.466, allocations: 73.41 kB / 1.543 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01335/5.479, allocations: 1.629 MB / 1.545 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002752/5.482, allocations: 258.3 kB / 1.545 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002076/5.484, allocations: 132.3 kB / 1.545 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0151/5.499, allocations: 6.163 MB / 1.551 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.239e-06/5.499, allocations: 0 / 1.551 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02366/5.523, allocations: 4.272 MB / 1.555 GB, free: 140.2 MB / 0.5573 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.002823/5.526, allocations: 307.8 kB / 1.556 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.06017/5.586, allocations: 34.23 MB / 1.589 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/5.586, allocations: 4 kB / 1.589 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0252/5.611, allocations: 14.79 MB / 1.604 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008682/5.62, allocations: 1.334 MB / 1.605 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09652/5.716, allocations: 44.26 MB / 1.648 GB, free: 87.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02802/5.744, allocations: 11.34 MB / 1.659 GB, free: 78.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01292/5.757, allocations: 0.7563 MB / 1.66 GB, free: 78.25 MB / 0.5573 GB Notification: Performance of SimCode: time 2.253e-06/5.757, allocations: 3.625 kB / 1.66 GB, free: 78.25 MB / 0.5573 GB Notification: Performance of Templates: time 1.236/6.994, allocations: 392.4 MB / 2.043 GB, free: 33.3 MB / 0.5573 GB