Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.802e-05, allocations: 3.984 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 50.41 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.5022/0.6236, allocations: 134 MB / 479 MB, free: 2.355 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.09557/0.7192, allocations: 30.75 MB / 0.4978 GB, free: 3.516 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03716/0.7564, allocations: 0.869 MB / 0.4987 GB, free: 2.645 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02633/0.7828, allocations: 6.591 MB / 0.5051 GB, free: 12.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07699/0.8599, allocations: 17.52 MB / 0.5222 GB, free: 10.45 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01789/0.8778, allocations: 3.172 MB / 0.5253 GB, free: 7.277 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02865/0.9065, allocations: 9.829 MB / 0.5349 GB, free: 13.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04171/0.9483, allocations: 16.37 MB / 0.5509 GB, free: 12.97 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/0.9607, allocations: 4.422 MB / 0.5552 GB, free: 8.539 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01361/0.9743, allocations: 5.845 MB / 0.5609 GB, free: 2.676 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00691/0.9813, allocations: 0.9329 MB / 0.5619 GB, free: 1.742 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005169/0.9865, allocations: 496 kB / 0.5623 GB, free: 1.258 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.3997/1.386, allocations: 4.84 MB / 0.5671 GB, free: 22.88 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009018/1.395, allocations: 1.323 MB / 0.5683 GB, free: 22.88 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0427/1.438, allocations: 29.66 MB / 0.5973 GB, free: 13.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.438, allocations: 0 / 0.5973 GB, free: 13.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.326e-06/1.438, allocations: 2.156 kB / 0.5973 GB, free: 13.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001337/1.44, allocations: 0 / 0.5973 GB, free: 13.09 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4558 * Number of variables: 4558 Notification: Performance of Generate backend data structure: time 0.06046/1.5, allocations: 15.22 MB / 0.6122 GB, free: 4.965 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.5, allocations: 10.72 kB / 0.6122 GB, free: 4.965 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02152/1.522, allocations: 2.764 MB / 0.6149 GB, free: 3.695 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03613/1.558, allocations: 12.3 MB / 0.6269 GB, free: 184 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001857/1.56, allocations: 1.236 MB / 0.6281 GB, free: 40 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008351/1.568, allocations: 1.548 MB / 0.6296 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1152/1.683, allocations: 27.29 MB / 0.6563 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002066/1.686, allocations: 143 kB / 0.6564 GB, free: 2.754 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009127/1.695, allocations: 0.6344 MB / 0.657 GB, free: 2.602 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01439/1.709, allocations: 3.104 MB / 0.66 GB, free: 28 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1159/1.825, allocations: 23.67 MB / 0.6832 GB, free: 0.5977 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6793/2.504, allocations: 109.9 MB / 0.7905 GB, free: 177.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06059/2.565, allocations: 15.05 MB / 0.8052 GB, free: 176.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.104/2.669, allocations: 36.17 MB / 0.8405 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04907/2.718, allocations: 10.91 MB / 0.8511 GB, free: 161.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=769): time 1.602e-05/2.718, allocations: 0 / 0.8511 GB, free: 161.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=939): time 0.6659/3.384, allocations: 131.2 MB / 0.9793 GB, free: 38.63 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000444/3.385, allocations: 1.526 MB / 0.9807 GB, free: 36.76 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0292/3.414, allocations: 10.35 MB / 0.9909 GB, free: 26.46 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.003876/3.418, allocations: 229.7 kB / 0.9911 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009784/3.428, allocations: 7.668 MB / 0.9986 GB, free: 18.55 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.007148/3.435, allocations: 3.25 MB / 1.002 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004624/3.44, allocations: 268 kB / 1.002 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001351/3.441, allocations: 0.821 MB / 1.003 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0264/3.467, allocations: 9.103 MB / 1.012 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3915/3.859, allocations: 13.57 MB / 1.025 GB, free: 207 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03377/3.893, allocations: 10.8 MB / 1.035 GB, free: 204.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002855/3.893, allocations: 38.09 kB / 1.036 GB, free: 204.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1669) (initialization): time 0.07913/3.972, allocations: 23.61 MB / 1.059 GB, free: 194.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/3.973, allocations: 61.69 kB / 1.059 GB, free: 194.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002385/3.973, allocations: 131.8 kB / 1.059 GB, free: 194.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003933/3.977, allocations: 1.187 MB / 1.06 GB, free: 194.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03352/4.01, allocations: 3.694 MB / 1.064 GB, free: 193.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02771/4.038, allocations: 27.09 MB / 1.09 GB, free: 168.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0258/4.064, allocations: 1.298 MB / 1.091 GB, free: 168 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005529/4.07, allocations: 0.5794 MB / 1.092 GB, free: 167.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 154 (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.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.groundColor[3],mechanics.world.groundColor[2],mechanics.world.groundColor[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 (1627): * Single equations (assignments): 1609 * 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.02287/4.093, allocations: 5.193 MB / 1.097 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006675/4.099, allocations: 1.141 MB / 1.098 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1021/4.201, allocations: 27.21 MB / 1.125 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/4.202, allocations: 103.8 kB / 1.125 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.076e-05/4.202, allocations: 4 kB / 1.125 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002932/4.202, allocations: 41.34 kB / 1.125 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1785/4.38, allocations: 59.46 MB / 1.183 GB, free: 90.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001516/4.381, allocations: 14.84 kB / 1.183 GB, free: 90.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01436/4.395, allocations: 1.487 MB / 1.184 GB, free: 89.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06741/4.462, allocations: 13.65 MB / 1.198 GB, free: 75.54 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003621/4.466, allocations: 211.8 kB / 1.198 GB, free: 75.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05148/4.518, allocations: 27.29 MB / 1.224 GB, free: 47.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-05/4.518, allocations: 20.03 kB / 1.224 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1356/4.653, allocations: 44.09 MB / 1.267 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01326/4.667, allocations: 3.226 MB / 1.271 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.3928/5.06, allocations: 237.7 kB / 1.271 GB, free: 199.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02033/5.08, allocations: 1.051 MB / 1.272 GB, free: 199.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005648/5.086, allocations: 0.786 MB / 1.273 GB, free: 199.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00345/5.089, allocations: 255 kB / 1.273 GB, free: 199.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.02421/5.113, allocations: 7.692 MB / 1.28 GB, free: 198.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.112e-06/5.113, allocations: 5.781 kB / 1.28 GB, free: 198.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02556/5.139, allocations: 3.618 MB / 1.284 GB, free: 198.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 36 (axis1.gear.spring.phi_rel,axis1.gear.spring.w_rel,axis1.motor.La.i,axis1.motor.C.v,axis1.motor.Jmotor.w,axis1.controller.PI.x,axis1.initializeFlange.phi_flange,axis2.gear.spring.phi_rel,axis2.gear.spring.w_rel,axis2.motor.La.i,axis2.motor.C.v,axis2.motor.Jmotor.w,axis2.controller.PI.x,axis2.initializeFlange.phi_flange,axis3.gear.spring.phi_rel,axis3.gear.spring.w_rel,axis3.motor.La.i,axis3.motor.C.v,axis3.motor.Jmotor.w,axis3.controller.PI.x,axis3.initializeFlange.phi_flange,axis4.motor.La.i,axis4.motor.C.v,axis4.motor.Jmotor.w,axis4.controller.PI.x,axis4.initializeFlange.phi_flange,axis5.motor.La.i,axis5.motor.C.v,axis5.motor.Jmotor.w,axis5.controller.PI.x,axis5.initializeFlange.phi_flange,axis6.motor.La.i,axis6.motor.C.v,axis6.motor.Jmotor.w,axis6.controller.PI.x,axis6.initializeFlange.phi_flange) * Number of discrete variables: 27 (pathPlanning.terminateSimulation.condition,$whenCondition1,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 (724): * Single equations (assignments): 714 * 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.004671/5.144, allocations: 491.4 kB / 1.284 GB, free: 198.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0606/5.204, allocations: 22.77 MB / 1.307 GB, free: 190.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.211e-05/5.204, allocations: 8.156 kB / 1.307 GB, free: 190.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.03576/5.24, allocations: 12.11 MB / 1.319 GB, free: 184.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02044/5.261, allocations: 1.982 MB / 1.32 GB, free: 184.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1201/5.381, allocations: 44.19 MB / 1.364 GB, free: 150.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02351/5.405, allocations: 8.933 MB / 1.372 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01089/5.415, allocations: 0.7979 MB / 1.373 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of SimCode: time 2.184e-06/5.416, allocations: 0 / 1.373 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of Templates: time 4.358/9.774, allocations: 1.148 GB / 2.521 GB, free: 173 MB / 0.5573 GB make -j1 -f Modelica_trunk_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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:6024:30: error: no matching function for call to 'abs' tmp19 = 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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:6089:30: error: no matching function for call to 'abs' tmp20 = 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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.o] Error 1