Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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|axis1.gear.bearingFriction.startBackward|axis1.gear.bearingFriction.startForward|axis2.gear.bearingFriction.mode|axis2.gear.bearingFriction.startBackward|axis2.gear.bearingFriction.startForward|axis3.gear.bearingFriction.mode|axis3.gear.bearingFriction.startBackward|axis3.gear.bearingFriction.startForward|axis4.gear.bearingFriction.mode|axis4.gear.bearingFriction.startBackward|axis4.gear.bearingFriction.startForward|axis5.gear.bearingFriction.mode|axis5.gear.bearingFriction.startBackward|axis5.gear.bearingFriction.startForward|axis6.gear.bearingFriction.mode|axis6.gear.bearingFriction.startBackward|axis6.gear.bearingFriction.startForward",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") Notification: Performance of loadModel(Modelica): time 1.559/1.559, allocations: 171.3 MB / 179.2 MB, free: 7.496 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.572e-05, allocations: 4 kB / 222.5 MB, free: 8.66 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06948/0.06952, allocations: 38.76 MB / 261.3 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/0.4829, allocations: 101.4 MB / 362.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004903/0.4835, allocations: 95 kB / 362.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.066/2.549, allocations: 355 MB / 0.701 GB, free: 1.121 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.645e-06/2.549, allocations: 2.906 kB / 0.701 GB, free: 1.121 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.001422/2.551, allocations: 364.4 kB / 0.7013 GB, free: 1.102 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4543 * Number of variables: 4543 Notification: Performance of Generate backend data structure: time 0.05283/2.604, allocations: 15.26 MB / 0.7162 GB, free: 11.81 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/2.604, allocations: 7.219 kB / 0.7162 GB, free: 11.81 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02287/2.627, allocations: 3.566 MB / 0.7197 GB, free: 10.78 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05123/2.678, allocations: 19.83 MB / 0.7391 GB, free: 8.926 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001387/2.679, allocations: 0.7839 MB / 0.7398 GB, free: 8.801 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006747/2.686, allocations: 0.9912 MB / 0.7408 GB, free: 8.766 MB / 378.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04839/2.734, allocations: 19.22 MB / 0.7596 GB, free: 8.699 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07106/2.806, allocations: 23.02 MB / 0.7821 GB, free: 11.52 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001428/2.807, allocations: 143.7 kB / 0.7822 GB, free: 11.43 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005934/2.813, allocations: 39.95 kB / 0.7822 GB, free: 11.39 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004204/2.817, allocations: 1.943 MB / 0.7841 GB, free: 10.05 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5039/3.321, allocations: 109.5 MB / 0.8911 GB, free: 8.539 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0237/3.345, allocations: 13.33 MB / 0.9041 GB, free: 8.32 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01678/3.362, allocations: 9.722 MB / 0.9136 GB, free: 8.215 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/3.363, allocations: 334.3 kB / 0.9139 GB, free: 8.02 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01979/3.383, allocations: 10.04 MB / 0.9237 GB, free: 7.352 MB / 410.8 MB Notification: Performance of pre-optimization done (n=786): time 2.112e-05/3.383, allocations: 2.438 kB / 0.9237 GB, free: 7.352 MB / 410.8 MB Notification: Performance of matching and sorting (n=961): time 0.6516/4.035, allocations: 97.87 MB / 1.019 GB, free: 68.41 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003389/4.035, allocations: 1.523 MB / 1.021 GB, free: 66.65 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0202/4.055, allocations: 8.039 MB / 1.029 GB, free: 66.04 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003025/4.058, allocations: 72.58 kB / 1.029 GB, free: 66.01 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008094/4.066, allocations: 7.732 MB / 1.036 GB, free: 62.29 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005351/4.072, allocations: 3.187 MB / 1.039 GB, free: 60.23 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002702/4.075, allocations: 5.953 kB / 1.039 GB, free: 60.23 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001064/4.076, allocations: 0.8268 MB / 1.04 GB, free: 59.89 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01762/4.093, allocations: 8.545 MB / 1.049 GB, free: 59.86 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02156/4.115, allocations: 12.94 MB / 1.061 GB, free: 54.68 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02157/4.136, allocations: 10.23 MB / 1.071 GB, free: 54.53 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001893/4.137, allocations: 39.16 kB / 1.071 GB, free: 54.53 MB / 442.8 MB Notification: Performance of matching and sorting (n=1686) (initialization): time 0.05586/4.193, allocations: 21.65 MB / 1.092 GB, free: 52.89 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/4.193, allocations: 58.5 kB / 1.092 GB, free: 52.89 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/4.193, allocations: 135.3 kB / 1.093 GB, free: 52.89 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/4.196, allocations: 1.169 MB / 1.094 GB, free: 52.45 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02122/4.217, allocations: 3.546 MB / 1.097 GB, free: 52.14 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/4.24, allocations: 26.04 MB / 1.123 GB, free: 27.72 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01833/4.258, allocations: 1.051 MB / 1.124 GB, free: 27.64 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004054/4.262, allocations: 0.6215 MB / 1.124 GB, free: 27.06 MB / 442.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis6.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis5.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis4.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis3.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis2.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis1.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 157 (axis6.gear.bearingFriction.free,axis5.gear.bearingFriction.free,axis4.gear.bearingFriction.free,axis3.gear.bearingFriction.free,axis2.gear.bearingFriction.free,axis1.gear.bearingFriction.free,$whenCondition1,pathPlanning.path.motion_ref,pathPlanning.path.noWphase,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,mechanics.load.color[3],mechanics.load.color[2],mechanics.load.color[1],mechanics.load.body.sphereColor[3],mechanics.load.body.sphereColor[2],mechanics.load.body.sphereColor[1],mechanics.load.frameTranslation.color[3],mechanics.load.frameTranslation.color[2],mechanics.load.frameTranslation.color[1],mechanics.b6.color[3],mechanics.b6.color[2],mechanics.b6.color[1],mechanics.b6.body.sphereColor[3],mechanics.b6.body.sphereColor[2],mechanics.b6.body.sphereColor[1],mechanics.b6.frameTranslation.color[3],mechanics.b6.frameTranslation.color[2],mechanics.b6.frameTranslation.color[1],mechanics.b5.color[3],mechanics.b5.color[2],mechanics.b5.color[1],mechanics.b5.body.sphereColor[3],mechanics.b5.body.sphereColor[2],mechanics.b5.body.sphereColor[1],mechanics.b5.frameTranslation.color[3],mechanics.b5.frameTranslation.color[2],mechanics.b5.frameTranslation.color[1],mechanics.b4.color[3],mechanics.b4.color[2],mechanics.b4.color[1],mechanics.b4.body.sphereColor[3],mechanics.b4.body.sphereColor[2],mechanics.b4.body.sphereColor[1],mechanics.b4.frameTranslation.color[3],mechanics.b4.frameTranslation.color[2],mechanics.b4.frameTranslation.color[1],mechanics.b3.color[3],mechanics.b3.color[2],mechanics.b3.color[1],mechanics.b3.body.sphereColor[3],mechanics.b3.body.sphereColor[2],mechanics.b3.body.sphereColor[1],mechanics.b3.frameTranslation.color[3],mechanics.b3.frameTranslation.color[2],mechanics.b3.frameTranslation.color[1],mechanics.b2.color[3],mechanics.b2.color[2],mechanics.b2.color[1],mechanics.b2.body.sphereColor[3],mechanics.b2.body.sphereColor[2],mechanics.b2.body.sphereColor[1],mechanics.b2.frameTranslation.color[3],mechanics.b2.frameTranslation.color[2],mechanics.b2.frameTranslation.color[1],mechanics.b1.color[3],mechanics.b1.color[2],mechanics.b1.color[1],mechanics.b1.body.sphereColor[3],mechanics.b1.body.sphereColor[2],mechanics.b1.body.sphereColor[1],mechanics.b1.frameTranslation.color[3],mechanics.b1.frameTranslation.color[2],mechanics.b1.frameTranslation.color[1],mechanics.b0.color[3],mechanics.b0.color[2],mechanics.b0.color[1],mechanics.b0.body.sphereColor[3],mechanics.b0.body.sphereColor[2],mechanics.b0.body.sphereColor[1],mechanics.b0.frameTranslation.color[3],mechanics.b0.frameTranslation.color[2],mechanics.b0.frameTranslation.color[1],mechanics.r6.cylinderColor[3],mechanics.r6.cylinderColor[2],mechanics.r6.cylinderColor[1],mechanics.r5.cylinderColor[3],mechanics.r5.cylinderColor[2],mechanics.r5.cylinderColor[1],mechanics.r4.cylinderColor[3],mechanics.r4.cylinderColor[2],mechanics.r4.cylinderColor[1],mechanics.r3.cylinderColor[3],mechanics.r3.cylinderColor[2],mechanics.r3.cylinderColor[1],mechanics.r2.cylinderColor[3],mechanics.r2.cylinderColor[2],mechanics.r2.cylinderColor[1],mechanics.r1.cylinderColor[3],mechanics.r1.cylinderColor[2],mechanics.r1.cylinderColor[1],mechanics.world.gravitySphereColor[3],mechanics.world.gravitySphereColor[2],mechanics.world.gravitySphereColor[1],mechanics.world.gravityArrowColor[3],mechanics.world.gravityArrowColor[2],mechanics.world.gravityArrowColor[1],mechanics.world.axisColor_x[3],mechanics.world.axisColor_x[2],mechanics.world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1644): * Single equations (assignments): 1626 * 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.006672/4.269, allocations: 0.6626 MB / 1.125 GB, free: 26.43 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004736/4.274, allocations: 1.088 MB / 1.126 GB, free: 25.32 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3568/4.63, allocations: 25.98 MB / 1.151 GB, free: 60.66 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000167/4.631, allocations: 92.84 kB / 1.151 GB, free: 60.66 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-05/4.631, allocations: 5.188 kB / 1.151 GB, free: 60.66 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002301/4.631, allocations: 47.55 kB / 1.151 GB, free: 60.66 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1467/4.778, allocations: 57.73 MB / 1.208 GB, free: 56.46 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001158/4.778, allocations: 12.75 kB / 1.208 GB, free: 56.46 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008955/4.787, allocations: 1.514 MB / 1.209 GB, free: 56.46 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08127/4.868, allocations: 14.14 MB / 1.223 GB, free: 56.36 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004462/4.873, allocations: 71.09 kB / 1.223 GB, free: 56.36 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05157/4.924, allocations: 28.16 MB / 1.251 GB, free: 45.95 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.182e-05/4.924, allocations: 28.48 kB / 1.251 GB, free: 45.95 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08376/5.008, allocations: 40.7 MB / 1.29 GB, free: 17.89 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01071/5.019, allocations: 3.092 MB / 1.293 GB, free: 15.69 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00518/5.024, allocations: 94.95 kB / 1.294 GB, free: 15.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01266/5.037, allocations: 0.912 MB / 1.294 GB, free: 15.04 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003833/5.041, allocations: 0.8351 MB / 1.295 GB, free: 14.56 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001482/5.042, allocations: 285.6 kB / 1.296 GB, free: 14.3 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01357/5.056, allocations: 5.751 MB / 1.301 GB, free: 9.191 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.3e-06/5.056, allocations: 3.938 kB / 1.301 GB, free: 9.191 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.02082/5.077, allocations: 3.351 MB / 1.304 GB, free: 6.402 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 63 * 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: 34 (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,pathPlanning.path.noWphase) * Number of discrete states: 18 (axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startBackward,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 (746): * Single equations (assignments): 736 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {8 190,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.2917/5.368, allocations: 344.1 kB / 1.305 GB, free: 64.08 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.04361/5.412, allocations: 21.12 MB / 1.325 GB, free: 62.16 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/5.412, allocations: 6.25 kB / 1.325 GB, free: 62.16 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02706/5.439, allocations: 11.51 MB / 1.337 GB, free: 61.49 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01405/5.453, allocations: 1.619 MB / 1.338 GB, free: 61.43 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08754/5.541, allocations: 31.82 MB / 1.369 GB, free: 55.04 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02295/5.564, allocations: 8.958 MB / 1.378 GB, free: 53.93 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007513/5.571, allocations: 0.7564 MB / 1.379 GB, free: 53.92 MB / 442.8 MB Notification: Performance of SimCode: time 2.047e-06/5.571, allocations: 0 / 1.379 GB, free: 53.92 MB / 442.8 MB Notification: Performance of Templates: time 3.629/9.201, allocations: 1.14 GB / 2.518 GB, free: 91.79 MB / 490.8 MB make -j1 -f Modelica_3.2.1_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=5 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:5879:28: error: no matching function for call to \'abs\'\n tmp122 = 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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:5899:28: error: no matching function for call to \'abs\'\n tmp123 = 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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o] Error 1\n'