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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001592/0.001598, allocations: 183 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001285/0.001285, allocations: 79 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 8 kB / 327.1 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3443, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.5725/0.9169, allocations: 139.3 MB / 0.5019 GB, free: 1.379 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.09045/1.007, allocations: 34.89 MB / 0.536 GB, free: 15.14 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03432/1.042, allocations: 0.73 MB / 0.5367 GB, free: 15.01 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02575/1.068, allocations: 6.594 MB / 0.5431 GB, free: 10.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0781/1.146, allocations: 18.37 MB / 0.5611 GB, free: 5.562 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01825/1.164, allocations: 3.244 MB / 0.5643 GB, free: 4.703 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.03223/1.196, allocations: 12.63 MB / 0.5766 GB, free: 14.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04654/1.243, allocations: 18.35 MB / 0.5945 GB, free: 1.371 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01479/1.258, allocations: 5.344 MB / 0.5997 GB, free: 13.25 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01541/1.273, allocations: 6.5 MB / 0.6061 GB, free: 8.07 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005406/1.279, allocations: 0.707 MB / 0.6068 GB, free: 7.363 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008599/1.287, allocations: 1.148 MB / 0.6079 GB, free: 6.312 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01061/1.298, allocations: 5.158 MB / 0.6129 GB, free: 1.695 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01579/1.314, allocations: 4.022 MB / 0.6168 GB, free: 0 / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04884/1.363, allocations: 29.79 MB / 0.6459 GB, free: 2.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.363, allocations: 0 / 0.6459 GB, free: 2.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.226e-06/1.363, allocations: 0 / 0.6459 GB, free: 2.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001099/1.364, allocations: 0 / 0.6459 GB, free: 2.73 MB / 458.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.06417/1.428, allocations: 16.68 MB / 0.6622 GB, free: 1.996 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.428, allocations: 12.03 kB / 0.6622 GB, free: 1.984 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009357/1.438, allocations: 2.233 MB / 0.6644 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02007/1.458, allocations: 2.78 MB / 0.6671 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6228/2.081, allocations: 13.73 MB / 0.6805 GB, free: 181.5 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001785/2.082, allocations: 1.232 MB / 0.6817 GB, free: 181.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007056/2.09, allocations: 1.548 MB / 0.6833 GB, free: 181.2 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0887/2.178, allocations: 27.3 MB / 0.7099 GB, free: 167 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001364/2.18, allocations: 145.5 kB / 0.71 GB, free: 167 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005158/2.185, allocations: 0.6391 MB / 0.7107 GB, free: 166.5 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009864/2.195, allocations: 3.101 MB / 0.7137 GB, free: 165 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07908/2.274, allocations: 23.66 MB / 0.7368 GB, free: 141.4 MB / 490.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.2369/2.511, allocations: 110 MB / 0.8443 GB, free: 29.9 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0564/2.567, allocations: 15.07 MB / 0.859 GB, free: 14.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7049/3.272, allocations: 36.22 MB / 0.8944 GB, free: 155 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05099/3.323, allocations: 10.92 MB / 0.905 GB, free: 151.4 MB / 490.9 MB Notification: Performance of pre-optimization done (n=769): time 1.663e-05/3.324, allocations: 3.875 kB / 0.905 GB, free: 151.4 MB / 490.9 MB Notification: Performance of matching and sorting (n=939): time 0.6575/3.981, allocations: 131.7 MB / 1.034 GB, free: 35.28 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000397/3.981, allocations: 1.53 MB / 1.035 GB, free: 33.4 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3681/4.35, allocations: 11.66 MB / 1.047 GB, free: 155.1 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.003543/4.353, allocations: 221.8 kB / 1.047 GB, free: 155.1 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.00919/4.362, allocations: 7.688 MB / 1.054 GB, free: 152.1 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.006259/4.369, allocations: 3.254 MB / 1.057 GB, free: 149.6 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003775/4.373, allocations: 262.9 kB / 1.058 GB, free: 149.4 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 0.001125/4.374, allocations: 0.8245 MB / 1.059 GB, free: 148.9 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0252/4.399, allocations: 9.1 MB / 1.067 GB, free: 145.2 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03124/4.43, allocations: 13.57 MB / 1.081 GB, free: 135.8 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02979/4.46, allocations: 10.8 MB / 1.091 GB, free: 131 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002469/4.46, allocations: 39.06 kB / 1.091 GB, free: 131 MB / 490.9 MB Notification: Performance of matching and sorting (n=1669) (initialization): time 0.07677/4.537, allocations: 23.6 MB / 1.114 GB, free: 121 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/4.537, allocations: 61.69 kB / 1.114 GB, free: 121 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002735/4.538, allocations: 131.7 kB / 1.114 GB, free: 121 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003666/4.541, allocations: 1.193 MB / 1.116 GB, free: 120.5 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.033/4.574, allocations: 3.693 MB / 1.119 GB, free: 117.8 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02641/4.601, allocations: 27.09 MB / 1.146 GB, free: 89.25 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02384/4.625, allocations: 1.298 MB / 1.147 GB, free: 88.29 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004135/4.629, allocations: 0.5812 MB / 1.148 GB, free: 87.74 MB / 490.9 MB 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.01942/4.649, allocations: 5.238 MB / 1.153 GB, free: 82.59 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006044/4.655, allocations: 1.153 MB / 1.154 GB, free: 81.42 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09708/4.752, allocations: 27.22 MB / 1.18 GB, free: 54.13 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.855e-05/4.752, allocations: 92 kB / 1.18 GB, free: 54.04 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.851e-05/4.752, allocations: 4 kB / 1.18 GB, free: 54.04 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002721/4.752, allocations: 51.81 kB / 1.181 GB, free: 53.99 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5127/5.265, allocations: 59.51 MB / 1.239 GB, free: 136.5 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000139/5.265, allocations: 11.41 kB / 1.239 GB, free: 136.5 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01447/5.28, allocations: 1.494 MB / 1.24 GB, free: 136.5 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06941/5.349, allocations: 13.64 MB / 1.253 GB, free: 133.9 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003085/5.352, allocations: 206 kB / 1.254 GB, free: 133.8 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0488/5.401, allocations: 27.29 MB / 1.28 GB, free: 116.5 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.719e-05/5.401, allocations: 18.12 kB / 1.28 GB, free: 116.5 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1313/5.532, allocations: 44.11 MB / 1.323 GB, free: 81.44 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01235/5.545, allocations: 3.248 MB / 1.327 GB, free: 78.78 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007104/5.552, allocations: 240 kB / 1.327 GB, free: 78.54 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01844/5.571, allocations: 1.047 MB / 1.328 GB, free: 77.52 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004921/5.575, allocations: 0.7952 MB / 1.329 GB, free: 76.73 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002997/5.579, allocations: 251.9 kB / 1.329 GB, free: 76.48 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.01999/5.599, allocations: 7.786 MB / 1.336 GB, free: 68.75 MB / 490.9 MB Notification: Performance of sort global known variables: time 7.51e-07/5.599, allocations: 0 / 1.336 GB, free: 68.75 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.02302/5.622, allocations: 3.635 MB / 1.34 GB, free: 65.12 MB / 490.9 MB 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.1384/5.76, allocations: 46.12 MB / 1.385 GB, free: 19.23 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.4384/6.199, allocations: 22.78 MB / 1.407 GB, free: 148.5 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-05/6.199, allocations: 4.344 kB / 1.407 GB, free: 148.5 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.03424/6.233, allocations: 12.11 MB / 1.419 GB, free: 145.4 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0193/6.252, allocations: 1.983 MB / 1.421 GB, free: 144.7 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.058/7.31, allocations: 251.6 MB / 1.667 GB, free: 118.7 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02303/7.333, allocations: 8.982 MB / 1.675 GB, free: 110 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02366/7.357, allocations: 7.701 MB / 1.683 GB, free: 102.3 MB / 0.495 GB Notification: Performance of SimCode: time 1.272e-06/7.357, allocations: 2.906 kB / 1.683 GB, free: 102.3 MB / 0.495 GB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -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 In file included from OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotInitialize.cpp:5930:28: error: no matching function for call to 'abs' tmp131 = min_max(std::abs(_pathPlanning_P_path_P_aux1_)).second; ^~~~~~~~ /usr/include/stdlib.h:837:12: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'int' for 1st argument extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; ^ /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 abs(long __i) { return __builtin_labs(__i); } ^ /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 abs(long long __x) { return __builtin_llabs (__x); } ^ /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 abs(double __x) ^ /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 abs(float __x) ^ /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 abs(long double __x) ^ /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' abs(const complex<_Tp>& __z) { return __complex_abs(__z.__rep()); } ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotInitialize.cpp:5995:28: error: no matching function for call to 'abs' tmp132 = min_max(std::abs(_pathPlanning_P_path_P_aux2_)).second; ^~~~~~~~ /usr/include/stdlib.h:837:12: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'int' for 1st argument extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; ^ /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 abs(long __i) { return __builtin_labs(__i); } ^ /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 abs(long long __x) { return __builtin_llabs (__x); } ^ /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 abs(double __x) ^ /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 abs(float __x) ^ /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 abs(long double __x) ^ /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' abs(const complex<_Tp>& __z) { return __complex_abs(__z.__rep()); } ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.o] Error 1