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.001374/0.001374, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001478/0.001478, allocations: 210 kB / 24.48 MB, free: 3.938 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.481/1.481, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.001677/0.001677, allocations: 51.91 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2803, allocations: 53.37 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.06453/0.3449, allocations: 51.15 MB / 483.5 MB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03719/0.3821, allocations: 15.96 MB / 499.5 MB, free: 3.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01252/0.3946, allocations: 429.8 kB / 499.9 MB, free: 2.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02051/0.4151, allocations: 8.328 MB / 0.4963 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02044/0.4355, allocations: 5.721 MB / 0.5019 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01245/0.448, allocations: 5.213 MB / 0.507 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03392/0.4819, allocations: 23.17 MB / 0.5296 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4852/0.9671, allocations: 20.01 MB / 0.5492 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01736/0.9845, allocations: 8.546 MB / 0.5575 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01533/0.9998, allocations: 9.378 MB / 0.5667 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007877/1.008, allocations: 2.515 MB / 0.5691 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/1.018, allocations: 3.088 MB / 0.5722 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01177/1.03, allocations: 7.731 MB / 0.5797 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01965/1.05, allocations: 8.462 MB / 0.588 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04652/1.096, allocations: 37.27 MB / 0.6244 GB, free: 7.852 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.096, allocations: 4 kB / 0.6244 GB, free: 7.848 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.094e-06/1.096, allocations: 0 / 0.6244 GB, free: 7.848 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001205/1.097, allocations: 0 / 0.6244 GB, free: 7.848 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: 4570 * Number of variables: 4570 Notification: Performance of Generate backend data structure: time 0.06315/1.16, allocations: 20.33 MB / 0.6442 GB, free: 3.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.16, allocations: 8.031 kB / 0.6442 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/1.175, allocations: 2.771 MB / 0.6469 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03021/1.205, allocations: 11.67 MB / 0.6583 GB, free: 5.648 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002023/1.207, allocations: 1.437 MB / 0.6597 GB, free: 4.18 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00656/1.213, allocations: 1.555 MB / 0.6613 GB, free: 2.664 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07779/1.291, allocations: 28.28 MB / 0.6889 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001307/1.292, allocations: 144.6 kB / 0.689 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00547/1.298, allocations: 0.6356 MB / 0.6896 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006716/1.305, allocations: 3.106 MB / 0.6927 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06613/1.371, allocations: 23.14 MB / 0.7153 GB, free: 10.67 MB / 0.5607 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.6994/2.07, allocations: 96.41 MB / 0.8094 GB, free: 91.21 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03104/2.101, allocations: 14.15 MB / 0.8232 GB, free: 90.54 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01285/2.114, allocations: 9.467 MB / 0.8325 GB, free: 88.75 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06415/2.178, allocations: 33.07 MB / 0.8648 GB, free: 72.88 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02713/2.205, allocations: 11.73 MB / 0.8762 GB, free: 66.53 MB / 0.592 GB Notification: Performance of pre-optimization done (n=781): time 1.674e-05/2.205, allocations: 1.641 kB / 0.8762 GB, free: 66.53 MB / 0.592 GB Notification: Performance of matching and sorting (n=939): time 0.3872/2.593, allocations: 128.3 MB / 1.002 GB, free: 4.777 MB / 0.6545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001033/2.594, allocations: 1.523 MB / 1.003 GB, free: 2.906 MB / 0.6545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2864/2.88, allocations: 10.03 MB / 1.013 GB, free: 267.8 MB / 0.6545 GB Notification: Performance of collectPreVariables (initialization): time 0.002987/2.883, allocations: 232.9 kB / 1.013 GB, free: 267.7 MB / 0.6545 GB Notification: Performance of collectInitialEqns (initialization): time 0.009043/2.892, allocations: 8.607 MB / 1.021 GB, free: 264.1 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.005437/2.897, allocations: 3.404 MB / 1.025 GB, free: 261.7 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009193/2.907, allocations: 2.6 MB / 1.027 GB, free: 260.5 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/2.907, allocations: 303 kB / 1.028 GB, free: 260.2 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01605/2.923, allocations: 8.863 MB / 1.036 GB, free: 256.6 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01982/2.943, allocations: 14.61 MB / 1.05 GB, free: 245.8 MB / 0.6545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03167/2.974, allocations: 22.37 MB / 1.072 GB, free: 226.7 MB / 0.6545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/2.974, allocations: 40 kB / 1.072 GB, free: 226.7 MB / 0.6545 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.04797/3.022, allocations: 23.75 MB / 1.096 GB, free: 205.2 MB / 0.6545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/3.022, allocations: 60 kB / 1.096 GB, free: 205.2 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001769/3.023, allocations: 134.4 kB / 1.096 GB, free: 205 MB / 0.6545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002344/3.025, allocations: 1.397 MB / 1.097 GB, free: 203.7 MB / 0.6545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01843/3.043, allocations: 3.731 MB / 1.101 GB, free: 200.2 MB / 0.6545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/3.061, allocations: 26.77 MB / 1.127 GB, free: 171.6 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01718/3.078, allocations: 1.237 MB / 1.128 GB, free: 170.3 MB / 0.6545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004162/3.082, allocations: 0.5968 MB / 1.129 GB, free: 169.7 MB / 0.6545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 160 (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],pathPlanning.pathToAxis5.moving[5],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis1.moving[1],pathPlanning.path.motion_ref,$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.0139/3.096, allocations: 5.216 MB / 1.134 GB, free: 164.5 MB / 0.6545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004292/3.1, allocations: 1.133 MB / 1.135 GB, free: 163.4 MB / 0.6545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04758/3.148, allocations: 23.29 MB / 1.158 GB, free: 140 MB / 0.6545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.54e-05/3.148, allocations: 96 kB / 1.158 GB, free: 139.9 MB / 0.6545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.908e-05/3.148, allocations: 4 kB / 1.158 GB, free: 139.9 MB / 0.6545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002106/3.148, allocations: 51.83 kB / 1.158 GB, free: 139.9 MB / 0.6545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09377/3.242, allocations: 49.98 MB / 1.207 GB, free: 89.73 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.903e-05/3.242, allocations: 15.94 kB / 1.207 GB, free: 89.71 MB / 0.6545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007301/3.25, allocations: 1.451 MB / 1.208 GB, free: 88.26 MB / 0.6545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.037/3.286, allocations: 13.04 MB / 1.221 GB, free: 75.18 MB / 0.6545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002946/3.289, allocations: 207.9 kB / 1.221 GB, free: 74.98 MB / 0.6545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02688/3.316, allocations: 26.65 MB / 1.247 GB, free: 47.61 MB / 0.6545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.37e-05/3.316, allocations: 15.94 kB / 1.247 GB, free: 47.59 MB / 0.6545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05982/3.376, allocations: 35.85 MB / 1.282 GB, free: 11.45 MB / 0.6545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01053/3.387, allocations: 3.007 MB / 1.285 GB, free: 8.434 MB / 0.6545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004107/3.391, allocations: 240 kB / 1.285 GB, free: 8.199 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01073/3.402, allocations: 0.9562 MB / 1.286 GB, free: 7.242 MB / 0.6545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002751/3.404, allocations: 0.7902 MB / 1.287 GB, free: 6.449 MB / 0.6545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001087/3.405, allocations: 255.9 kB / 1.287 GB, free: 6.199 MB / 0.6545 GB Notification: Performance of sorting global known variables: time 0.2772/3.683, allocations: 6.4 MB / 1.293 GB, free: 243.5 MB / 0.6545 GB Notification: Performance of sort global known variables: time 5.11e-07/3.683, allocations: 0 / 1.293 GB, free: 243.5 MB / 0.6545 GB Notification: Performance of remove unused functions: time 0.01709/3.7, allocations: 3.572 MB / 1.297 GB, free: 243.5 MB / 0.6545 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: 33 (pathPlanning.terminateSimulation.condition,$whenCondition1,pathPlanning.path.motion_ref,pathPlanning.pathToAxis1.moving[1],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis5.moving[5],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,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (718): * Single equations (assignments): 708 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (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 {(7,194), (1,7), (1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003795/3.703, allocations: 0.7414 MB / 1.298 GB, free: 243.3 MB / 0.6545 GB Notification: Performance of simCode: created initialization part: time 0.03382/3.737, allocations: 21.22 MB / 1.318 GB, free: 236.4 MB / 0.6545 GB Notification: Performance of simCode: created event and clocks part: time 2.719e-05/3.737, allocations: 4.312 kB / 1.318 GB, free: 236.4 MB / 0.6545 GB Notification: Performance of simCode: created simulation system equations: time 0.01969/3.757, allocations: 10.89 MB / 1.329 GB, free: 231.4 MB / 0.6545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01651/3.774, allocations: 2.049 MB / 1.331 GB, free: 230.6 MB / 0.6545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07047/3.844, allocations: 38.07 MB / 1.368 GB, free: 202.9 MB / 0.6545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01445/3.858, allocations: 8.27 MB / 1.376 GB, free: 196.9 MB / 0.6545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005701/3.864, allocations: 0.7726 MB / 1.377 GB, free: 196.2 MB / 0.6545 GB Notification: Performance of SimCode: time 1.774e-06/3.864, allocations: 3.172 kB / 1.377 GB, free: 196.2 MB / 0.6545 GB Notification: Performance of Templates: time 2.344/6.208, allocations: 1.245 GB / 2.622 GB, free: 127 MB / 0.6545 GB " [Timeout remaining time 654] 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 -DOMC_BUILD -DUSE_THREAD -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.035288629122078] 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.2183106280863285 6.227433697 5.128809655 Calling exit ...