Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 116 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4737,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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4737,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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 51.91 kB / 374.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1488, allocations: 53.33 MB / 427.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.3421/0.4909, allocations: 60.74 MB / 488.3 MB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0448/0.5357, allocations: 16.16 MB / 0.4926 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02021/0.5559, allocations: 441.6 kB / 0.493 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02205/0.578, allocations: 8.608 MB / 0.5014 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02488/0.6029, allocations: 5.693 MB / 0.507 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01515/0.618, allocations: 5.186 MB / 0.5121 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0421/0.6601, allocations: 23.19 MB / 0.5347 GB, free: 8.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03891/0.699, allocations: 20.06 MB / 0.5543 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01959/0.7186, allocations: 8.624 MB / 0.5627 GB, free: 11.31 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01783/0.7365, allocations: 10.4 MB / 0.5729 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008234/0.7447, allocations: 2.508 MB / 0.5753 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/0.7563, allocations: 3.116 MB / 0.5784 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01268/0.769, allocations: 7.723 MB / 0.5859 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02231/0.7913, allocations: 10.76 MB / 0.5964 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.5664/1.358, allocations: 37 MB / 0.6325 GB, free: 72.59 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/1.358, allocations: 7.938 kB / 0.6326 GB, free: 72.59 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.074e-06/1.358, allocations: 0.5 kB / 0.6326 GB, free: 72.59 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.00135/1.359, allocations: 0 / 0.6326 GB, free: 72.59 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4570 * Number of variables: 4570 Notification: Performance of Generate backend data structure: time 0.07778/1.437, allocations: 20.35 MB / 0.6524 GB, free: 64.86 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.437, allocations: 13.19 kB / 0.6524 GB, free: 64.86 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01803/1.455, allocations: 2.753 MB / 0.6551 GB, free: 63.53 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03086/1.486, allocations: 11.79 MB / 0.6666 GB, free: 59.64 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001652/1.487, allocations: 1.237 MB / 0.6678 GB, free: 59.5 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008844/1.496, allocations: 1.552 MB / 0.6694 GB, free: 59.45 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08253/1.579, allocations: 27.02 MB / 0.6958 GB, free: 39.06 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001491/1.58, allocations: 153.7 kB / 0.6959 GB, free: 38.94 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008371/1.589, allocations: 0.6349 MB / 0.6965 GB, free: 38.34 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006156/1.595, allocations: 3.11 MB / 0.6996 GB, free: 35.25 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05658/1.651, allocations: 23.14 MB / 0.7222 GB, free: 12.35 MB / 0.5138 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.23/1.881, allocations: 108.8 MB / 0.8284 GB, free: 14.47 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04092/1.922, allocations: 14.1 MB / 0.8422 GB, free: 324 kB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01879/1.941, allocations: 9.366 MB / 0.8513 GB, free: 6.93 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3461/2.287, allocations: 35.96 MB / 0.8864 GB, free: 245.4 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02994/2.317, allocations: 10.47 MB / 0.8966 GB, free: 241.9 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=775): time 2.046e-05/2.317, allocations: 3.703 kB / 0.8966 GB, free: 241.9 MB / 0.6388 GB Notification: Performance of matching and sorting (n=955): time 0.4349/2.752, allocations: 138.2 MB / 1.032 GB, free: 117 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000347/2.752, allocations: 1.534 MB / 1.033 GB, free: 115.1 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0194/2.772, allocations: 10.59 MB / 1.043 GB, free: 104.6 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.003547/2.775, allocations: 229.7 kB / 1.044 GB, free: 104.4 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.007292/2.783, allocations: 8.572 MB / 1.052 GB, free: 95.84 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.005482/2.788, allocations: 3.468 MB / 1.055 GB, free: 92.42 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01289/2.801, allocations: 2.63 MB / 1.058 GB, free: 89.78 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.152e-05/2.801, allocations: 304 kB / 1.058 GB, free: 89.48 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01561/2.817, allocations: 9.326 MB / 1.067 GB, free: 80.14 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01945/2.836, allocations: 13.88 MB / 1.081 GB, free: 64.29 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03342/2.87, allocations: 23.38 MB / 1.104 GB, free: 39.02 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001452/2.87, allocations: 36 kB / 1.104 GB, free: 38.99 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1717) (initialization): time 0.3336/3.203, allocations: 24.79 MB / 1.128 GB, free: 234.5 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/3.203, allocations: 60.66 kB / 1.128 GB, free: 234.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000238/3.204, allocations: 130 kB / 1.128 GB, free: 234.5 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/3.206, allocations: 1.403 MB / 1.13 GB, free: 234.3 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02016/3.226, allocations: 3.76 MB / 1.133 GB, free: 234.3 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/3.245, allocations: 29.22 MB / 1.162 GB, free: 206.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01795/3.263, allocations: 1.244 MB / 1.163 GB, free: 206.4 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004405/3.268, allocations: 0.6 MB / 1.164 GB, free: 206.3 MB / 0.6388 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,pathPlanning.path.noWphase,axis6.gear.bearingFriction.mode,$PRE.axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.locked,axis6.gear.bearingFriction.startBackward,$PRE.axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.startForward,$PRE.axis6.gear.bearingFriction.startForward,axis5.gear.bearingFriction.mode,$PRE.axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.locked,axis5.gear.bearingFriction.startBackward,$PRE.axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.startForward,$PRE.axis5.gear.bearingFriction.startForward,axis4.gear.bearingFriction.mode,$PRE.axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.locked,axis4.gear.bearingFriction.startBackward,$PRE.axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.startForward,$PRE.axis4.gear.bearingFriction.startForward,axis3.gear.bearingFriction.mode,$PRE.axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.locked,axis3.gear.bearingFriction.startBackward,$PRE.axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startForward,$PRE.axis3.gear.bearingFriction.startForward,axis2.gear.bearingFriction.mode,$PRE.axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.locked,axis2.gear.bearingFriction.startBackward,$PRE.axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startForward,$PRE.axis2.gear.bearingFriction.startForward,axis1.gear.bearingFriction.mode,$PRE.axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.locked,axis1.gear.bearingFriction.startBackward,$PRE.axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startForward,$PRE.axis1.gear.bearingFriction.startForward,pathPlanning.terminateSimulation.condition,pathPlanning.pathToAxis6.moving[6],$whenCondition1,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 (1675): * Single equations (assignments): 1657 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.01502/3.283, allocations: 5.256 MB / 1.169 GB, free: 203.7 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004379/3.287, allocations: 1.203 MB / 1.17 GB, free: 203.7 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06869/3.356, allocations: 27.12 MB / 1.196 GB, free: 193 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/3.356, allocations: 91.28 kB / 1.196 GB, free: 193 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.255e-05/3.356, allocations: 3.938 kB / 1.196 GB, free: 193 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003184/3.356, allocations: 52.55 kB / 1.197 GB, free: 193 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1496/3.506, allocations: 59.16 MB / 1.254 GB, free: 139.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001652/3.506, allocations: 12 kB / 1.254 GB, free: 139.4 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01507/3.521, allocations: 1.498 MB / 1.256 GB, free: 137.9 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07154/3.592, allocations: 13.13 MB / 1.269 GB, free: 124.8 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004272/3.597, allocations: 203.9 kB / 1.269 GB, free: 124.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0517/3.648, allocations: 27.43 MB / 1.296 GB, free: 96.36 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.377e-05/3.648, allocations: 19.97 kB / 1.296 GB, free: 96.34 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1267/3.775, allocations: 39.63 MB / 1.334 GB, free: 57.1 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01188/3.787, allocations: 3.293 MB / 1.337 GB, free: 54.44 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00664/3.794, allocations: 248 kB / 1.338 GB, free: 54.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01363/3.807, allocations: 0.9484 MB / 1.339 GB, free: 53.25 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004229/3.812, allocations: 0.7634 MB / 1.339 GB, free: 52.48 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003273/3.815, allocations: 255.9 kB / 1.34 GB, free: 52.23 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01418/3.829, allocations: 6.946 MB / 1.346 GB, free: 45.34 MB / 0.6388 GB Notification: Performance of sort global known variables: time 3.21e-07/3.829, allocations: 0 / 1.346 GB, free: 45.34 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.02101/3.85, allocations: 3.638 MB / 1.35 GB, free: 41.71 MB / 0.6388 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 (734): * Single equations (assignments): 724 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(9,192), (1,7), (1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004851/3.855, allocations: 0.7126 MB / 1.351 GB, free: 41.14 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.03913/3.894, allocations: 22.2 MB / 1.372 GB, free: 18.74 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.091e-05/3.894, allocations: 4.438 kB / 1.372 GB, free: 18.73 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.02273/3.917, allocations: 11.44 MB / 1.384 GB, free: 7.211 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02507/3.942, allocations: 2.258 MB / 1.386 GB, free: 4.969 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3565/4.298, allocations: 38.88 MB / 1.424 GB, free: 226.3 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01706/4.315, allocations: 8.631 MB / 1.432 GB, free: 224 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007336/4.323, allocations: 0.8134 MB / 1.433 GB, free: 223.9 MB / 0.6388 GB Notification: Performance of SimCode: time 1.373e-06/4.323, allocations: 0 / 1.433 GB, free: 223.9 MB / 0.6388 GB Notification: Performance of Templates: time 2.805/7.127, allocations: 1.252 GB / 2.685 GB, free: 113.7 MB / 0.6388 GB " [Timeout remaining time 653] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.cpp In file included from OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.cpp:29: ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:221:82: error: use of undeclared identifier 'mechanics_P_b0_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b0_P_body_P_Q_(1),mechanics_P_b0_P_body_P_Q_start_(1)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:222:82: error: use of undeclared identifier 'mechanics_P_b0_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b0_P_body_P_Q_(2),mechanics_P_b0_P_body_P_Q_start_(2)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:223:82: error: use of undeclared identifier 'mechanics_P_b0_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b0_P_body_P_Q_(3),mechanics_P_b0_P_body_P_Q_start_(3)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:224:82: error: use of undeclared identifier 'mechanics_P_b0_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b0_P_body_P_Q_(4),mechanics_P_b0_P_body_P_Q_start_(4)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:231:82: error: use of undeclared identifier 'mechanics_P_b1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b1_P_body_P_Q_(1),mechanics_P_b1_P_body_P_Q_start_(1)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:232:82: error: use of undeclared identifier 'mechanics_P_b1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b1_P_body_P_Q_(2),mechanics_P_b1_P_body_P_Q_start_(2)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:233:82: error: use of undeclared identifier 'mechanics_P_b1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b1_P_body_P_Q_(3),mechanics_P_b1_P_body_P_Q_start_(3)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:234:82: error: use of undeclared identifier 'mechanics_P_b1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b1_P_body_P_Q_(4),mechanics_P_b1_P_body_P_Q_start_(4)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:244:82: error: use of undeclared identifier 'mechanics_P_b2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b2_P_body_P_Q_(1),mechanics_P_b2_P_body_P_Q_start_(1)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:245:82: error: use of undeclared identifier 'mechanics_P_b2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b2_P_body_P_Q_(2),mechanics_P_b2_P_body_P_Q_start_(2)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:246:82: error: use of undeclared identifier 'mechanics_P_b2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b2_P_body_P_Q_(3),mechanics_P_b2_P_body_P_Q_start_(3)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:247:82: error: use of undeclared identifier 'mechanics_P_b2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b2_P_body_P_Q_(4),mechanics_P_b2_P_body_P_Q_start_(4)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:257:82: error: use of undeclared identifier 'mechanics_P_b3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b3_P_body_P_Q_(1),mechanics_P_b3_P_body_P_Q_start_(1)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:258:82: error: use of undeclared identifier 'mechanics_P_b3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b3_P_body_P_Q_(2),mechanics_P_b3_P_body_P_Q_start_(2)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:259:82: error: use of undeclared identifier 'mechanics_P_b3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b3_P_body_P_Q_(3),mechanics_P_b3_P_body_P_Q_start_(3)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:260:82: error: use of undeclared identifier 'mechanics_P_b3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b3_P_body_P_Q_(4),mechanics_P_b3_P_body_P_Q_start_(4)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:270:82: error: use of undeclared identifier 'mechanics_P_b4_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b4_P_body_P_Q_(1),mechanics_P_b4_P_body_P_Q_start_(1)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:271:82: error: use of undeclared identifier 'mechanics_P_b4_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b4_P_body_P_Q_(2),mechanics_P_b4_P_body_P_Q_start_(2)); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotInitialize.cpp:272:82: error: use of undeclared identifier 'mechanics_P_b4_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_mechanics_P_b4_P_body_P_Q_(3),mechanics_P_b4_P_body_P_Q_start_(3)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 11.962877252983162] Failed to read output from testmodel.py, exit status != 0: ['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'] 7.1402247690130025 7.146407109 5.785951694 Calling exit ...