Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") Notification: Performance of loadModel(Modelica): time 1.847/1.847, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003613, allocations: 12 kB / 263.9 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.08825, allocations: 44.51 MB / 308.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.417/0.5053, allocations: 135.4 MB / 443.7 MB, free: 1.676 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.08638/0.5918, allocations: 33.79 MB / 477.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0329/0.6247, allocations: 0.705 MB / 478.2 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02227/0.647, allocations: 6.487 MB / 484.7 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06409/0.7112, allocations: 17.68 MB / 0.4906 GB, free: 6.852 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01521/0.7264, allocations: 3.242 MB / 0.4938 GB, free: 3.605 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.02873/0.7552, allocations: 12.76 MB / 0.5063 GB, free: 6.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04019/0.7954, allocations: 18.34 MB / 0.5242 GB, free: 4.348 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.6423/1.438, allocations: 5.368 MB / 0.5294 GB, free: 20.08 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01189/1.45, allocations: 6.539 MB / 0.5358 GB, free: 20.08 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005006/1.455, allocations: 0.7045 MB / 0.5365 GB, free: 20.08 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007448/1.462, allocations: 1.208 MB / 0.5377 GB, free: 20.08 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008386/1.471, allocations: 5.139 MB / 0.5427 GB, free: 20.08 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007191/1.478, allocations: 3.593 MB / 0.5462 GB, free: 20.05 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03324/1.511, allocations: 29.79 MB / 0.5753 GB, free: 7.688 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.511, allocations: 0 / 0.5753 GB, free: 7.688 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.323e-06/1.511, allocations: 3.188 kB / 0.5753 GB, free: 7.688 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0008698/1.512, allocations: 0 / 0.5753 GB, free: 7.688 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4555 * Number of variables: 4555 Notification: Performance of Generate backend data structure: time 0.04778/1.56, allocations: 16.95 MB / 0.5918 GB, free: 14.54 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.56, allocations: 11.47 kB / 0.5918 GB, free: 14.54 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/1.575, allocations: 2.775 MB / 0.5946 GB, free: 13.27 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03246/1.607, allocations: 13.76 MB / 0.608 GB, free: 9.652 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001785/1.609, allocations: 1.237 MB / 0.6092 GB, free: 8.965 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00611/1.615, allocations: 1.548 MB / 0.6107 GB, free: 7.93 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08203/1.697, allocations: 27.58 MB / 0.6377 GB, free: 4.578 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001211/1.698, allocations: 140.3 kB / 0.6378 GB, free: 4.48 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004637/1.703, allocations: 0.6283 MB / 0.6384 GB, free: 4.328 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005285/1.708, allocations: 2.762 MB / 0.6411 GB, free: 2.094 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07141/1.78, allocations: 23.66 MB / 0.6642 GB, free: 2.668 MB / 474.8 MB 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.4914/2.271, allocations: 109.9 MB / 0.7716 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06146/2.333, allocations: 15.08 MB / 0.7863 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08241/2.415, allocations: 36.24 MB / 0.8217 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04267/2.458, allocations: 10.94 MB / 0.8324 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=769): time 3.589e-05/2.458, allocations: 3.984 kB / 0.8324 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=933): time 0.4916/2.95, allocations: 129 MB / 0.9583 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003236/2.95, allocations: 1.522 MB / 0.9598 GB, free: 268 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3669/3.317, allocations: 11.64 MB / 0.9712 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002596/3.32, allocations: 228.1 kB / 0.9714 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.008262/3.328, allocations: 7.672 MB / 0.9789 GB, free: 192.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005207/3.333, allocations: 3.238 MB / 0.982 GB, free: 189.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002898/3.336, allocations: 258.2 kB / 0.9823 GB, free: 189.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001248/3.337, allocations: 0.8192 MB / 0.9831 GB, free: 189.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02075/3.358, allocations: 8.943 MB / 0.9918 GB, free: 185.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02408/3.382, allocations: 13.43 MB / 1.005 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02395/3.406, allocations: 10.62 MB / 1.015 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001332/3.406, allocations: 37.19 kB / 1.015 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1660) (initialization): time 0.05873/3.465, allocations: 23.25 MB / 1.038 GB, free: 161.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/3.465, allocations: 60 kB / 1.038 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/3.466, allocations: 128 kB / 1.038 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/3.469, allocations: 1.188 MB / 1.039 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02061/3.489, allocations: 3.683 MB / 1.043 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/3.512, allocations: 27.08 MB / 1.069 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0173/3.529, allocations: 1.292 MB / 1.071 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003785/3.533, allocations: 0.5839 MB / 1.071 GB, free: 127.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 151 (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.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 (1618): * Single equations (assignments): 1600 * 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.01663/3.55, allocations: 5.221 MB / 1.076 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004832/3.554, allocations: 1.153 MB / 1.077 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07116/3.626, allocations: 26.51 MB / 1.103 GB, free: 96.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-05/3.626, allocations: 92 kB / 1.103 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.343e-05/3.626, allocations: 4 kB / 1.103 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002064/3.626, allocations: 51.83 kB / 1.104 GB, free: 96.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1394/3.765, allocations: 59.67 MB / 1.162 GB, free: 36.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001244/3.766, allocations: 12 kB / 1.162 GB, free: 36.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0089/3.774, allocations: 1.492 MB / 1.163 GB, free: 34.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04692/3.821, allocations: 13.56 MB / 1.176 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002719/3.824, allocations: 207.9 kB / 1.177 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.324/4.148, allocations: 27.31 MB / 1.203 GB, free: 173.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.421e-05/4.148, allocations: 21.36 kB / 1.203 GB, free: 173.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1026/4.251, allocations: 40.18 MB / 1.243 GB, free: 161.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01052/4.261, allocations: 3.194 MB / 1.246 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005414/4.267, allocations: 241.8 kB / 1.246 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01278/4.28, allocations: 1.05 MB / 1.247 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003833/4.284, allocations: 0.7824 MB / 1.248 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002505/4.286, allocations: 254.5 kB / 1.248 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01821/4.304, allocations: 7.762 MB / 1.256 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.346e-06/4.304, allocations: 3.531 kB / 1.256 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01964/4.324, allocations: 3.601 MB / 1.259 GB, free: 156.8 MB / 0.5105 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 (718): * Single equations (assignments): 708 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {7 191,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003269/4.327, allocations: 497.6 kB / 1.26 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04579/4.373, allocations: 22.39 MB / 1.281 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.301e-05/4.373, allocations: 7.609 kB / 1.281 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02651/4.4, allocations: 11.88 MB / 1.293 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01414/4.414, allocations: 1.982 MB / 1.295 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09047/4.505, allocations: 44.12 MB / 1.338 GB, free: 87.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01987/4.524, allocations: 8.952 MB / 1.347 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00762/4.532, allocations: 0.8039 MB / 1.348 GB, free: 78.13 MB / 0.5105 GB Notification: Performance of SimCode: time 2.269e-06/4.532, allocations: 0 / 1.348 GB, free: 78.13 MB / 0.5105 GB Notification: Performance of Templates: time 2.982/7.514, allocations: 1.148 GB / 2.495 GB, free: 75.76 MB / 0.5105 GB make -j1 -f Modelica_3.2.2_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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:5984:28: error: no matching function for call to \'abs\'\n tmp132 = 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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotInitialize.cpp:6049:28: error: no matching function for call to \'abs\'\n tmp133 = 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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o] Error 1\n'