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.0015/0.001499, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 86.25 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.051e-05, allocations: 0 / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3296, allocations: 47.56 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1874/0.5171, allocations: 113.4 MB / 475.8 MB, free: 4.832 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/0.5175, allocations: 95.94 kB / 475.9 MB, free: 4.738 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.922/2.44, allocations: 356.4 MB / 0.8128 GB, free: 1.816 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.465e-06/2.44, allocations: 0 / 0.8128 GB, free: 1.816 MB / 427.1 MB Notification: Performance of Transformations before backend: time 0.002081/2.442, allocations: 367.9 kB / 0.8131 GB, free: 1.457 MB / 427.1 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.7513/3.193, allocations: 15.27 MB / 0.8281 GB, free: 24.83 MB / 427.2 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/3.193, allocations: 11.09 kB / 0.8281 GB, free: 24.83 MB / 427.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04225/3.236, allocations: 3.571 MB / 0.8315 GB, free: 23.8 MB / 427.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06932/3.305, allocations: 19.84 MB / 0.8509 GB, free: 22.1 MB / 427.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00154/3.307, allocations: 0.7894 MB / 0.8517 GB, free: 21.97 MB / 427.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007725/3.314, allocations: 0.9908 MB / 0.8527 GB, free: 21.93 MB / 427.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05566/3.37, allocations: 18.9 MB / 0.8711 GB, free: 21.86 MB / 427.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07409/3.444, allocations: 22.9 MB / 0.8935 GB, free: 19 MB / 427.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001504/3.446, allocations: 142.6 kB / 0.8936 GB, free: 18.97 MB / 427.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006569/3.452, allocations: 31.03 kB / 0.8937 GB, free: 18.97 MB / 427.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005032/3.457, allocations: 1.95 MB / 0.8956 GB, free: 18.93 MB / 427.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.04/4.498, allocations: 108.6 MB / 1.002 GB, free: 77.41 MB / 491.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02778/4.525, allocations: 12.73 MB / 1.014 GB, free: 77.2 MB / 491.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02169/4.547, allocations: 9.648 MB / 1.023 GB, free: 77.1 MB / 491.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001896/4.549, allocations: 344.1 kB / 1.024 GB, free: 76.9 MB / 491.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02608/4.575, allocations: 9.984 MB / 1.034 GB, free: 76.23 MB / 491.3 MB Notification: Performance of pre-optimization done (n=798): time 1.863e-05/4.575, allocations: 3.156 kB / 1.034 GB, free: 76.23 MB / 491.3 MB Notification: Performance of matching and sorting (n=986): time 0.4876/5.063, allocations: 100.2 MB / 1.131 GB, free: 36.79 MB / 491.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006291/5.064, allocations: 1.534 MB / 1.133 GB, free: 34.93 MB / 491.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03504/5.099, allocations: 7.953 MB / 1.141 GB, free: 27.86 MB / 491.3 MB Notification: Performance of collectPreVariables (initialization): time 0.005008/5.104, allocations: 64.7 kB / 1.141 GB, free: 27.79 MB / 491.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.01361/5.117, allocations: 7.727 MB / 1.148 GB, free: 20.72 MB / 491.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.009976/5.127, allocations: 3.262 MB / 1.151 GB, free: 17.74 MB / 491.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005672/5.133, allocations: 2.953 kB / 1.151 GB, free: 17.74 MB / 491.3 MB Notification: Performance of setup shared object (initialization): time 0.001946/5.135, allocations: 0.8428 MB / 1.152 GB, free: 17.04 MB / 491.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03383/5.169, allocations: 8.681 MB / 1.161 GB, free: 9.043 MB / 491.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04261/5.212, allocations: 13.1 MB / 1.174 GB, free: 11 MB / 0.4954 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5948/5.807, allocations: 11.65 MB / 1.185 GB, free: 84.37 MB / 0.4954 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002186/5.807, allocations: 37.97 kB / 1.185 GB, free: 84.37 MB / 0.4954 GB Notification: Performance of matching and sorting (n=1702) (initialization): time 0.07251/5.879, allocations: 21.96 MB / 1.206 GB, free: 83.93 MB / 0.4954 GB Notification: Performance of prepare postOptimizeDAE: time 0.000167/5.88, allocations: 61.19 kB / 1.206 GB, free: 83.93 MB / 0.4954 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004173/5.88, allocations: 144.2 kB / 1.207 GB, free: 83.93 MB / 0.4954 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003969/5.884, allocations: 1.171 MB / 1.208 GB, free: 83.79 MB / 0.4954 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03359/5.918, allocations: 3.579 MB / 1.211 GB, free: 83.6 MB / 0.4954 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02572/5.943, allocations: 25.94 MB / 1.237 GB, free: 61.71 MB / 0.4954 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02565/5.969, allocations: 1.051 MB / 1.238 GB, free: 61.71 MB / 0.4954 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005291/5.975, allocations: 0.6121 MB / 1.238 GB, free: 61.71 MB / 0.4954 GB 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: 599 * 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.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.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 (1660): * Single equations (assignments): 1636 * 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.009582/5.984, allocations: 0.6694 MB / 1.239 GB, free: 61.32 MB / 0.4954 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00642/5.991, allocations: 1.091 MB / 1.24 GB, free: 61.32 MB / 0.4954 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1106/6.101, allocations: 29.06 MB / 1.268 GB, free: 60.53 MB / 0.4954 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000175/6.102, allocations: 96.7 kB / 1.268 GB, free: 60.52 MB / 0.4954 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.583e-05/6.102, allocations: 8.094 kB / 1.268 GB, free: 60.52 MB / 0.4954 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003057/6.102, allocations: 48.8 kB / 1.268 GB, free: 60.52 MB / 0.4954 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1728/6.275, allocations: 54.9 MB / 1.322 GB, free: 38.6 MB / 0.4954 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001551/6.275, allocations: 16 kB / 1.322 GB, free: 38.58 MB / 0.4954 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01582/6.291, allocations: 1.536 MB / 1.324 GB, free: 37.29 MB / 0.4954 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06702/6.358, allocations: 13.24 MB / 1.336 GB, free: 28.09 MB / 0.4954 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00364/6.362, allocations: 78.41 kB / 1.337 GB, free: 28.03 MB / 0.4954 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05498/6.417, allocations: 27.62 MB / 1.364 GB, free: 2.156 MB / 0.4954 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.074e-05/6.417, allocations: 19.94 kB / 1.364 GB, free: 2.137 MB / 0.4954 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5682/6.985, allocations: 44.64 MB / 1.407 GB, free: 75.49 MB / 0.4954 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01377/6.999, allocations: 3.153 MB / 1.41 GB, free: 75.39 MB / 0.4954 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007023/7.006, allocations: 95.86 kB / 1.41 GB, free: 75.39 MB / 0.4954 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01975/7.025, allocations: 0.906 MB / 1.411 GB, free: 75.39 MB / 0.4954 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005299/7.031, allocations: 0.8673 MB / 1.412 GB, free: 75.37 MB / 0.4954 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003286/7.034, allocations: 287 kB / 1.412 GB, free: 75.37 MB / 0.4954 GB Notification: Performance of sorting global known variables: time 0.01779/7.052, allocations: 5.724 MB / 1.418 GB, free: 75.09 MB / 0.4954 GB Notification: Performance of sort global known variables: time 1.182e-06/7.052, allocations: 0 / 1.418 GB, free: 75.09 MB / 0.4954 GB Notification: Performance of remove unused functions: time 0.02585/7.078, allocations: 3.209 MB / 1.421 GB, free: 75.09 MB / 0.4954 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * 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,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.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 (765): * Single equations (assignments): 755 * 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.004692/7.083, allocations: 343.2 kB / 1.421 GB, free: 74.99 MB / 0.4954 GB Notification: Performance of simCode: created initialization part: time 0.05369/7.136, allocations: 21.84 MB / 1.443 GB, free: 72.88 MB / 0.4954 GB Notification: Performance of simCode: created event and clocks part: time 2.353e-05/7.136, allocations: 4.344 kB / 1.443 GB, free: 72.88 MB / 0.4954 GB Notification: Performance of simCode: created simulation system equations: time 0.03322/7.17, allocations: 11.98 MB / 1.454 GB, free: 70.64 MB / 0.4954 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0195/7.189, allocations: 1.626 MB / 1.456 GB, free: 70.16 MB / 0.4954 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1088/7.298, allocations: 32.42 MB / 1.488 GB, free: 46.34 MB / 0.4954 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.024/7.322, allocations: 9.017 MB / 1.496 GB, free: 39.98 MB / 0.4954 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.011/7.333, allocations: 0.7652 MB / 1.497 GB, free: 39.27 MB / 0.4954 GB Notification: Performance of SimCode: time 2.284e-06/7.333, allocations: 0 / 1.497 GB, free: 39.27 MB / 0.4954 GB Notification: Performance of Templates: time 4.235/11.57, allocations: 1.149 GB / 2.646 GB, free: 39.2 MB / 0.5423 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/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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:5922:28: error: no matching function for call to \'abs\'\n tmp121 = 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:5942:28: error: no matching function for call to \'abs\'\n tmp122 = 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'