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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.501e-05, allocations: 4 kB / 225 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2144, allocations: 38.77 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.369, allocations: 102.1 MB / 365.9 MB, free: 3.629 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/0.3694, allocations: 95.94 kB / 366 MB, free: 3.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.046/2.415, allocations: 359.2 MB / 0.7082 GB, free: 14.17 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.74e-06/2.415, allocations: 0 / 0.7082 GB, free: 14.17 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001556/2.417, allocations: 364.6 kB / 0.7085 GB, free: 14.15 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4543 * Number of variables: 4543 Notification: Performance of Generate backend data structure: time 0.0547/2.472, allocations: 15.25 MB / 0.7234 GB, free: 8.871 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/2.472, allocations: 7.906 kB / 0.7234 GB, free: 8.871 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02268/2.494, allocations: 3.573 MB / 0.7269 GB, free: 7.832 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05368/2.548, allocations: 19.87 MB / 0.7463 GB, free: 2.078 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001977/2.55, allocations: 1.307 MB / 0.7476 GB, free: 1.285 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007704/2.558, allocations: 1.626 MB / 0.7492 GB, free: 212 kB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3611/2.919, allocations: 26.63 MB / 0.7752 GB, free: 31.57 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001471/2.921, allocations: 144.8 kB / 0.7753 GB, free: 31.57 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006555/2.927, allocations: 0.6658 MB / 0.776 GB, free: 31.57 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00391/2.931, allocations: 1.944 MB / 0.7779 GB, free: 31.54 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06906/3, allocations: 22.95 MB / 0.8003 GB, free: 31.47 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2224/3.223, allocations: 110.9 MB / 0.9085 GB, free: 11.37 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05186/3.274, allocations: 15.16 MB / 0.9233 GB, free: 14.75 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02106/3.296, allocations: 9.984 MB / 0.9331 GB, free: 5.422 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3677/3.663, allocations: 36.95 MB / 0.9692 GB, free: 76.57 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04117/3.705, allocations: 10.97 MB / 0.9799 GB, free: 75.95 MB / 442.8 MB Notification: Performance of pre-optimization done (n=772): time 1.809e-05/3.705, allocations: 2.594 kB / 0.9799 GB, free: 75.95 MB / 442.8 MB Notification: Performance of matching and sorting (n=932): time 0.3832/4.088, allocations: 104.9 MB / 1.082 GB, free: 26.86 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003401/4.088, allocations: 1.52 MB / 1.084 GB, free: 25 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0233/4.112, allocations: 9.335 MB / 1.093 GB, free: 16.72 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002795/4.114, allocations: 225.2 kB / 1.093 GB, free: 16.5 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2967/4.411, allocations: 8.058 MB / 1.101 GB, free: 74.89 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00545/4.417, allocations: 3.221 MB / 1.104 GB, free: 72.9 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003279/4.42, allocations: 265.8 kB / 1.104 GB, free: 72.9 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001117/4.421, allocations: 0.8258 MB / 1.105 GB, free: 72.56 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02009/4.441, allocations: 8.642 MB / 1.114 GB, free: 72.53 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02332/4.464, allocations: 13.07 MB / 1.126 GB, free: 67.32 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02352/4.488, allocations: 10.37 MB / 1.137 GB, free: 67.15 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001575/4.488, allocations: 40.84 kB / 1.137 GB, free: 67.15 MB / 442.8 MB Notification: Performance of matching and sorting (n=1668) (initialization): time 0.05928/4.548, allocations: 22.33 MB / 1.158 GB, free: 66.45 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/4.548, allocations: 64.31 kB / 1.158 GB, free: 66.45 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/4.548, allocations: 130.8 kB / 1.159 GB, free: 66.45 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003337/4.551, allocations: 1.186 MB / 1.16 GB, free: 66.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02116/4.572, allocations: 3.518 MB / 1.163 GB, free: 66.12 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02317/4.596, allocations: 26.93 MB / 1.19 GB, free: 42.94 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01871/4.614, allocations: 1.314 MB / 1.191 GB, free: 42.93 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004168/4.619, allocations: 0.6091 MB / 1.191 GB, free: 42.93 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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.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,pathPlanning.path.noWphase,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 (1626): * Single equations (assignments): 1608 * 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: 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.007133/4.626, allocations: 1.062 MB / 1.192 GB, free: 42.49 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005172/4.631, allocations: 1.144 MB / 1.194 GB, free: 41.89 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07044/4.701, allocations: 25.5 MB / 1.218 GB, free: 28.51 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.45e-05/4.702, allocations: 92 kB / 1.219 GB, free: 28.42 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-05/4.702, allocations: 4 kB / 1.219 GB, free: 28.41 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002077/4.702, allocations: 46.31 kB / 1.219 GB, free: 28.41 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4423/5.144, allocations: 56.91 MB / 1.274 GB, free: 61.43 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001088/5.144, allocations: 10.19 kB / 1.274 GB, free: 61.43 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009181/5.154, allocations: 1.463 MB / 1.276 GB, free: 61.43 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0514/5.205, allocations: 14.26 MB / 1.29 GB, free: 61.32 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002788/5.208, allocations: 207.3 kB / 1.29 GB, free: 61.32 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04257/5.25, allocations: 27.15 MB / 1.316 GB, free: 51.74 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/5.25, allocations: 10.78 kB / 1.316 GB, free: 51.74 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1207/5.371, allocations: 40.66 MB / 1.356 GB, free: 38.22 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01842/5.39, allocations: 3.171 MB / 1.359 GB, free: 35.98 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008559/5.398, allocations: 234.9 kB / 1.359 GB, free: 35.75 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01347/5.412, allocations: 1.056 MB / 1.36 GB, free: 35.05 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003891/5.416, allocations: 0.784 MB / 1.361 GB, free: 34.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002529/5.418, allocations: 274.4 kB / 1.361 GB, free: 34.35 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01729/5.436, allocations: 6.842 MB / 1.368 GB, free: 28.22 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.522e-06/5.436, allocations: 0 / 1.368 GB, free: 28.22 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01976/5.455, allocations: 3.586 MB / 1.372 GB, free: 24.64 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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: 33 (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) * Number of discrete states: 18 (axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startForward,axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startForward,axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startForward,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 (717): * Single equations (assignments): 707 * 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 {8 190,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003085/5.459, allocations: 479 kB / 1.372 GB, free: 24.28 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.04194/5.501, allocations: 21.24 MB / 1.393 GB, free: 4.805 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/5.501, allocations: 4.438 kB / 1.393 GB, free: 4.801 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.05006/5.551, allocations: 12.19 MB / 1.405 GB, free: 14.23 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01564/5.566, allocations: 1.967 MB / 1.407 GB, free: 12.68 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3659/5.932, allocations: 31.98 MB / 1.438 GB, free: 74.64 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02003/5.952, allocations: 8.933 MB / 1.446 GB, free: 73.52 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007306/5.96, allocations: 0.7832 MB / 1.447 GB, free: 73.52 MB / 458.8 MB Notification: Performance of SimCode: time 2.116e-06/5.96, allocations: 0 / 1.447 GB, free: 73.52 MB / 458.8 MB Notification: Performance of Templates: time 3.728/9.688, allocations: 1.14 GB / 2.588 GB, free: 104.6 MB / 490.8 MB make -j1 -f Modelica_3.2.1_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=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp In file included from OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29: ./OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:5963:28: error: no matching function for call to 'abs' tmp117 = 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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29: ./OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:6028:28: error: no matching function for call to 'abs' tmp118 = 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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o] Error 1