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.002738/0.002745, allocations: 186.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.45/3.45, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001843/0.001843, allocations: 106.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000655/0.0006551, allocations: 8 kB / 327 MB, free: 15.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1504, allocations: 47.57 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.7616/0.9121, allocations: 139.3 MB / 0.5018 GB, free: 1.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.727/1.639, allocations: 34.87 MB / 0.5359 GB, free: 376 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.05845/1.698, allocations: 0.7267 MB / 0.5366 GB, free: 376 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.04311/1.741, allocations: 6.602 MB / 0.543 GB, free: 368 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1324/1.873, allocations: 18.4 MB / 0.561 GB, free: 12.23 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02694/1.9, allocations: 3.238 MB / 0.5642 GB, free: 11.38 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.04809/1.949, allocations: 12.63 MB / 0.5765 GB, free: 9.625 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07636/2.025, allocations: 18.35 MB / 0.5944 GB, free: 4.117 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02373/2.049, allocations: 5.342 MB / 0.5996 GB, free: 3.371 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.025/2.074, allocations: 6.499 MB / 0.606 GB, free: 15.5 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.009163/2.083, allocations: 0.7031 MB / 0.6067 GB, free: 14.8 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/2.098, allocations: 1.159 MB / 0.6078 GB, free: 13.76 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01827/2.116, allocations: 5.138 MB / 0.6128 GB, free: 10.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01568/2.132, allocations: 3.6 MB / 0.6163 GB, free: 9.051 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.08516/2.218, allocations: 29.79 MB / 0.6454 GB, free: 15.12 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/2.218, allocations: 4 kB / 0.6454 GB, free: 15.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.339e-06/2.218, allocations: 0 / 0.6454 GB, free: 15.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001436/2.219, allocations: 0 / 0.6454 GB, free: 15.12 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4558 * Number of variables: 4558 Notification: Performance of Generate backend data structure: time 0.1249/2.344, allocations: 16.68 MB / 0.6617 GB, free: 15.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.406e-05/2.344, allocations: 9.234 kB / 0.6617 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03457/2.379, allocations: 2.787 MB / 0.6645 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06497/2.444, allocations: 13.72 MB / 0.6779 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003234/2.447, allocations: 1.228 MB / 0.6791 GB, free: 3.773 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01259/2.46, allocations: 1.549 MB / 0.6806 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1667/2.627, allocations: 27.3 MB / 0.7072 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002475/2.629, allocations: 138.2 kB / 0.7074 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009795/2.639, allocations: 0.6344 MB / 0.708 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01683/2.656, allocations: 3.109 MB / 0.711 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.074/3.73, allocations: 23.66 MB / 0.7341 GB, free: 197 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3952/4.126, allocations: 110 MB / 0.8416 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09044/4.216, allocations: 15.07 MB / 0.8563 GB, free: 99.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1407/4.357, allocations: 36.24 MB / 0.8917 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06761/4.425, allocations: 10.92 MB / 0.9024 GB, free: 51.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=769): time 2.515e-05/4.425, allocations: 0 / 0.9024 GB, free: 51.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=939): time 1.966/6.391, allocations: 131.8 MB / 1.031 GB, free: 153.4 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006465/6.392, allocations: 1.522 MB / 1.033 GB, free: 151.6 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0448/6.436, allocations: 11.66 MB / 1.044 GB, free: 140.1 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 0.005221/6.442, allocations: 225.7 kB / 1.044 GB, free: 139.9 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.014/6.456, allocations: 7.695 MB / 1.052 GB, free: 132.2 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.009859/6.466, allocations: 3.254 MB / 1.055 GB, free: 129 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005739/6.472, allocations: 264 kB / 1.055 GB, free: 128.7 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.001887/6.473, allocations: 0.8171 MB / 1.056 GB, free: 127.9 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04148/6.515, allocations: 9.103 MB / 1.065 GB, free: 118.8 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04771/6.563, allocations: 13.57 MB / 1.078 GB, free: 103.3 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04787/6.611, allocations: 10.8 MB / 1.089 GB, free: 92.45 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002102/6.611, allocations: 36 kB / 1.089 GB, free: 92.41 MB / 0.5107 GB Notification: Performance of matching and sorting (n=1669) (initialization): time 0.12/6.731, allocations: 23.61 MB / 1.112 GB, free: 68.66 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/6.731, allocations: 60 kB / 1.112 GB, free: 68.6 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003077/6.732, allocations: 132 kB / 1.112 GB, free: 68.47 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005881/6.738, allocations: 1.186 MB / 1.113 GB, free: 67.24 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05294/6.791, allocations: 3.69 MB / 1.117 GB, free: 63.54 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0459/6.837, allocations: 27.09 MB / 1.143 GB, free: 34.06 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03985/6.877, allocations: 1.3 MB / 1.144 GB, free: 32.77 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006813/6.883, allocations: 0.5819 MB / 1.145 GB, free: 32.18 MB / 0.5107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 154 (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.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 (1627): * Single equations (assignments): 1609 * 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.03406/6.918, allocations: 5.251 MB / 1.15 GB, free: 26.9 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009867/6.928, allocations: 1.15 MB / 1.151 GB, free: 25.74 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6838/7.612, allocations: 27.22 MB / 1.178 GB, free: 174.1 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002295/7.612, allocations: 94.52 kB / 1.178 GB, free: 174.1 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001386/7.612, allocations: 4.5 kB / 1.178 GB, free: 174.1 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003533/7.612, allocations: 47.61 kB / 1.178 GB, free: 174.1 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2781/7.89, allocations: 59.49 MB / 1.236 GB, free: 146.8 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000284/7.891, allocations: 14.67 kB / 1.236 GB, free: 146.8 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02148/7.912, allocations: 1.495 MB / 1.237 GB, free: 145.4 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1059/8.018, allocations: 13.63 MB / 1.251 GB, free: 131.8 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005028/8.023, allocations: 207.9 kB / 1.251 GB, free: 131.6 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08318/8.107, allocations: 27.29 MB / 1.278 GB, free: 103.5 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.195e-05/8.107, allocations: 27.95 kB / 1.278 GB, free: 103.5 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2131/8.32, allocations: 44.1 MB / 1.321 GB, free: 59.42 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02062/8.341, allocations: 3.241 MB / 1.324 GB, free: 56.76 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01055/8.351, allocations: 240 kB / 1.324 GB, free: 56.52 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03008/8.381, allocations: 1.064 MB / 1.325 GB, free: 55.48 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008444/8.39, allocations: 0.7852 MB / 1.326 GB, free: 54.7 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005265/8.395, allocations: 258.2 kB / 1.326 GB, free: 54.45 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.03371/8.429, allocations: 7.782 MB / 1.334 GB, free: 46.73 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.433e-06/8.429, allocations: 0 / 1.334 GB, free: 46.73 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0391/8.468, allocations: 3.634 MB / 1.337 GB, free: 43.1 MB / 0.5107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 36 (axis1.gear.spring.phi_rel,axis1.gear.spring.w_rel,axis1.motor.La.i,axis1.motor.C.v,axis1.motor.Jmotor.w,axis1.controller.PI.x,axis1.initializeFlange.phi_flange,axis2.gear.spring.phi_rel,axis2.gear.spring.w_rel,axis2.motor.La.i,axis2.motor.C.v,axis2.motor.Jmotor.w,axis2.controller.PI.x,axis2.initializeFlange.phi_flange,axis3.gear.spring.phi_rel,axis3.gear.spring.w_rel,axis3.motor.La.i,axis3.motor.C.v,axis3.motor.Jmotor.w,axis3.controller.PI.x,axis3.initializeFlange.phi_flange,axis4.motor.La.i,axis4.motor.C.v,axis4.motor.Jmotor.w,axis4.controller.PI.x,axis4.initializeFlange.phi_flange,axis5.motor.La.i,axis5.motor.C.v,axis5.motor.Jmotor.w,axis5.controller.PI.x,axis5.initializeFlange.phi_flange,axis6.motor.La.i,axis6.motor.C.v,axis6.motor.Jmotor.w,axis6.controller.PI.x,axis6.initializeFlange.phi_flange) * Number of discrete variables: 27 (pathPlanning.terminateSimulation.condition,$whenCondition1,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 (724): * Single equations (assignments): 714 * 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 {9 189,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007401/8.476, allocations: 488 kB / 1.338 GB, free: 42.63 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.1109/8.587, allocations: 22.78 MB / 1.36 GB, free: 19.72 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 6.957e-05/8.587, allocations: 11.59 kB / 1.36 GB, free: 19.71 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.5667/9.154, allocations: 12.1 MB / 1.372 GB, free: 174.9 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03381/9.188, allocations: 1.985 MB / 1.374 GB, free: 174.9 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1908/9.378, allocations: 44.42 MB / 1.417 GB, free: 153.6 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03706/9.416, allocations: 8.977 MB / 1.426 GB, free: 151.2 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01618/9.432, allocations: 0.8031 MB / 1.427 GB, free: 151.2 MB / 0.5107 GB Notification: Performance of SimCode: time 3.096e-06/9.432, allocations: 3.688 kB / 1.427 GB, free: 151.2 MB / 0.5107 GB Notification: Performance of Templates: time 6.304/15.74, allocations: 1.151 GB / 2.578 GB, free: 119.7 MB / 0.5263 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=5 -DSUNDIALS_MINOR_VERSION=4 -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:6020:28: error: no matching function for call to \'abs\'\n tmp131 = 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:6085:28: error: no matching function for call to \'abs\'\n tmp132 = 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'