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.001567/0.001567, allocations: 118.7 kB / 18.46 MB, free: 4.602 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.001705/0.001705, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.614/1.614, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.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.001731/0.001731, allocations: 47.92 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1214, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.3344/0.4558, allocations: 60.69 MB / 479.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05054/0.5064, allocations: 15.97 MB / 495.7 MB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02345/0.5298, allocations: 369.2 kB / 496 MB, free: 2.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0242/0.554, allocations: 8.62 MB / 0.4928 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02565/0.5797, allocations: 5.694 MB / 0.4984 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01517/0.5948, allocations: 5.127 MB / 0.5034 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04138/0.6362, allocations: 22.64 MB / 0.5255 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04572/0.6819, allocations: 20 MB / 0.545 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02172/0.7037, allocations: 8.456 MB / 0.5533 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0215/0.7252, allocations: 10.35 MB / 0.5634 GB, free: 7.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00978/0.7349, allocations: 2.5 MB / 0.5658 GB, free: 5.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01501/0.75, allocations: 3.108 MB / 0.5689 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01536/0.7653, allocations: 7.688 MB / 0.5764 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02517/0.7905, allocations: 10.73 MB / 0.5869 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06154/0.852, allocations: 36.82 MB / 0.6228 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.852, allocations: 0 / 0.6228 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.956e-06/0.852, allocations: 4 kB / 0.6228 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001317/0.8534, allocations: 4 kB / 0.6228 GB, free: 10.46 MB / 0.5137 GB 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.5492/1.403, allocations: 20.24 MB / 0.6426 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.403, allocations: 8.906 kB / 0.6426 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/1.416, allocations: 2.744 MB / 0.6453 GB, free: 141.5 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02989/1.446, allocations: 11.96 MB / 0.657 GB, free: 136.6 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001779/1.448, allocations: 1.231 MB / 0.6582 GB, free: 136 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007102/1.455, allocations: 1.548 MB / 0.6597 GB, free: 135.5 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06115/1.516, allocations: 27.1 MB / 0.6861 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001007/1.517, allocations: 151 kB / 0.6863 GB, free: 114.3 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004414/1.522, allocations: 0.6292 MB / 0.6869 GB, free: 113.7 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004954/1.527, allocations: 3.111 MB / 0.6899 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04608/1.573, allocations: 23.34 MB / 0.7127 GB, free: 87.21 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.1648/1.738, allocations: 108.8 MB / 0.819 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03823/1.776, allocations: 14.13 MB / 0.8328 GB, free: 10.73 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01813/1.794, allocations: 9.473 MB / 0.842 GB, free: 1.234 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5475/2.342, allocations: 35.97 MB / 0.8771 GB, free: 166 MB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02776/2.369, allocations: 10.57 MB / 0.8875 GB, free: 162.5 MB / 0.5608 GB Notification: Performance of pre-optimization done (n=769): time 1.813e-05/2.369, allocations: 0 / 0.8875 GB, free: 162.5 MB / 0.5608 GB Notification: Performance of matching and sorting (n=939): time 0.3509/2.72, allocations: 128.5 MB / 1.013 GB, free: 44.98 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003604/2.721, allocations: 1.523 MB / 1.014 GB, free: 43.11 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02385/2.744, allocations: 10.5 MB / 1.025 GB, free: 32.75 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.003056/2.747, allocations: 229.7 kB / 1.025 GB, free: 32.52 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.008852/2.756, allocations: 8.56 MB / 1.033 GB, free: 24.86 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.005613/2.762, allocations: 3.41 MB / 1.037 GB, free: 21.5 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01329/2.775, allocations: 2.602 MB / 1.039 GB, free: 18.88 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/2.775, allocations: 301.1 kB / 1.039 GB, free: 18.59 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01585/2.791, allocations: 9.244 MB / 1.048 GB, free: 9.332 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3123/3.103, allocations: 13.77 MB / 1.062 GB, free: 161.7 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04045/3.144, allocations: 23.19 MB / 1.085 GB, free: 150.7 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002947/3.144, allocations: 35.47 kB / 1.085 GB, free: 150.7 MB / 0.5608 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.05148/3.196, allocations: 24.6 MB / 1.109 GB, free: 140.8 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/3.196, allocations: 60.84 kB / 1.109 GB, free: 140.8 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002089/3.196, allocations: 137.7 kB / 1.109 GB, free: 140.8 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/3.198, allocations: 1.183 MB / 1.11 GB, free: 140.3 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01738/3.216, allocations: 3.733 MB / 1.114 GB, free: 139.9 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/3.233, allocations: 29.03 MB / 1.142 GB, free: 112.1 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01664/3.249, allocations: 1.237 MB / 1.143 GB, free: 111.6 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003819/3.253, allocations: 0.5914 MB / 1.144 GB, free: 111 MB / 0.5608 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.01414/3.267, allocations: 5.227 MB / 1.149 GB, free: 106.3 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004687/3.272, allocations: 1.192 MB / 1.15 GB, free: 105.8 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05789/3.33, allocations: 27 MB / 1.176 GB, free: 81.95 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.142e-05/3.33, allocations: 88.66 kB / 1.176 GB, free: 81.86 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.15e-05/3.33, allocations: 12 kB / 1.176 GB, free: 81.85 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002334/3.33, allocations: 43.83 kB / 1.177 GB, free: 81.81 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1226/3.453, allocations: 58.38 MB / 1.234 GB, free: 23.4 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002408/3.453, allocations: 12 kB / 1.234 GB, free: 23.39 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01121/3.464, allocations: 1.486 MB / 1.235 GB, free: 21.9 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03899/3.503, allocations: 13.64 MB / 1.248 GB, free: 8.215 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002635/3.506, allocations: 211.9 kB / 1.249 GB, free: 8.008 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3087/3.815, allocations: 27.87 MB / 1.276 GB, free: 168.2 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.802e-05/3.815, allocations: 17.91 kB / 1.276 GB, free: 168.2 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07604/3.891, allocations: 40.55 MB / 1.315 GB, free: 155 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01099/3.902, allocations: 3.236 MB / 1.319 GB, free: 153.8 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005217/3.907, allocations: 242.5 kB / 1.319 GB, free: 153.6 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01127/3.918, allocations: 0.951 MB / 1.32 GB, free: 153.5 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003862/3.922, allocations: 0.7381 MB / 1.32 GB, free: 153.3 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002571/3.925, allocations: 253.7 kB / 1.321 GB, free: 153.3 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01362/3.938, allocations: 6.911 MB / 1.327 GB, free: 150.8 MB / 0.5764 GB Notification: Performance of sort global known variables: time 3.01e-07/3.938, allocations: 0 / 1.327 GB, free: 150.8 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01844/3.957, allocations: 3.615 MB / 1.331 GB, free: 150.5 MB / 0.5764 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.003228/3.96, allocations: 479.9 kB / 1.331 GB, free: 150.2 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.0347/3.995, allocations: 21.99 MB / 1.353 GB, free: 133.1 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 2.067e-05/3.995, allocations: 4.438 kB / 1.353 GB, free: 133.1 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.01996/4.015, allocations: 11.3 MB / 1.364 GB, free: 121.8 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0191/4.034, allocations: 2.222 MB / 1.366 GB, free: 119.7 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06661/4.1, allocations: 38.34 MB / 1.404 GB, free: 81.43 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01282/4.113, allocations: 8.604 MB / 1.412 GB, free: 72.78 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005717/4.119, allocations: 0.8001 MB / 1.413 GB, free: 71.98 MB / 0.5764 GB Notification: Performance of SimCode: time 1.362e-06/4.119, allocations: 0 / 1.413 GB, free: 71.98 MB / 0.5764 GB Notification: Performance of Templates: time 2.862/6.981, allocations: 1.245 GB / 2.657 GB, free: 194.4 MB / 0.6233 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_2/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.919197577022715] 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.99157791500329 7.000395897 6.145580383 Calling exit ...