Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 51.91 kB / 371.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3422, allocations: 52.18 MB / 423.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.07203/0.4142, allocations: 60.76 MB / 484.7 MB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04071/0.4549, allocations: 16.01 MB / 0.489 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01679/0.4717, allocations: 445.6 kB / 0.4894 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02349/0.4952, allocations: 8.643 MB / 0.4978 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02288/0.5181, allocations: 5.697 MB / 0.5034 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01392/0.532, allocations: 5.17 MB / 0.5084 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03866/0.5707, allocations: 22.66 MB / 0.5306 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3103/0.881, allocations: 20.24 MB / 0.5503 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01544/0.8964, allocations: 8.583 MB / 0.5587 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01579/0.9122, allocations: 10.37 MB / 0.5688 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007652/0.9199, allocations: 2.498 MB / 0.5713 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009224/0.9291, allocations: 3.108 MB / 0.5743 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0102/0.9393, allocations: 7.699 MB / 0.5818 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01582/0.9551, allocations: 10.73 MB / 0.5923 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.049/1.004, allocations: 36.83 MB / 0.6283 GB, free: 1.473 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.004, allocations: 3.875 kB / 0.6283 GB, free: 1.473 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/1.004, allocations: 0 / 0.6283 GB, free: 1.473 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009974/1.005, allocations: 0 / 0.6283 GB, free: 1.473 MB / 478.1 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.05474/1.06, allocations: 20.18 MB / 0.648 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.06, allocations: 12.03 kB / 0.648 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/1.073, allocations: 2.745 MB / 0.6507 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02997/1.103, allocations: 11.82 MB / 0.6622 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001782/1.105, allocations: 1.435 MB / 0.6636 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006264/1.111, allocations: 1.549 MB / 0.6651 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0706/1.182, allocations: 27.09 MB / 0.6916 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001174/1.183, allocations: 144.3 kB / 0.6917 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004808/1.188, allocations: 0.6348 MB / 0.6923 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006789/1.194, allocations: 3.106 MB / 0.6954 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06192/1.256, allocations: 23.34 MB / 0.7182 GB, free: 5.633 MB / 0.5606 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.7107/1.967, allocations: 108.4 MB / 0.824 GB, free: 91.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03023/1.997, allocations: 14.12 MB / 0.8378 GB, free: 89.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01234/2.01, allocations: 9.54 MB / 0.8471 GB, free: 85.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06322/2.073, allocations: 35.81 MB / 0.8821 GB, free: 56.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02711/2.1, allocations: 10.57 MB / 0.8924 GB, free: 45.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=769): time 1.421e-05/2.1, allocations: 3.75 kB / 0.8924 GB, free: 45.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=939): time 0.8308/2.931, allocations: 127.4 MB / 1.017 GB, free: 235.4 MB / 0.6389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003701/2.931, allocations: 1.519 MB / 1.018 GB, free: 233.6 MB / 0.6389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01736/2.949, allocations: 10.5 MB / 1.029 GB, free: 229.9 MB / 0.6389 GB Notification: Performance of collectPreVariables (initialization): time 0.002961/2.951, allocations: 228 kB / 1.029 GB, free: 229.7 MB / 0.6389 GB Notification: Performance of collectInitialEqns (initialization): time 0.007844/2.959, allocations: 8.552 MB / 1.037 GB, free: 224.2 MB / 0.6389 GB Notification: Performance of collectInitialBindings (initialization): time 0.005396/2.965, allocations: 3.418 MB / 1.04 GB, free: 222 MB / 0.6389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01029/2.975, allocations: 2.605 MB / 1.043 GB, free: 220.8 MB / 0.6389 GB Notification: Performance of setup shared object (initialization): time 7.383e-05/2.975, allocations: 301.1 kB / 1.043 GB, free: 220.5 MB / 0.6389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01543/2.991, allocations: 9.241 MB / 1.052 GB, free: 216.7 MB / 0.6389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0184/3.009, allocations: 13.77 MB / 1.066 GB, free: 207.3 MB / 0.6389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03112/3.04, allocations: 23.19 MB / 1.088 GB, free: 185.6 MB / 0.6389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001665/3.04, allocations: 36 kB / 1.088 GB, free: 185.6 MB / 0.6389 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.04475/3.085, allocations: 24.6 MB / 1.112 GB, free: 160.9 MB / 0.6389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001961/3.085, allocations: 62.34 kB / 1.113 GB, free: 160.8 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002481/3.085, allocations: 132 kB / 1.113 GB, free: 160.7 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/3.088, allocations: 1.163 MB / 1.114 GB, free: 159.5 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01799/3.106, allocations: 3.751 MB / 1.117 GB, free: 155.7 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/3.123, allocations: 27.2 MB / 1.144 GB, free: 126.5 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01633/3.14, allocations: 1.232 MB / 1.145 GB, free: 125.2 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004214/3.144, allocations: 0.5819 MB / 1.146 GB, free: 124.6 MB / 0.6389 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 (1659): * Single equations (assignments): 1641 * 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.01559/3.159, allocations: 5.233 MB / 1.151 GB, free: 119.4 MB / 0.6389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005772/3.165, allocations: 1.203 MB / 1.152 GB, free: 118.2 MB / 0.6389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06106/3.226, allocations: 27 MB / 1.178 GB, free: 91.11 MB / 0.6389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.876e-05/3.226, allocations: 88 kB / 1.179 GB, free: 91.02 MB / 0.6389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.461e-05/3.226, allocations: 8 kB / 1.179 GB, free: 91.01 MB / 0.6389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002636/3.227, allocations: 47.83 kB / 1.179 GB, free: 90.96 MB / 0.6389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1031/3.33, allocations: 58.29 MB / 1.236 GB, free: 32.4 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.361e-05/3.33, allocations: 16 kB / 1.236 GB, free: 32.38 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007379/3.337, allocations: 1.479 MB / 1.237 GB, free: 30.9 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03451/3.372, allocations: 13.64 MB / 1.25 GB, free: 17.22 MB / 0.6389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002679/3.374, allocations: 203.9 kB / 1.25 GB, free: 17.02 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2866/3.661, allocations: 27.27 MB / 1.277 GB, free: 233.1 MB / 0.6389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/3.661, allocations: 18.31 kB / 1.277 GB, free: 233.1 MB / 0.6389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07103/3.732, allocations: 40.54 MB / 1.317 GB, free: 217.1 MB / 0.6389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009726/3.742, allocations: 3.161 MB / 1.32 GB, free: 216 MB / 0.6389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00495/3.747, allocations: 240.6 kB / 1.32 GB, free: 215.8 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01187/3.759, allocations: 0.9418 MB / 1.321 GB, free: 215.7 MB / 0.6389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003442/3.762, allocations: 0.7789 MB / 1.322 GB, free: 215.5 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001476/3.764, allocations: 258.5 kB / 1.322 GB, free: 215.5 MB / 0.6389 GB Notification: Performance of sorting global known variables: time 0.01427/3.778, allocations: 6.905 MB / 1.329 GB, free: 212.1 MB / 0.6389 GB Notification: Performance of sort global known variables: time 2.41e-07/3.778, allocations: 0 / 1.329 GB, free: 212.1 MB / 0.6389 GB Notification: Performance of remove unused functions: time 0.01739/3.795, allocations: 3.617 MB / 1.332 GB, free: 208.5 MB / 0.6389 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 36 (axis1.gear.spring.phi_rel,axis1.gear.spring.w_rel,axis1.motor.La.i,axis1.motor.C.v,axis1.motor.Jmotor.w,axis1.controller.PI.x,axis1.initializeFlange.phi_flange,axis2.gear.spring.phi_rel,axis2.gear.spring.w_rel,axis2.motor.La.i,axis2.motor.C.v,axis2.motor.Jmotor.w,axis2.controller.PI.x,axis2.initializeFlange.phi_flange,axis3.gear.spring.phi_rel,axis3.gear.spring.w_rel,axis3.motor.La.i,axis3.motor.C.v,axis3.motor.Jmotor.w,axis3.controller.PI.x,axis3.initializeFlange.phi_flange,axis4.motor.La.i,axis4.motor.C.v,axis4.motor.Jmotor.w,axis4.controller.PI.x,axis4.initializeFlange.phi_flange,axis5.motor.La.i,axis5.motor.C.v,axis5.motor.Jmotor.w,axis5.controller.PI.x,axis5.initializeFlange.phi_flange,axis6.motor.La.i,axis6.motor.C.v,axis6.motor.Jmotor.w,axis6.controller.PI.x,axis6.initializeFlange.phi_flange) * Number of discrete variables: 27 (pathPlanning.terminateSimulation.condition,$whenCondition1,pathPlanning.pathToAxis6.moving[6],axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.locked,axis1.gear.bearingFriction.mode,axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.locked,axis2.gear.bearingFriction.mode,axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.locked,axis3.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.locked,axis4.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.locked,axis5.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.locked,axis6.gear.bearingFriction.mode) * Number of discrete states: 18 (axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startForward,axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startForward,axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startForward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (724): * Single equations (assignments): 714 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (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,189), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002902/3.798, allocations: 476.5 kB / 1.333 GB, free: 208 MB / 0.6389 GB Notification: Performance of simCode: created initialization part: time 0.03369/3.832, allocations: 21.98 MB / 1.354 GB, free: 188.2 MB / 0.6389 GB Notification: Performance of simCode: created event and clocks part: time 2.531e-05/3.832, allocations: 10.62 kB / 1.354 GB, free: 188.2 MB / 0.6389 GB Notification: Performance of simCode: created simulation system equations: time 0.02039/3.852, allocations: 11.3 MB / 1.365 GB, free: 176.8 MB / 0.6389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02039/3.873, allocations: 2.221 MB / 1.367 GB, free: 174.7 MB / 0.6389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07352/3.946, allocations: 38.52 MB / 1.405 GB, free: 136.2 MB / 0.6389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01567/3.962, allocations: 8.604 MB / 1.413 GB, free: 127.6 MB / 0.6389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006351/3.968, allocations: 0.8001 MB / 1.414 GB, free: 126.8 MB / 0.6389 GB Notification: Performance of SimCode: time 1.342e-06/3.968, allocations: 0 / 1.414 GB, free: 126.8 MB / 0.6389 GB Notification: Performance of Templates: time 2.748/6.716, allocations: 1.245 GB / 2.659 GB, free: 207.6 MB / 0.6389 GB " [Timeout remaining time 653] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile [Timeout 660] make -j1 -f Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.cpp:29: ./OMCppModelica_4.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobotCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 11.365135747008026] 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.72656582808122 6.735582548 5.728536118 Calling exit ...