Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis1.gear.bearingFriction.startBackward|axis1.gear.bearingFriction.startForward|axis2.gear.bearingFriction.mode|axis2.gear.bearingFriction.startBackward|axis2.gear.bearingFriction.startForward|axis3.gear.bearingFriction.mode|axis3.gear.bearingFriction.startBackward|axis3.gear.bearingFriction.startForward|axis4.gear.bearingFriction.mode|axis4.gear.bearingFriction.startBackward|axis4.gear.bearingFriction.startForward|axis5.gear.bearingFriction.mode|axis5.gear.bearingFriction.startBackward|axis5.gear.bearingFriction.startForward|axis6.gear.bearingFriction.mode|axis6.gear.bearingFriction.startBackward|axis6.gear.bearingFriction.startForward",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.199e-05, allocations: 4 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.255, allocations: 44.5 MB / 294.1 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.4172, allocations: 107.1 MB / 401.2 MB, free: 6.859 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.4176, allocations: 99.94 kB / 401.3 MB, free: 6.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.79/2.207, allocations: 354.8 MB / 0.7383 GB, free: 2.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.143e-06/2.207, allocations: 3.094 kB / 0.7383 GB, free: 2.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001479/2.209, allocations: 365.6 kB / 0.7387 GB, free: 2.645 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: 4555 * Number of variables: 4555 Notification: Performance of Generate backend data structure: time 0.05386/2.263, allocations: 15.26 MB / 0.7536 GB, free: 13.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/2.263, allocations: 7.312 kB / 0.7536 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0226/2.286, allocations: 3.574 MB / 0.7571 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05155/2.337, allocations: 19.83 MB / 0.7765 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001383/2.339, allocations: 0.7857 MB / 0.7772 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006971/2.346, allocations: 0.9922 MB / 0.7782 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04878/2.394, allocations: 18.9 MB / 0.7966 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06949/2.464, allocations: 22.89 MB / 0.819 GB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001434/2.465, allocations: 144.2 kB / 0.8191 GB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005976/2.471, allocations: 32 kB / 0.8192 GB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004225/2.476, allocations: 1.947 MB / 0.8211 GB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5569/3.033, allocations: 107.9 MB / 0.9264 GB, free: 24.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04083/3.073, allocations: 12.74 MB / 0.9388 GB, free: 24.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01614/3.09, allocations: 9.659 MB / 0.9483 GB, free: 23.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/3.091, allocations: 342.3 kB / 0.9486 GB, free: 23.72 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02138/3.112, allocations: 9.988 MB / 0.9583 GB, free: 23.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=798): time 2.279e-05/3.112, allocations: 0 / 0.9583 GB, free: 23.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=989): time 0.6856/3.798, allocations: 103.6 MB / 1.059 GB, free: 75.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003412/3.798, allocations: 1.531 MB / 1.061 GB, free: 74.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02004/3.818, allocations: 7.926 MB / 1.069 GB, free: 73.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002944/3.821, allocations: 71.77 kB / 1.069 GB, free: 73.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007926/3.829, allocations: 7.708 MB / 1.076 GB, free: 71.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005544/3.835, allocations: 3.278 MB / 1.08 GB, free: 69.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00315/3.838, allocations: 0 / 1.08 GB, free: 69.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001198/3.839, allocations: 0.8361 MB / 1.08 GB, free: 68.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01817/3.858, allocations: 8.762 MB / 1.089 GB, free: 68.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02174/3.879, allocations: 13.16 MB / 1.102 GB, free: 63.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02133/3.901, allocations: 10.48 MB / 1.112 GB, free: 63.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/3.901, allocations: 36.94 kB / 1.112 GB, free: 63.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=1702) (initialization): time 0.05492/3.956, allocations: 22.11 MB / 1.134 GB, free: 62.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/3.956, allocations: 66.25 kB / 1.134 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002117/3.956, allocations: 139 kB / 1.134 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002805/3.959, allocations: 1.181 MB / 1.135 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02045/3.98, allocations: 3.568 MB / 1.138 GB, free: 62.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/4.001, allocations: 25.95 MB / 1.164 GB, free: 40.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01813/4.019, allocations: 1.048 MB / 1.165 GB, free: 40.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004071/4.023, allocations: 0.6178 MB / 1.165 GB, free: 40.52 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis6.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis5.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis4.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis3.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis2.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis1.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 157 (axis6.gear.bearingFriction.free,axis5.gear.bearingFriction.free,axis4.gear.bearingFriction.free,axis3.gear.bearingFriction.free,axis2.gear.bearingFriction.free,axis1.gear.bearingFriction.free,$whenCondition1,pathPlanning.path.motion_ref,pathPlanning.path.noWphase,pathPlanning.pathToAxis1.moving[1],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis5.moving[5],pathPlanning.pathToAxis6.moving[6],pathPlanning.terminateSimulation.condition,$PRE.axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startForward,$PRE.axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.locked,$PRE.axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.mode,$PRE.axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startForward,$PRE.axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.locked,$PRE.axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.mode,$PRE.axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startForward,$PRE.axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.locked,$PRE.axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.mode,$PRE.axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startForward,$PRE.axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.locked,$PRE.axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.mode,$PRE.axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startForward,$PRE.axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.locked,$PRE.axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.mode,$PRE.axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startForward,$PRE.axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.locked,$PRE.axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.mode,mechanics.load.color[3],mechanics.load.color[2],mechanics.load.color[1],mechanics.load.body.sphereColor[3],mechanics.load.body.sphereColor[2],mechanics.load.body.sphereColor[1],mechanics.load.frameTranslation.color[3],mechanics.load.frameTranslation.color[2],mechanics.load.frameTranslation.color[1],mechanics.b6.color[3],mechanics.b6.color[2],mechanics.b6.color[1],mechanics.b6.body.sphereColor[3],mechanics.b6.body.sphereColor[2],mechanics.b6.body.sphereColor[1],mechanics.b6.frameTranslation.color[3],mechanics.b6.frameTranslation.color[2],mechanics.b6.frameTranslation.color[1],mechanics.b5.color[3],mechanics.b5.color[2],mechanics.b5.color[1],mechanics.b5.body.sphereColor[3],mechanics.b5.body.sphereColor[2],mechanics.b5.body.sphereColor[1],mechanics.b5.frameTranslation.color[3],mechanics.b5.frameTranslation.color[2],mechanics.b5.frameTranslation.color[1],mechanics.b4.color[3],mechanics.b4.color[2],mechanics.b4.color[1],mechanics.b4.body.sphereColor[3],mechanics.b4.body.sphereColor[2],mechanics.b4.body.sphereColor[1],mechanics.b4.frameTranslation.color[3],mechanics.b4.frameTranslation.color[2],mechanics.b4.frameTranslation.color[1],mechanics.b3.color[3],mechanics.b3.color[2],mechanics.b3.color[1],mechanics.b3.body.sphereColor[3],mechanics.b3.body.sphereColor[2],mechanics.b3.body.sphereColor[1],mechanics.b3.frameTranslation.color[3],mechanics.b3.frameTranslation.color[2],mechanics.b3.frameTranslation.color[1],mechanics.b2.color[3],mechanics.b2.color[2],mechanics.b2.color[1],mechanics.b2.body.sphereColor[3],mechanics.b2.body.sphereColor[2],mechanics.b2.body.sphereColor[1],mechanics.b2.frameTranslation.color[3],mechanics.b2.frameTranslation.color[2],mechanics.b2.frameTranslation.color[1],mechanics.b1.color[3],mechanics.b1.color[2],mechanics.b1.color[1],mechanics.b1.body.sphereColor[3],mechanics.b1.body.sphereColor[2],mechanics.b1.body.sphereColor[1],mechanics.b1.frameTranslation.color[3],mechanics.b1.frameTranslation.color[2],mechanics.b1.frameTranslation.color[1],mechanics.b0.color[3],mechanics.b0.color[2],mechanics.b0.color[1],mechanics.b0.body.sphereColor[3],mechanics.b0.body.sphereColor[2],mechanics.b0.body.sphereColor[1],mechanics.b0.frameTranslation.color[3],mechanics.b0.frameTranslation.color[2],mechanics.b0.frameTranslation.color[1],mechanics.r6.cylinderColor[3],mechanics.r6.cylinderColor[2],mechanics.r6.cylinderColor[1],mechanics.r5.cylinderColor[3],mechanics.r5.cylinderColor[2],mechanics.r5.cylinderColor[1],mechanics.r4.cylinderColor[3],mechanics.r4.cylinderColor[2],mechanics.r4.cylinderColor[1],mechanics.r3.cylinderColor[3],mechanics.r3.cylinderColor[2],mechanics.r3.cylinderColor[1],mechanics.r2.cylinderColor[3],mechanics.r2.cylinderColor[2],mechanics.r2.cylinderColor[1],mechanics.r1.cylinderColor[3],mechanics.r1.cylinderColor[2],mechanics.r1.cylinderColor[1],mechanics.world.gravitySphereColor[3],mechanics.world.gravitySphereColor[2],mechanics.world.gravitySphereColor[1],mechanics.world.gravityArrowColor[3],mechanics.world.gravityArrowColor[2],mechanics.world.gravityArrowColor[1],mechanics.world.axisColor_x[3],mechanics.world.axisColor_x[2],mechanics.world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1660): * Single equations (assignments): 1636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.007182/4.031, allocations: 0.6595 MB / 1.166 GB, free: 40.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004765/4.035, allocations: 1.094 MB / 1.167 GB, free: 39.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06858/4.104, allocations: 27.53 MB / 1.194 GB, free: 29.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001423/4.104, allocations: 96 kB / 1.194 GB, free: 29.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.728e-05/4.104, allocations: 4 kB / 1.194 GB, free: 29.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002253/4.105, allocations: 48.14 kB / 1.194 GB, free: 29.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4595/4.564, allocations: 58.41 MB / 1.251 GB, free: 65.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000119/4.564, allocations: 15 kB / 1.251 GB, free: 65.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00946/4.574, allocations: 1.547 MB / 1.253 GB, free: 65.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05077/4.625, allocations: 13.27 MB / 1.266 GB, free: 65.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002892/4.627, allocations: 75.58 kB / 1.266 GB, free: 65.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04182/4.669, allocations: 27.61 MB / 1.293 GB, free: 56.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.393e-05/4.669, allocations: 26.58 kB / 1.293 GB, free: 56.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08731/4.757, allocations: 42.19 MB / 1.334 GB, free: 49.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0109/4.768, allocations: 3.166 MB / 1.337 GB, free: 47.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005608/4.773, allocations: 96.05 kB / 1.337 GB, free: 47.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01349/4.787, allocations: 0.9056 MB / 1.338 GB, free: 47.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004215/4.791, allocations: 0.8652 MB / 1.339 GB, free: 47.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002839/4.794, allocations: 289.1 kB / 1.339 GB, free: 47.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01483/4.809, allocations: 5.706 MB / 1.345 GB, free: 44.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.653e-06/4.809, allocations: 0 / 1.345 GB, free: 44.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02062/4.83, allocations: 3.222 MB / 1.348 GB, free: 41.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 36 (axis1.gear.spring.phi_rel,axis1.gear.spring.w_rel,axis1.gear.bearingFriction.phi,axis1.motor.La.i,axis1.motor.C.v,axis1.motor.Jmotor.w,axis1.controller.PI.x,axis2.gear.spring.phi_rel,axis2.gear.spring.w_rel,axis2.gear.bearingFriction.phi,axis2.motor.La.i,axis2.motor.C.v,axis2.motor.Jmotor.w,axis2.controller.PI.x,axis3.gear.spring.phi_rel,axis3.gear.spring.w_rel,axis3.gear.bearingFriction.phi,axis3.motor.La.i,axis3.motor.C.v,axis3.motor.Jmotor.w,axis3.controller.PI.x,axis4.motor.La.i,axis4.motor.C.v,axis4.motor.speed.flange.phi,axis4.motor.Jmotor.w,axis4.controller.PI.x,axis5.motor.La.i,axis5.motor.C.v,axis5.motor.speed.flange.phi,axis5.motor.Jmotor.w,axis5.controller.PI.x,axis6.motor.La.i,axis6.motor.C.v,axis6.motor.speed.flange.phi,axis6.motor.Jmotor.w,axis6.controller.PI.x) * Number of discrete variables: 34 (pathPlanning.terminateSimulation.condition,$whenCondition1,pathPlanning.path.motion_ref,pathPlanning.pathToAxis1.moving[1],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis5.moving[5],pathPlanning.pathToAxis6.moving[6],axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.locked,axis1.gear.bearingFriction.mode,axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.locked,axis2.gear.bearingFriction.mode,axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.locked,axis3.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.locked,axis4.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.locked,axis5.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.locked,axis6.gear.bearingFriction.mode,pathPlanning.path.noWphase) * Number of discrete states: 18 (axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (768): * Single equations (assignments): 758 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {9 189,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003429/4.833, allocations: 347 kB / 1.348 GB, free: 41.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04097/4.874, allocations: 22.01 MB / 1.37 GB, free: 21.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.991e-05/4.874, allocations: 10.66 kB / 1.37 GB, free: 21.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02682/4.901, allocations: 12.12 MB / 1.382 GB, free: 10.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01379/4.915, allocations: 1.632 MB / 1.383 GB, free: 8.758 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3995/5.314, allocations: 32.62 MB / 1.415 GB, free: 77.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02189/5.336, allocations: 9.01 MB / 1.424 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007594/5.344, allocations: 0.7681 MB / 1.425 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of SimCode: time 1.812e-06/5.344, allocations: 0 / 1.425 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of Templates: time 3.518/8.862, allocations: 1.149 GB / 2.573 GB, free: 82.7 MB / 0.5261 GB make -j1 -f Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=5 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:5895:28: error: no matching function for call to 'abs' tmp122 = min_max(std::abs(_pathPlanning_P_path_P_aux1_)).second; ^~~~~~~~ /usr/include/stdlib.h:837:12: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'int' for 1st argument extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:56:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long' for 1st argument abs(long __i) { return __builtin_labs(__i); } ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:61:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long long' for 1st argument abs(long long __x) { return __builtin_llabs (__x); } ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:70:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'double' for 1st argument abs(double __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:74:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'float' for 1st argument abs(float __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:78:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long double' for 1st argument abs(long double __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/complex:599:5: note: candidate template ignored: could not match 'complex' against 'StatArrayDim1' abs(const complex<_Tp>& __z) { return __complex_abs(__z.__rep()); } ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:5915:28: error: no matching function for call to 'abs' tmp123 = min_max(std::abs(_pathPlanning_P_path_P_aux2_)).second; ^~~~~~~~ /usr/include/stdlib.h:837:12: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'int' for 1st argument extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:56:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long' for 1st argument abs(long __i) { return __builtin_labs(__i); } ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:61:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long long' for 1st argument abs(long long __x) { return __builtin_llabs (__x); } ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:70:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'double' for 1st argument abs(double __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:74:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'float' for 1st argument abs(float __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:78:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long double' for 1st argument abs(long double __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/complex:599:5: note: candidate template ignored: could not match 'complex' against 'StatArrayDim1' abs(const complex<_Tp>& __z) { return __complex_abs(__z.__rep()); } ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o] Error 1