Running command: translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.RelativeSensor") Notification: Performance of loadModel(ModelicaTest): time 2.313/2.313, allocations: 270 MB / 282.7 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.571e-05/2.576e-05, allocations: 0 / 347 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.318, allocations: 61.88 MB / 408.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.4882, allocations: 113.2 MB / 0.5098 GB, free: 9.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4885, allocations: 75.95 kB / 0.5098 GB, free: 9.246 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.391/1.88, allocations: 241.2 MB / 0.7454 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.096e-06/1.88, allocations: 2.625 kB / 0.7454 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006382/1.881, allocations: 362.1 kB / 0.7458 GB, free: 34.67 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5720 * Number of variables: 5720 Notification: Performance of Generate backend data structure: time 0.0421/1.923, allocations: 15.19 MB / 0.7606 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/1.923, allocations: 13.22 kB / 0.7606 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04024/1.963, allocations: 8.171 MB / 0.7686 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03254/1.996, allocations: 11.85 MB / 0.7801 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001306/1.997, allocations: 1.447 MB / 0.7816 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006349/2.003, allocations: 1.914 MB / 0.7834 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1076/2.111, allocations: 40.7 MB / 0.8232 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008774/2.112, allocations: 145.3 kB / 0.8233 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006283/2.118, allocations: 0.8597 MB / 0.8242 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00339/2.121, allocations: 2.2 MB / 0.8263 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08701/2.209, allocations: 31.76 MB / 0.8573 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5745/2.783, allocations: 142.4 MB / 0.9964 GB, free: 30.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07541/2.859, allocations: 22.04 MB / 1.018 GB, free: 27.88 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009588/2.868, allocations: 6.538 MB / 1.024 GB, free: 27.83 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04716/2.915, allocations: 26.55 MB / 1.05 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/2.915, allocations: 69.58 kB / 1.05 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=336): time 1.114e-05/2.916, allocations: 3.25 kB / 1.05 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=450): time 1.395/4.31, allocations: 279.7 MB / 1.323 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/4.31, allocations: 276.3 kB / 1.324 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01647/4.327, allocations: 8.634 MB / 1.332 GB, free: 69.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001854/4.329, allocations: 99.73 kB / 1.332 GB, free: 69.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.006158/4.335, allocations: 10.19 MB / 1.342 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003131/4.338, allocations: 1.765 MB / 1.344 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002403/4.34, allocations: 321.4 kB / 1.344 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0009081/4.341, allocations: 1.011 MB / 1.345 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02565/4.367, allocations: 15.44 MB / 1.36 GB, free: 40.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3889/4.756, allocations: 25.47 MB / 1.385 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03497/4.791, allocations: 19.42 MB / 1.404 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003182/4.791, allocations: 101.3 kB / 1.404 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2100) (initialization): time 0.08116/4.872, allocations: 39.46 MB / 1.443 GB, free: 95.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002814/4.873, allocations: 158.3 kB / 1.443 GB, free: 95.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004369/4.873, allocations: 361.3 kB / 1.443 GB, free: 95.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/4.875, allocations: 0.8517 MB / 1.444 GB, free: 95.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02612/4.901, allocations: 5.071 MB / 1.449 GB, free: 94.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007019/4.908, allocations: 5.621 MB / 1.454 GB, free: 90.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02243/4.931, allocations: 2.115 MB / 1.457 GB, free: 90.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003959/4.935, allocations: 0.9757 MB / 1.458 GB, free: 90.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1644 * Number of states: 0 () * Number of discrete variables: 58 (relativeSensor.arrow.arrowLine.twoHeadedArrow,relativeSensor.arrow.headAtOrigin,relativeSensor.arrowColor[3],relativeSensor.arrowColor[2],relativeSensor.arrowColor[1],relative_b1.arrow.arrowLine.twoHeadedArrow,relative_b1.arrow.headAtOrigin,relative_b1.arrowColor[3],relative_b1.arrowColor[2],relative_b1.arrowColor[1],relative_b2.arrow.arrowLine.twoHeadedArrow,relative_b2.arrow.headAtOrigin,relative_b2.arrowColor[3],relative_b2.arrowColor[2],relative_b2.arrowColor[1],relative_a2.arrow.arrowLine.twoHeadedArrow,relative_a2.arrow.headAtOrigin,relative_a2.arrowColor[3],relative_a2.arrowColor[2],relative_a2.arrowColor[1],relative_a1.arrow.arrowLine.twoHeadedArrow,relative_a1.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (2044): * Single equations (assignments): 2034 * 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.005461/4.94, allocations: 1.348 MB / 1.459 GB, free: 89.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002538/4.943, allocations: 0.8323 MB / 1.46 GB, free: 89.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05444/4.997, allocations: 29.5 MB / 1.488 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001547/4.998, allocations: 86.06 kB / 1.489 GB, free: 76.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/4.998, allocations: 10.12 kB / 1.489 GB, free: 76.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.446e-05/4.998, allocations: 20.34 kB / 1.489 GB, free: 76.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1174/5.115, allocations: 71.03 MB / 1.558 GB, free: 25.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-05/5.115, allocations: 0 / 1.558 GB, free: 25.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01409/5.129, allocations: 2.035 MB / 1.56 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/5.131, allocations: 315.6 kB / 1.56 GB, free: 24.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00183/5.132, allocations: 73.95 kB / 1.56 GB, free: 24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005118/5.138, allocations: 4.305 MB / 1.564 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.391e-06/5.138, allocations: 0 / 1.564 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4536/5.591, allocations: 49.69 MB / 1.613 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/5.594, allocations: 0.7987 MB / 1.614 GB, free: 101 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003689/5.597, allocations: 64.16 kB / 1.614 GB, free: 101 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01312/5.61, allocations: 1.621 MB / 1.615 GB, free: 101 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00245/5.613, allocations: 239.5 kB / 1.616 GB, free: 101 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001378/5.614, allocations: 115.6 kB / 1.616 GB, free: 101 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01271/5.627, allocations: 5.943 MB / 1.622 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.097e-06/5.627, allocations: 0 / 1.622 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02042/5.647, allocations: 4.135 MB / 1.626 GB, free: 100.7 MB / 0.6042 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 (404): * Single equations (assignments): 394 * 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.002385/5.65, allocations: 303.1 kB / 1.626 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.05839/5.708, allocations: 33.62 MB / 1.659 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.404e-06/5.708, allocations: 6.516 kB / 1.659 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02413/5.732, allocations: 14.57 MB / 1.673 GB, free: 82.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008198/5.741, allocations: 1.329 MB / 1.674 GB, free: 82.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08801/5.829, allocations: 43.16 MB / 1.716 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02459/5.853, allocations: 10.98 MB / 1.727 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0113/5.865, allocations: 0.703 MB / 1.728 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.209e-06/5.865, allocations: 0 / 1.728 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of Templates: time 1.243/7.108, allocations: 380.6 MB / 2.099 GB, free: 115.9 MB / 0.6355 GB