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.001067/0.001067, allocations: 108.5 kB / 16.51 MB, free: 6.707 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.001018/0.001018, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009384/0.0009384, allocations: 51.11 kB / 300 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.0934, allocations: 49.44 MB / 349.4 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.3053/0.3987, allocations: 164.7 MB / 0.5021 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2849/0.6837, allocations: 34.11 MB / 0.5354 GB, free: 1.508 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03404/0.7178, allocations: 0.7433 MB / 0.5361 GB, free: 1.508 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01695/0.7348, allocations: 8.176 MB / 0.5441 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01456/0.7494, allocations: 5.016 MB / 0.549 GB, free: 1.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01005/0.7595, allocations: 4.67 MB / 0.5536 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02927/0.7888, allocations: 25.76 MB / 0.5787 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0237/0.8125, allocations: 19.39 MB / 0.5977 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/0.8274, allocations: 7.019 MB / 0.6045 GB, free: 14.58 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0144/0.8419, allocations: 9.646 MB / 0.6139 GB, free: 5.422 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003654/0.8456, allocations: 1.258 MB / 0.6152 GB, free: 4.164 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005407/0.851, allocations: 1.891 MB / 0.617 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005837/0.8568, allocations: 6.298 MB / 0.6232 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01175/0.8686, allocations: 9.41 MB / 0.6323 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03056/0.8992, allocations: 34.93 MB / 0.6665 GB, free: 348 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8992, allocations: 4 kB / 0.6665 GB, free: 344 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8992, allocations: 0 / 0.6665 GB, free: 344 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0007953/0.9, allocations: 0 / 0.6665 GB, free: 344 kB / 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.05377/0.9538, allocations: 19.76 MB / 0.6858 GB, free: 12.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.9539, allocations: 16.02 kB / 0.6858 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02049/0.9744, allocations: 2.641 MB / 0.6883 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03676/1.011, allocations: 11.61 MB / 0.6997 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001605/1.013, allocations: 1.224 MB / 0.7009 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006521/1.019, allocations: 1.549 MB / 0.7024 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06569/1.085, allocations: 27.09 MB / 0.7288 GB, free: 356 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009751/1.086, allocations: 141.4 kB / 0.729 GB, free: 240 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004701/1.091, allocations: 0.6296 MB / 0.7296 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005863/1.097, allocations: 3.109 MB / 0.7326 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3984/1.495, allocations: 23.34 MB / 0.7554 GB, free: 265.4 MB / 0.5919 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.2022/1.697, allocations: 109.4 MB / 0.8622 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05041/1.748, allocations: 14.65 MB / 0.8766 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0135/1.761, allocations: 10.07 MB / 0.8864 GB, free: 153 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0551/1.816, allocations: 35.96 MB / 0.9215 GB, free: 117.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02686/1.843, allocations: 10.57 MB / 0.9318 GB, free: 106.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=769): time 1.251e-05/1.843, allocations: 0 / 0.9318 GB, free: 106.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=939): time 0.6666/2.51, allocations: 127.3 MB / 1.056 GB, free: 246.4 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003037/2.51, allocations: 1.527 MB / 1.058 GB, free: 244.6 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01405/2.524, allocations: 10.48 MB / 1.068 GB, free: 240.9 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.002309/2.527, allocations: 228.7 kB / 1.068 GB, free: 240.8 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.005431/2.532, allocations: 8.317 MB / 1.076 GB, free: 234.7 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.003945/2.536, allocations: 3.258 MB / 1.079 GB, free: 232.2 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004831/2.541, allocations: 2.597 MB / 1.082 GB, free: 231.1 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 3.825e-05/2.541, allocations: 301.1 kB / 1.082 GB, free: 230.8 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01242/2.553, allocations: 9.243 MB / 1.091 GB, free: 227 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01614/2.57, allocations: 13.78 MB / 1.105 GB, free: 217.6 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02795/2.598, allocations: 23.19 MB / 1.127 GB, free: 200.5 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/2.598, allocations: 36 kB / 1.127 GB, free: 200.5 MB / 0.592 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.04634/2.644, allocations: 24.56 MB / 1.151 GB, free: 177.5 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/2.644, allocations: 60 kB / 1.151 GB, free: 177.5 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001679/2.645, allocations: 132 kB / 1.152 GB, free: 177.3 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/2.646, allocations: 1.176 MB / 1.153 GB, free: 176.1 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01595/2.662, allocations: 3.744 MB / 1.156 GB, free: 172.4 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/2.679, allocations: 26.81 MB / 1.183 GB, free: 143.2 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01661/2.695, allocations: 1.233 MB / 1.184 GB, free: 141.9 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003364/2.699, allocations: 0.5897 MB / 1.184 GB, free: 141.3 MB / 0.592 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.01324/2.712, allocations: 5.219 MB / 1.189 GB, free: 136.1 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004758/2.717, allocations: 1.138 MB / 1.191 GB, free: 134.9 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0523/2.769, allocations: 27.2 MB / 1.217 GB, free: 107.7 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.442e-05/2.769, allocations: 92 kB / 1.217 GB, free: 107.6 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.572e-05/2.769, allocations: 4 kB / 1.217 GB, free: 107.6 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001365/2.769, allocations: 47.83 kB / 1.217 GB, free: 107.5 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09562/2.865, allocations: 59.29 MB / 1.275 GB, free: 47.87 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001183/2.865, allocations: 16 kB / 1.275 GB, free: 47.85 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00719/2.872, allocations: 1.471 MB / 1.277 GB, free: 46.38 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03553/2.908, allocations: 13.64 MB / 1.29 GB, free: 32.69 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002431/2.91, allocations: 203.9 kB / 1.29 GB, free: 32.49 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0261/2.936, allocations: 27.25 MB / 1.317 GB, free: 4.344 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/2.937, allocations: 20.03 kB / 1.317 GB, free: 4.324 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2778/3.214, allocations: 40.68 MB / 1.356 GB, free: 224.6 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008508/3.223, allocations: 3.17 MB / 1.36 GB, free: 223.3 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005304/3.228, allocations: 239.1 kB / 1.36 GB, free: 223.2 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01045/3.239, allocations: 0.9467 MB / 1.361 GB, free: 223 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003996/3.243, allocations: 0.7348 MB / 1.361 GB, free: 222.9 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001972/3.245, allocations: 259.7 kB / 1.362 GB, free: 222.8 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.01246/3.257, allocations: 6.909 MB / 1.368 GB, free: 220.4 MB / 0.592 GB Notification: Performance of sort global known variables: time 5.51e-07/3.257, allocations: 0 / 1.368 GB, free: 220.4 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.01731/3.274, allocations: 3.621 MB / 1.372 GB, free: 220.1 MB / 0.592 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.002693/3.277, allocations: 470.1 kB / 1.372 GB, free: 219.8 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0346/3.312, allocations: 22.93 MB / 1.395 GB, free: 204.8 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/3.312, allocations: 4.438 kB / 1.395 GB, free: 204.8 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.02043/3.332, allocations: 12.3 MB / 1.407 GB, free: 193.6 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01856/3.351, allocations: 2.106 MB / 1.409 GB, free: 191.9 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07533/3.426, allocations: 44.45 MB / 1.452 GB, free: 149.9 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0133/3.44, allocations: 8.63 MB / 1.461 GB, free: 141.3 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.01329/3.453, allocations: 3.254 MB / 1.464 GB, free: 138 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005559/3.459, allocations: 0.7228 MB / 1.465 GB, free: 137.3 MB / 0.592 GB Notification: Performance of SimCode: time 1.122e-06/3.459, allocations: 0 / 1.465 GB, free: 137.3 MB / 0.592 GB Notification: Performance of Templates: time 0.4721/3.931, allocations: 214.9 MB / 1.674 GB, free: 161 MB / 0.592 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/FullRobot/FullRobot.csv","/var/lib/jenkins/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