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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 91.38 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 177.2 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.099/1.099, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002086/0.0002086, allocations: 7.938 kB / 302.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06846/0.06869, allocations: 50.42 MB / 352.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.2374/0.3061, allocations: 160.8 MB / 0.5013 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2294/0.5355, allocations: 34.04 MB / 0.5345 GB, free: 168 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02422/0.5598, allocations: 0.7347 MB / 0.5353 GB, free: 168 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003958/0.5638, allocations: 1.831 MB / 0.537 GB, free: 168 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01127/0.575, allocations: 5.029 MB / 0.542 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00613/0.5812, allocations: 4.652 MB / 0.5465 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02403/0.6052, allocations: 25.73 MB / 0.5716 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02188/0.6271, allocations: 20.93 MB / 0.5921 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00771/0.6349, allocations: 5.745 MB / 0.5977 GB, free: 4.574 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008293/0.6432, allocations: 8.037 MB / 0.6055 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.6445, allocations: 0.7031 MB / 0.6062 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/0.6471, allocations: 1.331 MB / 0.6075 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003703/0.6508, allocations: 5.454 MB / 0.6128 GB, free: 5.484 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007071/0.6579, allocations: 8.384 MB / 0.621 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02062/0.6785, allocations: 29.61 MB / 0.6499 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.6786, allocations: 0 / 0.6499 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6786, allocations: 0 / 0.6499 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005494/0.6791, allocations: 0 / 0.6499 GB, free: 15.98 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.02727/0.7064, allocations: 16.03 MB / 0.6656 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.7064, allocations: 8.031 kB / 0.6656 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007448/0.7139, allocations: 2.686 MB / 0.6682 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/0.7281, allocations: 11.6 MB / 0.6796 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007831/0.7289, allocations: 1.234 MB / 0.6808 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/0.731, allocations: 1.548 MB / 0.6823 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03962/0.7706, allocations: 27.18 MB / 0.7088 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003994/0.771, allocations: 146.6 kB / 0.709 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001371/0.7724, allocations: 0.6355 MB / 0.7096 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004986/0.7774, allocations: 3.108 MB / 0.7126 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3066/1.084, allocations: 23.44 MB / 0.7355 GB, free: 251.9 MB / 0.5763 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.1051/1.189, allocations: 109.6 MB / 0.8425 GB, free: 163.6 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02441/1.214, allocations: 14.73 MB / 0.8569 GB, free: 148.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008759/1.222, allocations: 10.09 MB / 0.8667 GB, free: 138.7 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03617/1.258, allocations: 35.95 MB / 0.9018 GB, free: 102.9 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0198/1.278, allocations: 10.6 MB / 0.9122 GB, free: 92.07 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=769): time 8.526e-06/1.278, allocations: 0 / 0.9122 GB, free: 92.07 MB / 0.5763 GB Notification: Performance of matching and sorting (n=939): time 0.5488/1.827, allocations: 129.1 MB / 1.038 GB, free: 222.8 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000232/1.827, allocations: 1.525 MB / 1.04 GB, free: 221.1 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.838, allocations: 10.48 MB / 1.05 GB, free: 217.3 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.001266/1.84, allocations: 231.4 kB / 1.05 GB, free: 217.1 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.004265/1.844, allocations: 8.317 MB / 1.058 GB, free: 210.8 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.002285/1.846, allocations: 3.252 MB / 1.062 GB, free: 208.4 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/1.847, allocations: 1.134 MB / 1.063 GB, free: 207.9 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 3.026e-05/1.847, allocations: 304.5 kB / 1.063 GB, free: 207.6 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01034/1.858, allocations: 9.274 MB / 1.072 GB, free: 203.8 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01116/1.869, allocations: 13.81 MB / 1.085 GB, free: 194.4 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02085/1.89, allocations: 23.27 MB / 1.108 GB, free: 171.5 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-05/1.89, allocations: 36 kB / 1.108 GB, free: 171.5 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.02707/1.917, allocations: 24.63 MB / 1.132 GB, free: 147.9 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/1.917, allocations: 60 kB / 1.132 GB, free: 147.8 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/1.917, allocations: 132 kB / 1.132 GB, free: 147.7 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/1.919, allocations: 1.174 MB / 1.134 GB, free: 146.5 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01301/1.932, allocations: 3.751 MB / 1.137 GB, free: 142.7 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/1.945, allocations: 27 MB / 1.164 GB, free: 113.3 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/1.955, allocations: 1.363 MB / 1.165 GB, free: 111.9 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009769/1.956, allocations: 0.5858 MB / 1.166 GB, free: 111.4 MB / 0.5764 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.007178/1.963, allocations: 5.219 MB / 1.171 GB, free: 106.1 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/1.965, allocations: 1.138 MB / 1.172 GB, free: 105 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03916/2.004, allocations: 27.27 MB / 1.198 GB, free: 77.62 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.812e-05/2.005, allocations: 95.75 kB / 1.198 GB, free: 77.53 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/2.005, allocations: 11.94 kB / 1.198 GB, free: 77.52 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-05/2.005, allocations: 43.83 kB / 1.199 GB, free: 77.47 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06672/2.071, allocations: 59.4 MB / 1.257 GB, free: 17.69 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.749e-05/2.071, allocations: 12 kB / 1.257 GB, free: 17.68 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005485/2.077, allocations: 1.498 MB / 1.258 GB, free: 16.18 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1972/2.274, allocations: 13.65 MB / 1.271 GB, free: 221.1 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001949/2.276, allocations: 203.2 kB / 1.272 GB, free: 221.1 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02238/2.299, allocations: 27.27 MB / 1.298 GB, free: 207 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/2.299, allocations: 15.69 kB / 1.298 GB, free: 207 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05274/2.351, allocations: 40.79 MB / 1.338 GB, free: 190.9 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005263/2.357, allocations: 3.176 MB / 1.341 GB, free: 189.2 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/2.358, allocations: 243 kB / 1.341 GB, free: 188.9 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00687/2.365, allocations: 1.069 MB / 1.342 GB, free: 188.2 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001423/2.366, allocations: 0.7343 MB / 1.343 GB, free: 187.8 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005884/2.367, allocations: 261.9 kB / 1.343 GB, free: 187.5 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.007167/2.374, allocations: 6.904 MB / 1.35 GB, free: 181.8 MB / 0.5764 GB Notification: Performance of sort global known variables: time 1.6e-07/2.374, allocations: 0 / 1.35 GB, free: 181.8 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.008791/2.383, allocations: 3.616 MB / 1.354 GB, free: 178.2 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.0009924/2.384, allocations: 484.1 kB / 1.354 GB, free: 177.7 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.02208/2.406, allocations: 23.02 MB / 1.377 GB, free: 156.4 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/2.406, allocations: 12.2 kB / 1.377 GB, free: 156.3 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.01292/2.419, allocations: 12.14 MB / 1.388 GB, free: 144.1 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02613/2.445, allocations: 2.085 MB / 1.39 GB, free: 142.1 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04676/2.492, allocations: 46.09 MB / 1.435 GB, free: 96.07 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007111/2.499, allocations: 8.598 MB / 1.444 GB, free: 87.44 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00413/2.503, allocations: 0.7844 MB / 1.445 GB, free: 86.66 MB / 0.5764 GB Notification: Performance of SimCode: time 4.91e-07/2.503, allocations: 0 / 1.445 GB, free: 86.66 MB / 0.5764 GB Notification: Performance of Templates: time 1.765/4.268, allocations: 1.239 GB / 2.684 GB, free: 161.3 MB / 0.5764 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/FullRobot/FullRobot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches