Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001988/0.001988, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002098/0.002098, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 55.91 kB / 348.5 MB, free: 9.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3832, allocations: 49.17 MB / 397.7 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.07562/0.4588, allocations: 60.65 MB / 458.3 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05046/0.5093, allocations: 16.02 MB / 474.3 MB, free: 6.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02055/0.5298, allocations: 445.6 kB / 474.8 MB, free: 5.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02377/0.5536, allocations: 8.647 MB / 483.4 MB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02799/0.5816, allocations: 5.724 MB / 489.1 MB, free: 7.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01695/0.5986, allocations: 5.182 MB / 494.3 MB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04983/0.6484, allocations: 22.73 MB / 0.5049 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05209/0.7005, allocations: 20.28 MB / 0.5247 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02246/0.7229, allocations: 8.624 MB / 0.5332 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0206/0.7435, allocations: 10.4 MB / 0.5433 GB, free: 4.008 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01026/0.7538, allocations: 2.5 MB / 0.5457 GB, free: 1.508 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.7659, allocations: 3.124 MB / 0.5488 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01579/0.7817, allocations: 7.723 MB / 0.5563 GB, free: 6.641 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.5269/1.309, allocations: 10.74 MB / 0.5668 GB, free: 47.38 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05073/1.359, allocations: 36.88 MB / 0.6029 GB, free: 39.39 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/1.359, allocations: 3.5 kB / 0.6029 GB, free: 39.39 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.014e-06/1.359, allocations: 0.6562 kB / 0.6029 GB, free: 39.39 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001426/1.361, allocations: 0 / 0.6029 GB, free: 39.39 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.07106/1.432, allocations: 20.22 MB / 0.6226 GB, free: 29.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.432, allocations: 15.58 kB / 0.6226 GB, free: 29.49 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/1.448, allocations: 2.744 MB / 0.6253 GB, free: 28.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02779/1.476, allocations: 12.29 MB / 0.6373 GB, free: 21.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001417/1.477, allocations: 1.437 MB / 0.6387 GB, free: 20.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008051/1.485, allocations: 1.55 MB / 0.6402 GB, free: 19.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07394/1.559, allocations: 27.09 MB / 0.6667 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001249/1.56, allocations: 146.8 kB / 0.6668 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00697/1.567, allocations: 0.638 MB / 0.6674 GB, free: 8.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006832/1.574, allocations: 3.112 MB / 0.6705 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06614/1.64, allocations: 23.34 MB / 0.6933 GB, free: 14.63 MB / 0.5138 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4916/2.132, allocations: 108.4 MB / 0.7992 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03531/2.167, allocations: 14.14 MB / 0.813 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01385/2.181, allocations: 9.538 MB / 0.8223 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07557/2.256, allocations: 35.84 MB / 0.8573 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0304/2.287, allocations: 10.56 MB / 0.8676 GB, free: 141.1 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=769): time 1.569e-05/2.287, allocations: 4 kB / 0.8676 GB, free: 141.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=939): time 0.3845/2.671, allocations: 127.6 MB / 0.9922 GB, free: 15.24 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003758/2.672, allocations: 1.523 MB / 0.9937 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02436/2.696, allocations: 10.6 MB / 1.004 GB, free: 2.84 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.003688/2.7, allocations: 229.7 kB / 1.004 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.2742/2.974, allocations: 8.554 MB / 1.013 GB, free: 204.3 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.006452/2.98, allocations: 3.408 MB / 1.016 GB, free: 202.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01589/2.996, allocations: 2.609 MB / 1.018 GB, free: 201.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.349e-05/2.996, allocations: 301.1 kB / 1.019 GB, free: 201.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01899/3.015, allocations: 9.242 MB / 1.028 GB, free: 201.6 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02325/3.039, allocations: 13.78 MB / 1.041 GB, free: 193.4 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03518/3.074, allocations: 23.18 MB / 1.064 GB, free: 179.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002624/3.074, allocations: 37.84 kB / 1.064 GB, free: 179.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.05111/3.125, allocations: 24.6 MB / 1.088 GB, free: 158.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/3.125, allocations: 60 kB / 1.088 GB, free: 158.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001849/3.125, allocations: 132 kB / 1.088 GB, free: 158.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/3.128, allocations: 1.179 MB / 1.089 GB, free: 157.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01793/3.146, allocations: 3.734 MB / 1.093 GB, free: 154.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/3.162, allocations: 27.19 MB / 1.119 GB, free: 125.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01856/3.181, allocations: 1.238 MB / 1.121 GB, free: 125 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004897/3.186, allocations: 0.5877 MB / 1.121 GB, free: 124.4 MB / 0.5763 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.01745/3.203, allocations: 5.24 MB / 1.126 GB, free: 119.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004537/3.208, allocations: 1.199 MB / 1.128 GB, free: 118.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05732/3.265, allocations: 27 MB / 1.154 GB, free: 92.75 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.581e-05/3.265, allocations: 99.88 kB / 1.154 GB, free: 92.65 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.688e-05/3.265, allocations: 4 kB / 1.154 GB, free: 92.64 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000268/3.265, allocations: 43.83 kB / 1.154 GB, free: 92.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.129/3.395, allocations: 58.33 MB / 1.211 GB, free: 34.01 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001263/3.395, allocations: 12 kB / 1.211 GB, free: 34 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007801/3.402, allocations: 1.487 MB / 1.212 GB, free: 32.51 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03695/3.439, allocations: 13.63 MB / 1.226 GB, free: 18.83 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003765/3.443, allocations: 203.9 kB / 1.226 GB, free: 18.63 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3288/3.772, allocations: 27.27 MB / 1.253 GB, free: 184.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-05/3.772, allocations: 19.72 kB / 1.253 GB, free: 184.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08023/3.852, allocations: 40.55 MB / 1.292 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01285/3.865, allocations: 3.181 MB / 1.295 GB, free: 171.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00672/3.872, allocations: 246.3 kB / 1.296 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01371/3.885, allocations: 0.9466 MB / 1.297 GB, free: 171.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004759/3.89, allocations: 0.7727 MB / 1.297 GB, free: 171.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003058/3.893, allocations: 260.4 kB / 1.298 GB, free: 171.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01887/3.912, allocations: 6.982 MB / 1.304 GB, free: 168.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.5e-07/3.912, allocations: 2.531 kB / 1.304 GB, free: 168.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.02244/3.935, allocations: 3.624 MB / 1.308 GB, free: 165.6 MB / 0.5763 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.004185/3.939, allocations: 472.3 kB / 1.308 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.03868/3.977, allocations: 21.98 MB / 1.33 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.492e-05/3.977, allocations: 8.438 kB / 1.33 GB, free: 145.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.02296/4, allocations: 11.29 MB / 1.341 GB, free: 135.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02587/4.026, allocations: 2.229 MB / 1.343 GB, free: 133 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09254/4.119, allocations: 38.6 MB / 1.381 GB, free: 94.37 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01778/4.137, allocations: 8.616 MB / 1.389 GB, free: 85.71 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006832/4.143, allocations: 0.804 MB / 1.39 GB, free: 84.91 MB / 0.5763 GB Notification: Performance of SimCode: time 1.953e-06/4.143, allocations: 0 / 1.39 GB, free: 84.91 MB / 0.5763 GB Notification: Performance of Templates: time 2.993/7.136, allocations: 1.246 GB / 2.636 GB, free: 211.4 MB / 0.6232 GB " [Timeout remaining time 653] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.cpp:29: ./OMCppModelica_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobotCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 12.199790379963815] Failed to read output from testmodel.py, exit status != 0: ['time', 'axis1.controller.PI.x', 'axis1.gear.spring.phi_rel', 'axis1.gear.spring.w_rel', 'axis1.motor.C.v', 'axis1.motor.La.i', 'axis2.controller.PI.x', 'axis2.gear.spring.phi_rel', 'axis2.gear.spring.w_rel', 'axis2.motor.C.v', 'axis2.motor.La.i', 'axis3.controller.PI.x', 'axis3.gear.spring.phi_rel', 'axis3.gear.spring.w_rel', 'axis3.motor.C.v', 'axis3.motor.La.i', 'axis4.controller.PI.x', 'axis4.motor.C.v', 'axis4.motor.La.i', 'axis5.controller.PI.x', 'axis5.motor.C.v', 'axis5.motor.La.i', 'axis6.controller.PI.x', 'axis6.motor.C.v', 'axis6.motor.La.i', 'mechanics.b2.body.w_a[1]', 'mechanics.r1.phi', 'mechanics.r1.w', 'mechanics.r2.phi', 'mechanics.r3.phi', 'mechanics.r3.w', 'mechanics.r4.phi', 'mechanics.r4.w', 'mechanics.r5.phi', 'mechanics.r5.w', 'mechanics.r6.phi', 'mechanics.r6.w', 'axis1.gear.bearingFriction.mode', 'axis2.gear.bearingFriction.mode', 'axis3.gear.bearingFriction.mode', 'axis4.gear.bearingFriction.mode', 'axis5.gear.bearingFriction.mode', 'axis6.gear.bearingFriction.mode'] 7.148203287972137 7.15860705 5.795871064 Calling exit ...