Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007975/0.007975, allocations: 110.1 kB / 21.98 MB, free: 5.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 259 MB, free: 7.996 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 68.55 kB / 379.9 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3347, allocations: 53.36 MB / 433.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.06882/0.4035, allocations: 60.81 MB / 494 MB, free: 9.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04135/0.4449, allocations: 16.18 MB / 0.4983 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01764/0.4625, allocations: 449.6 kB / 0.4987 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02394/0.4864, allocations: 8.643 MB / 0.5071 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02381/0.5102, allocations: 5.701 MB / 0.5127 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01518/0.5254, allocations: 5.217 MB / 0.5178 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.3551/0.8805, allocations: 23.19 MB / 0.5404 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03149/0.912, allocations: 20.32 MB / 0.5603 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01778/0.9298, allocations: 8.633 MB / 0.5687 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01571/0.9455, allocations: 10.41 MB / 0.5789 GB, free: 5.629 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008623/0.9541, allocations: 2.509 MB / 0.5813 GB, free: 5.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01045/0.9645, allocations: 3.114 MB / 0.5844 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01223/0.9768, allocations: 7.732 MB / 0.5919 GB, free: 1.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02447/1.001, allocations: 10.78 MB / 0.6024 GB, free: 8.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05484/1.056, allocations: 37.01 MB / 0.6386 GB, free: 4.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.056, allocations: 0 / 0.6386 GB, free: 4.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/1.056, allocations: 0 / 0.6386 GB, free: 4.227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001191/1.057, allocations: 0 / 0.6386 GB, free: 4.227 MB / 494.1 MB 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.06319/1.12, allocations: 20.29 MB / 0.6584 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.121, allocations: 8.031 kB / 0.6584 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/1.134, allocations: 2.764 MB / 0.6611 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0274/1.162, allocations: 11.63 MB / 0.6725 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002182/1.164, allocations: 1.24 MB / 0.6737 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007606/1.172, allocations: 1.559 MB / 0.6752 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07457/1.246, allocations: 27.02 MB / 0.7016 GB, free: 3.598 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008555/1.247, allocations: 149.9 kB / 0.7017 GB, free: 3.477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004297/1.251, allocations: 0.6362 MB / 0.7023 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00618/1.257, allocations: 3.11 MB / 0.7054 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05913/1.317, allocations: 23.14 MB / 0.728 GB, free: 8.887 MB / 0.5762 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.4652/1.782, allocations: 108.4 MB / 0.8338 GB, free: 148.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03006/1.812, allocations: 14.1 MB / 0.8476 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01236/1.824, allocations: 9.431 MB / 0.8568 GB, free: 131.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0592/1.883, allocations: 35.8 MB / 0.8918 GB, free: 95.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02598/1.909, allocations: 10.46 MB / 0.902 GB, free: 85.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=775): time 1.506e-05/1.909, allocations: 0 / 0.902 GB, free: 85.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=955): time 0.6684/2.578, allocations: 137 MB / 1.036 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004092/2.578, allocations: 1.525 MB / 1.037 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01746/2.596, allocations: 10.59 MB / 1.048 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.002987/2.599, allocations: 233.8 kB / 1.048 GB, free: 178 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.007065/2.606, allocations: 8.578 MB / 1.056 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.004786/2.611, allocations: 3.468 MB / 1.06 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008846/2.619, allocations: 2.63 MB / 1.062 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.247e-05/2.619, allocations: 305.1 kB / 1.062 GB, free: 164 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01413/2.634, allocations: 9.33 MB / 1.072 GB, free: 154.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01757/2.651, allocations: 13.87 MB / 1.085 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03059/2.682, allocations: 23.38 MB / 1.108 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/2.682, allocations: 36 kB / 1.108 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1717) (initialization): time 0.04551/2.727, allocations: 24.8 MB / 1.132 GB, free: 88.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-05/2.727, allocations: 63.94 kB / 1.132 GB, free: 88.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/2.728, allocations: 132 kB / 1.132 GB, free: 88.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/2.73, allocations: 1.398 MB / 1.134 GB, free: 87.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01712/2.747, allocations: 3.755 MB / 1.137 GB, free: 83.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01657/2.763, allocations: 27.38 MB / 1.164 GB, free: 54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0152/2.779, allocations: 1.243 MB / 1.165 GB, free: 52.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00335/2.782, allocations: 0.5897 MB / 1.166 GB, free: 52.17 MB / 0.5919 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.01288/2.795, allocations: 5.258 MB / 1.171 GB, free: 46.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004213/2.799, allocations: 1.203 MB / 1.172 GB, free: 45.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05171/2.851, allocations: 27.11 MB / 1.199 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.625e-05/2.851, allocations: 92 kB / 1.199 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/2.851, allocations: 4 kB / 1.199 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002054/2.851, allocations: 55.75 kB / 1.199 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3819/3.233, allocations: 59.06 MB / 1.257 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-05/3.233, allocations: 14.34 kB / 1.257 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00711/3.24, allocations: 1.492 MB / 1.258 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0341/3.274, allocations: 13.12 MB / 1.271 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002226/3.277, allocations: 207.9 kB / 1.271 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02377/3.3, allocations: 26.82 MB / 1.297 GB, free: 136.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/3.3, allocations: 19.97 kB / 1.297 GB, free: 136.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06055/3.361, allocations: 39.62 MB / 1.336 GB, free: 97.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008967/3.37, allocations: 3.226 MB / 1.339 GB, free: 95.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004457/3.374, allocations: 251.9 kB / 1.339 GB, free: 94.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009506/3.384, allocations: 0.9476 MB / 1.34 GB, free: 94.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002914/3.387, allocations: 0.7862 MB / 1.341 GB, free: 93.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001115/3.388, allocations: 259.9 kB / 1.341 GB, free: 92.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01025/3.398, allocations: 6.948 MB / 1.348 GB, free: 86.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/3.398, allocations: 0 / 1.348 GB, free: 86.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01525/3.413, allocations: 3.637 MB / 1.352 GB, free: 82.45 MB / 0.5919 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.003604/3.417, allocations: 0.714 MB / 1.352 GB, free: 81.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03123/3.448, allocations: 22.21 MB / 1.374 GB, free: 59.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.837e-05/3.448, allocations: 4.438 kB / 1.374 GB, free: 59.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02671/3.475, allocations: 11.44 MB / 1.385 GB, free: 48.03 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02443/3.499, allocations: 2.267 MB / 1.387 GB, free: 45.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07422/3.574, allocations: 39.04 MB / 1.425 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2952/3.869, allocations: 8.634 MB / 1.434 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00892/3.878, allocations: 0.8102 MB / 1.435 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.873e-06/3.878, allocations: 2 kB / 1.435 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of Templates: time 2.636/6.514, allocations: 1.252 GB / 2.686 GB, free: 115.4 MB / 0.6231 GB " [Timeout remaining time 653] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.cpp:29: ./OMCppModelica_4.1.0-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 11.21383956912905] 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'] 6.524512695148587 6.533551451 5.474706544 Calling exit ...