Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") 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|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002269/0.002269, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.48e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09267/0.09271, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4488/0.5416, allocations: 114.1 MB / 483.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/0.542, allocations: 98.25 kB / 483.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.139/2.681, allocations: 360.7 MB / 0.8242 GB, free: 10.04 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.064e-06/2.681, allocations: 4 kB / 0.8242 GB, free: 10.04 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.00193/2.683, allocations: 364 kB / 0.8245 GB, free: 9.68 MB / 426.8 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.07973/2.762, allocations: 15.27 MB / 0.8394 GB, free: 10.3 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/2.763, allocations: 8.031 kB / 0.8394 GB, free: 10.29 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03043/2.793, allocations: 3.58 MB / 0.8429 GB, free: 6.688 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4784/3.271, allocations: 19.86 MB / 0.8623 GB, free: 36.42 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002461/3.274, allocations: 1.302 MB / 0.8636 GB, free: 36.29 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009209/3.283, allocations: 1.629 MB / 0.8652 GB, free: 36.25 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09944/3.383, allocations: 26.62 MB / 0.8912 GB, free: 33.32 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001787/3.385, allocations: 140 kB / 0.8913 GB, free: 33.29 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007979/3.393, allocations: 0.6695 MB / 0.892 GB, free: 33.29 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005476/3.398, allocations: 1.95 MB / 0.8939 GB, free: 33.26 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0819/3.48, allocations: 22.94 MB / 0.9163 GB, free: 33.02 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2733/3.753, allocations: 110.7 MB / 1.024 GB, free: 2.719 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5075/4.261, allocations: 16.32 MB / 1.04 GB, free: 79.34 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03568/4.297, allocations: 9.923 MB / 1.05 GB, free: 79.23 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1077/4.405, allocations: 36.91 MB / 1.086 GB, free: 76.93 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05024/4.455, allocations: 10.95 MB / 1.097 GB, free: 76.29 MB / 490.8 MB Notification: Performance of pre-optimization done (n=784): time 2.115e-05/4.455, allocations: 0 / 1.097 GB, free: 76.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=944): time 0.4837/4.939, allocations: 102.3 MB / 1.197 GB, free: 17.29 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004535/4.939, allocations: 1.525 MB / 1.198 GB, free: 15.42 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02718/4.966, allocations: 9.24 MB / 1.207 GB, free: 7.152 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003692/4.97, allocations: 228.4 kB / 1.207 GB, free: 6.926 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.4048/5.375, allocations: 7.639 MB / 1.215 GB, free: 74.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.007482/5.382, allocations: 3.266 MB / 1.218 GB, free: 73.25 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004342/5.387, allocations: 262.4 kB / 1.218 GB, free: 73.25 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001504/5.388, allocations: 0.8253 MB / 1.219 GB, free: 72.91 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02578/5.414, allocations: 8.483 MB / 1.227 GB, free: 72.88 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03028/5.445, allocations: 13 MB / 1.24 GB, free: 67.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02819/5.473, allocations: 10.22 MB / 1.25 GB, free: 67.45 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002199/5.473, allocations: 37.62 kB / 1.25 GB, free: 67.45 MB / 490.8 MB Notification: Performance of matching and sorting (n=1671) (initialization): time 0.07082/5.544, allocations: 22.39 MB / 1.272 GB, free: 66.49 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/5.544, allocations: 64.16 kB / 1.272 GB, free: 66.49 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000285/5.544, allocations: 138.5 kB / 1.272 GB, free: 66.49 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003887/5.548, allocations: 1.197 MB / 1.273 GB, free: 66.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.032/5.58, allocations: 3.501 MB / 1.277 GB, free: 66.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02632/5.607, allocations: 26.87 MB / 1.303 GB, free: 42.94 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02595/5.633, allocations: 1.311 MB / 1.304 GB, free: 42.93 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004927/5.638, allocations: 0.609 MB / 1.305 GB, free: 42.93 MB / 490.8 MB 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.00963/5.647, allocations: 1.058 MB / 1.306 GB, free: 42.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006914/5.654, allocations: 1.158 MB / 1.307 GB, free: 41.89 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1193/5.774, allocations: 29.66 MB / 1.336 GB, free: 33.51 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000113/5.774, allocations: 94.72 kB / 1.336 GB, free: 33.51 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.019e-05/5.774, allocations: 11.52 kB / 1.336 GB, free: 33.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002832/5.774, allocations: 54.22 kB / 1.336 GB, free: 33.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2224/5.997, allocations: 59.98 MB / 1.395 GB, free: 9.859 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001387/5.997, allocations: 12.19 kB / 1.395 GB, free: 9.852 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01448/6.011, allocations: 1.463 MB / 1.396 GB, free: 8.621 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4844/6.496, allocations: 13.42 MB / 1.409 GB, free: 79.62 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003576/6.499, allocations: 210 kB / 1.41 GB, free: 79.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05348/6.553, allocations: 26.72 MB / 1.436 GB, free: 70.07 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/6.553, allocations: 15.12 kB / 1.436 GB, free: 70.07 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1363/6.689, allocations: 42.34 MB / 1.477 GB, free: 65.83 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01364/6.703, allocations: 3.149 MB / 1.48 GB, free: 65.74 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007285/6.71, allocations: 237.8 kB / 1.48 GB, free: 65.74 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02009/6.731, allocations: 1.059 MB / 1.481 GB, free: 65.74 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005142/6.736, allocations: 0.8026 MB / 1.482 GB, free: 65.72 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003295/6.739, allocations: 278.2 kB / 1.482 GB, free: 65.72 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.02099/6.76, allocations: 6.81 MB / 1.489 GB, free: 64.15 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.91e-07/6.76, allocations: 0 / 1.489 GB, free: 64.15 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02556/6.786, allocations: 3.584 MB / 1.493 GB, free: 63.81 MB / 0.4949 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.004622/6.79, allocations: 478.4 kB / 1.493 GB, free: 63.56 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.05406/6.844, allocations: 21.67 MB / 1.514 GB, free: 53.84 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.192e-05/6.845, allocations: 5.938 kB / 1.514 GB, free: 53.84 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.03074/6.875, allocations: 11.09 MB / 1.525 GB, free: 44.29 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02015/6.896, allocations: 1.979 MB / 1.527 GB, free: 42.72 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1058/7.001, allocations: 32.08 MB / 1.558 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02391/7.025, allocations: 8.956 MB / 1.567 GB, free: 7.848 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01039/7.036, allocations: 0.7915 MB / 1.568 GB, free: 7.105 MB / 0.4949 GB Notification: Performance of SimCode: time 2.224e-06/7.036, allocations: 0 / 1.568 GB, free: 7.105 MB / 0.4949 GB Notification: Performance of Templates: time 4.495/11.53, allocations: 1.147 GB / 2.715 GB, free: 31.59 MB / 0.5574 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile b'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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:5873:28: error: no matching function for call to \'abs\'\n tmp110 = min_max(std::abs(_pathPlanning_P_path_P_aux1_)).second;\n ^~~~~~~~\n/usr/include/stdlib.h:837:12: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'int\' for 1st argument\nextern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;\n ^\n/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\n abs(long __i) { return __builtin_labs(__i); }\n ^\n/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\n abs(long long __x) { return __builtin_llabs (__x); }\n ^\n/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\n abs(double __x)\n ^\n/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\n abs(float __x)\n ^\n/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\n abs(long double __x)\n ^\n/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\'\n abs(const complex<_Tp>& __z) { return __complex_abs(__z.__rep()); }\n ^\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:5938:28: error: no matching function for call to \'abs\'\n tmp111 = min_max(std::abs(_pathPlanning_P_path_P_aux2_)).second;\n ^~~~~~~~\n/usr/include/stdlib.h:837:12: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'int\' for 1st argument\nextern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;\n ^\n/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\n abs(long __i) { return __builtin_labs(__i); }\n ^\n/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\n abs(long long __x) { return __builtin_llabs (__x); }\n ^\n/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\n abs(double __x)\n ^\n/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\n abs(float __x)\n ^\n/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\n abs(long double __x)\n ^\n/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\'\n abs(const complex<_Tp>& __z) { return __complex_abs(__z.__rep()); }\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o] Error 1\n'