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.001488/0.001487, allocations: 181.7 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001053/0.001052, allocations: 97.22 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003997, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3336, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.5214, allocations: 114.2 MB / 488.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/0.5219, allocations: 103.9 kB / 488.8 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394/2.916, allocations: 360.5 MB / 0.8294 GB, free: 19.2 MB / 442.8 MB Notification: Performance of FrontEnd: time 3.387e-06/2.916, allocations: 0 / 0.8294 GB, free: 19.2 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001772/2.917, allocations: 363.2 kB / 0.8297 GB, free: 19.18 MB / 442.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.07319/2.991, allocations: 16.97 MB / 0.8463 GB, free: 13.07 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/2.991, allocations: 9.375 kB / 0.8463 GB, free: 13.07 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02837/3.019, allocations: 3.563 MB / 0.8498 GB, free: 12.04 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06056/3.08, allocations: 19.95 MB / 0.8692 GB, free: 10.18 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002005/3.082, allocations: 1.299 MB / 0.8705 GB, free: 10.05 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008633/3.09, allocations: 1.633 MB / 0.8721 GB, free: 10.01 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09665/3.187, allocations: 26.98 MB / 0.8985 GB, free: 6.98 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00173/3.189, allocations: 140.7 kB / 0.8986 GB, free: 6.945 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007103/3.196, allocations: 0.6719 MB / 0.8992 GB, free: 6.945 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005094/3.201, allocations: 1.951 MB / 0.9012 GB, free: 6.906 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08326/3.285, allocations: 23.46 MB / 0.9241 GB, free: 6.469 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6595/3.944, allocations: 110.6 MB / 1.032 GB, free: 29.74 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05948/4.004, allocations: 14.77 MB / 1.046 GB, free: 29.41 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1015/4.105, allocations: 36.92 MB / 1.083 GB, free: 27.1 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05164/4.157, allocations: 11.09 MB / 1.093 GB, free: 26.45 MB / 490.8 MB Notification: Performance of pre-optimization done (n=784): time 1.761e-05/4.157, allocations: 0 / 1.093 GB, free: 26.45 MB / 490.8 MB Notification: Performance of matching and sorting (n=944): time 1.015/5.172, allocations: 127.3 MB / 1.218 GB, free: 56.82 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005263/5.172, allocations: 1.527 MB / 1.219 GB, free: 55.06 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02897/5.201, allocations: 9.365 MB / 1.228 GB, free: 54.44 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.003505/5.205, allocations: 232.2 kB / 1.229 GB, free: 54.41 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.009081/5.214, allocations: 7.64 MB / 1.236 GB, free: 50.9 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.006718/5.221, allocations: 3.26 MB / 1.239 GB, free: 48.88 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004546/5.225, allocations: 266.2 kB / 1.239 GB, free: 48.88 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001261/5.227, allocations: 0.8268 MB / 1.24 GB, free: 48.54 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02484/5.251, allocations: 8.774 MB / 1.249 GB, free: 48.51 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02869/5.28, allocations: 13.29 MB / 1.262 GB, free: 43.25 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02879/5.309, allocations: 10.46 MB / 1.272 GB, free: 43.11 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001937/5.309, allocations: 38.97 kB / 1.272 GB, free: 43.11 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1671) (initialization): time 0.07214/5.381, allocations: 22.97 MB / 1.295 GB, free: 42.25 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/5.382, allocations: 64.14 kB / 1.295 GB, free: 42.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003107/5.382, allocations: 143.3 kB / 1.295 GB, free: 42.25 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003635/5.386, allocations: 1.185 MB / 1.296 GB, free: 42.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03092/5.417, allocations: 3.515 MB / 1.299 GB, free: 41.89 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02682/5.443, allocations: 27.04 MB / 1.326 GB, free: 17.51 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02498/5.469, allocations: 1.311 MB / 1.327 GB, free: 17.29 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004631/5.473, allocations: 0.6077 MB / 1.328 GB, free: 17.19 MB / 0.4949 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 () * Number of clocked 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.01957/5.493, allocations: 5.238 MB / 1.333 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006189/5.499, allocations: 1.146 MB / 1.334 GB, free: 13.85 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1296/5.629, allocations: 30.87 MB / 1.364 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001251/5.629, allocations: 92 kB / 1.364 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.577e-05/5.629, allocations: 4 kB / 1.364 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002674/5.629, allocations: 43.59 kB / 1.364 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6295/6.259, allocations: 58.6 MB / 1.421 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001359/6.259, allocations: 11.69 kB / 1.421 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01361/6.272, allocations: 1.459 MB / 1.423 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06905/6.342, allocations: 13.37 MB / 1.436 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003505/6.345, allocations: 208.7 kB / 1.436 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05056/6.396, allocations: 26.84 MB / 1.462 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.655e-05/6.396, allocations: 17.5 kB / 1.462 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1364/6.532, allocations: 43.03 MB / 1.504 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01223/6.544, allocations: 3.145 MB / 1.507 GB, free: 53.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0065/6.551, allocations: 239.2 kB / 1.508 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01938/6.57, allocations: 1.05 MB / 1.509 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005005/6.576, allocations: 0.8111 MB / 1.509 GB, free: 52.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002998/6.579, allocations: 270.6 kB / 1.51 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.02084/6.599, allocations: 6.936 MB / 1.516 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.904e-06/6.6, allocations: 0 / 1.516 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02472/6.624, allocations: 3.59 MB / 1.52 GB, free: 44.2 MB / 0.5105 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) * Number of clocked states: 0 () * 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.004299/6.629, allocations: 489.4 kB / 1.52 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.05622/6.685, allocations: 22.21 MB / 1.542 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.429e-05/6.685, allocations: 4.438 kB / 1.542 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.03192/6.717, allocations: 11.33 MB / 1.553 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01938/6.736, allocations: 1.981 MB / 1.555 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5597/7.296, allocations: 44.03 MB / 1.598 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02579/7.322, allocations: 8.956 MB / 1.607 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01022/7.332, allocations: 0.787 MB / 1.608 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of SimCode: time 3.066e-06/7.332, allocations: 0 / 1.608 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of Templates: time 4.377/11.71, allocations: 1.147 GB / 2.755 GB, free: 133.7 MB / 0.573 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'