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.112/2.112, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.155e-05, allocations: 4.984 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09349, allocations: 50.41 MB / 342.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5037/0.5973, allocations: 118.6 MB / 461.1 MB, free: 8.086 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5976, allocations: 99.56 kB / 461.2 MB, free: 8.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.698/2.295, allocations: 364.5 MB / 0.8064 GB, free: 9.816 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.047e-06/2.295, allocations: 0 / 0.8064 GB, free: 9.816 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001509/2.297, allocations: 363.9 kB / 0.8067 GB, free: 9.789 MB / 442.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.05353/2.35, allocations: 15.23 MB / 0.8216 GB, free: 4.441 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/2.351, allocations: 8.156 kB / 0.8216 GB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02192/2.372, allocations: 3.566 MB / 0.8251 GB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05127/2.424, allocations: 18.49 MB / 0.8431 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001988/2.426, allocations: 1.3 MB / 0.8444 GB, free: 9.395 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007912/2.434, allocations: 1.64 MB / 0.846 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4655/2.899, allocations: 26.43 MB / 0.8718 GB, free: 34.78 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001592/2.901, allocations: 146.2 kB / 0.8719 GB, free: 34.78 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006667/2.908, allocations: 0.6687 MB / 0.8726 GB, free: 34.78 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00469/2.912, allocations: 1.947 MB / 0.8745 GB, free: 34.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1137/3.026, allocations: 22.63 MB / 0.8966 GB, free: 34.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2253/3.251, allocations: 110.2 MB / 1.004 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04735/3.299, allocations: 14.54 MB / 1.018 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01998/3.319, allocations: 9.92 MB / 1.028 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4383/3.757, allocations: 37.34 MB / 1.065 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04507/3.802, allocations: 10.91 MB / 1.075 GB, free: 88.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=784): time 2.744e-05/3.802, allocations: 0 / 1.075 GB, free: 88.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=944): time 0.3771/4.18, allocations: 101.8 MB / 1.175 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003308/4.18, allocations: 1.526 MB / 1.176 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02309/4.203, allocations: 9.111 MB / 1.185 GB, free: 61.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002957/4.206, allocations: 228.5 kB / 1.185 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.008075/4.214, allocations: 7.643 MB / 1.193 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005495/4.22, allocations: 3.266 MB / 1.196 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003126/4.223, allocations: 260.8 kB / 1.196 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001093/4.224, allocations: 0.8218 MB / 1.197 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01859/4.243, allocations: 8.487 MB / 1.205 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02175/4.264, allocations: 12.92 MB / 1.218 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02183/4.286, allocations: 10.23 MB / 1.228 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/4.286, allocations: 36 kB / 1.228 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1671) (initialization): time 0.4044/4.691, allocations: 22.9 MB / 1.25 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/4.691, allocations: 61.84 kB / 1.25 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002669/4.691, allocations: 146 kB / 1.25 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003365/4.695, allocations: 1.179 MB / 1.252 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02375/4.718, allocations: 3.513 MB / 1.255 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02439/4.743, allocations: 26.85 MB / 1.281 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0187/4.762, allocations: 1.317 MB / 1.283 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004203/4.766, allocations: 0.6035 MB / 1.283 GB, free: 53.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * Number of states: 0 () * Number of discrete variables: 160 (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.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 (1629): * Single equations (assignments): 1605 * 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.007248/4.773, allocations: 1.058 MB / 1.284 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004703/4.778, allocations: 1.144 MB / 1.285 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08519/4.863, allocations: 29.66 MB / 1.314 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.771e-05/4.863, allocations: 95.33 kB / 1.314 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.638e-05/4.863, allocations: 3.469 kB / 1.314 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002137/4.864, allocations: 45.58 kB / 1.314 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1478/5.011, allocations: 58.02 MB / 1.371 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001205/5.011, allocations: 9.781 kB / 1.371 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009562/5.021, allocations: 1.463 MB / 1.372 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05061/5.072, allocations: 13.31 MB / 1.385 GB, free: 37.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002966/5.075, allocations: 204.3 kB / 1.386 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03951/5.114, allocations: 26.71 MB / 1.412 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/5.114, allocations: 21.75 kB / 1.412 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4873/5.602, allocations: 44.17 MB / 1.455 GB, free: 89.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0112/5.613, allocations: 3.13 MB / 1.458 GB, free: 89.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005532/5.618, allocations: 234.9 kB / 1.458 GB, free: 89.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01428/5.633, allocations: 1.053 MB / 1.459 GB, free: 89.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004328/5.637, allocations: 0.8041 MB / 1.46 GB, free: 89.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002779/5.64, allocations: 270.1 kB / 1.46 GB, free: 89.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01946/5.659, allocations: 6.716 MB / 1.467 GB, free: 89.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.79e-06/5.659, allocations: 1.969 kB / 1.467 GB, free: 89.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02135/5.681, allocations: 3.578 MB / 1.47 GB, free: 89.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (723): * Single equations (assignments): 713 * 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 {7 191,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003359/5.684, allocations: 485.6 kB / 1.471 GB, free: 88.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04364/5.728, allocations: 21.31 MB / 1.492 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/5.728, allocations: 4.094 kB / 1.492 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02648/5.754, allocations: 11 MB / 1.502 GB, free: 86.17 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01569/5.77, allocations: 1.968 MB / 1.504 GB, free: 86.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08572/5.856, allocations: 31.93 MB / 1.535 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02148/5.878, allocations: 8.914 MB / 1.544 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007744/5.885, allocations: 0.7868 MB / 1.545 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of SimCode: time 2.229e-06/5.885, allocations: 3.375 kB / 1.545 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of Templates: time 3.747/9.632, allocations: 1.141 GB / 2.686 GB, free: 151.5 MB / 0.5886 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 -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_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:29: ./OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:5873:28: error: no matching function for call to 'abs' tmp110 = 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:29: ./OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:5938:28: error: no matching function for call to 'abs' tmp111 = 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