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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 103.4 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000937/0.0009372, allocations: 43.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2641, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.3827/0.6468, allocations: 164.7 MB / 0.551 GB, free: 15.5 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.09288/0.7397, allocations: 34.11 MB / 0.5843 GB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.05051/0.7903, allocations: 0.7479 MB / 0.585 GB, free: 10.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02033/0.8107, allocations: 8.185 MB / 0.593 GB, free: 3.863 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02727/0.8381, allocations: 5.01 MB / 0.5979 GB, free: 15.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01356/0.8517, allocations: 4.674 MB / 0.6025 GB, free: 11.13 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.04019/0.8919, allocations: 25.9 MB / 0.6278 GB, free: 1.895 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03752/0.9295, allocations: 19.38 MB / 0.6467 GB, free: 14.67 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0195/0.9491, allocations: 7.058 MB / 0.6536 GB, free: 7.734 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0177/0.9668, allocations: 9.654 MB / 0.663 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007328/0.9742, allocations: 1.258 MB / 0.6642 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008125/0.9823, allocations: 1.874 MB / 0.6661 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01025/0.9926, allocations: 6.296 MB / 0.6722 GB, free: 5.012 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02026/1.013, allocations: 9.419 MB / 0.6814 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.6105/1.623, allocations: 34.92 MB / 0.7155 GB, free: 56.98 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.624, allocations: 0 / 0.7155 GB, free: 56.98 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.783e-06/1.624, allocations: 0 / 0.7155 GB, free: 56.98 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001402/1.625, allocations: 0 / 0.7155 GB, free: 56.98 MB / 0.4949 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.06849/1.693, allocations: 19.76 MB / 0.7348 GB, free: 47.61 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.693, allocations: 12.62 kB / 0.7348 GB, free: 47.61 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0145/1.708, allocations: 2.647 MB / 0.7374 GB, free: 46.36 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02789/1.736, allocations: 11.61 MB / 0.7488 GB, free: 42.68 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001177/1.737, allocations: 1.224 MB / 0.75 GB, free: 42.54 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00754/1.745, allocations: 1.55 MB / 0.7515 GB, free: 42.49 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07776/1.822, allocations: 27.09 MB / 0.7779 GB, free: 25.99 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001465/1.824, allocations: 141.6 kB / 0.7781 GB, free: 25.88 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008023/1.832, allocations: 0.6296 MB / 0.7787 GB, free: 25.28 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006295/1.838, allocations: 3.112 MB / 0.7817 GB, free: 22.2 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06531/1.904, allocations: 23.34 MB / 0.8045 GB, free: 15.09 MB / 0.5105 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.212/2.116, allocations: 109.4 MB / 0.9113 GB, free: 0.5195 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.275/2.391, allocations: 14.66 MB / 0.9256 GB, free: 267.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01451/2.405, allocations: 10.07 MB / 0.9355 GB, free: 265.2 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07738/2.483, allocations: 35.95 MB / 0.9706 GB, free: 248.1 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0305/2.513, allocations: 10.57 MB / 0.9809 GB, free: 241.8 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=769): time 1.614e-05/2.513, allocations: 0 / 0.9809 GB, free: 241.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=939): time 0.3852/2.899, allocations: 127.4 MB / 1.105 GB, free: 118.9 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003302/2.899, allocations: 1.523 MB / 1.107 GB, free: 117 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02166/2.921, allocations: 10.48 MB / 1.117 GB, free: 106.6 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.003272/2.924, allocations: 225.7 kB / 1.117 GB, free: 106.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.008799/2.933, allocations: 8.322 MB / 1.125 GB, free: 98.1 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.007245/2.94, allocations: 3.249 MB / 1.129 GB, free: 94.88 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01519/2.955, allocations: 2.597 MB / 1.131 GB, free: 92.27 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.622e-05/2.955, allocations: 301.1 kB / 1.131 GB, free: 91.97 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01571/2.971, allocations: 9.24 MB / 1.14 GB, free: 82.72 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0178/2.989, allocations: 13.78 MB / 1.154 GB, free: 66.96 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03078/3.02, allocations: 23.18 MB / 1.176 GB, free: 41.88 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/3.02, allocations: 40 kB / 1.176 GB, free: 41.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.2631/3.283, allocations: 24.55 MB / 1.2 GB, free: 244.5 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.139e-05/3.283, allocations: 59.97 kB / 1.201 GB, free: 244.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/3.283, allocations: 130.1 kB / 1.201 GB, free: 244.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002192/3.286, allocations: 1.175 MB / 1.202 GB, free: 244.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01868/3.304, allocations: 3.738 MB / 1.205 GB, free: 244.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/3.321, allocations: 26.82 MB / 1.232 GB, free: 221.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01697/3.338, allocations: 1.227 MB / 1.233 GB, free: 221.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003938/3.342, allocations: 0.5911 MB / 1.233 GB, free: 221.4 MB / 0.6043 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.01477/3.356, allocations: 5.227 MB / 1.239 GB, free: 220.2 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004421/3.361, allocations: 1.139 MB / 1.24 GB, free: 220.2 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06307/3.424, allocations: 27.2 MB / 1.266 GB, free: 209.6 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.335e-05/3.424, allocations: 88.53 kB / 1.266 GB, free: 209.6 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-05/3.424, allocations: 3.906 kB / 1.266 GB, free: 209.6 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002545/3.424, allocations: 50.88 kB / 1.266 GB, free: 209.6 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1308/3.555, allocations: 59.29 MB / 1.324 GB, free: 167.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001429/3.555, allocations: 12 kB / 1.324 GB, free: 167.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007934/3.563, allocations: 1.479 MB / 1.326 GB, free: 166.2 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03794/3.601, allocations: 13.64 MB / 1.339 GB, free: 152.6 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003528/3.605, allocations: 207.9 kB / 1.339 GB, free: 152.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0326/3.637, allocations: 27.24 MB / 1.366 GB, free: 124.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/3.638, allocations: 25.94 kB / 1.366 GB, free: 124.4 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.088/4.726, allocations: 387.8 MB / 1.745 GB, free: 32.55 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009631/4.736, allocations: 3.173 MB / 1.748 GB, free: 29.86 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004644/4.74, allocations: 243 kB / 1.748 GB, free: 29.63 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0122/4.752, allocations: 0.9533 MB / 1.749 GB, free: 28.69 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004078/4.757, allocations: 0.7419 MB / 1.749 GB, free: 27.95 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001827/4.758, allocations: 255.9 kB / 1.75 GB, free: 27.7 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.01159/4.77, allocations: 6.908 MB / 1.756 GB, free: 20.85 MB / 0.6043 GB Notification: Performance of sort global known variables: time 2.5e-07/4.77, allocations: 0 / 1.756 GB, free: 20.85 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.2955/5.066, allocations: 5.423 MB / 1.762 GB, free: 218 MB / 0.6043 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.00586/5.071, allocations: 499.1 kB / 1.762 GB, free: 217.9 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0438/5.115, allocations: 22.93 MB / 1.785 GB, free: 215.4 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/5.115, allocations: 4.406 kB / 1.785 GB, free: 215.4 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.02377/5.139, allocations: 12.32 MB / 1.797 GB, free: 214.5 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02396/5.163, allocations: 2.088 MB / 1.799 GB, free: 214.4 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1136/5.277, allocations: 53.1 MB / 1.851 GB, free: 188.2 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02408/5.301, allocations: 9.029 MB / 1.859 GB, free: 181.5 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.01992/5.321, allocations: 3.459 MB / 1.863 GB, free: 179 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01086/5.332, allocations: 0.782 MB / 1.864 GB, free: 178.3 MB / 0.6043 GB Notification: Performance of SimCode: time 1.403e-06/5.332, allocations: 0 / 1.864 GB, free: 178.3 MB / 0.6043 GB Notification: Performance of Templates: time 0.7348/6.067, allocations: 318.6 MB / 2.175 GB, free: 107.6 MB / 0.6043 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/FullRobot/FullRobot.csv","../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