Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009084/0.0009084, allocations: 179.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007337/0.0007338, allocations: 95.89 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 11.98 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.223, allocations: 47.57 MB / 374.6 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.3/0.5231, allocations: 149.2 MB / 0.5115 GB, free: 1.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.06078/0.5839, allocations: 33.18 MB / 0.5439 GB, free: 14.28 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03039/0.6144, allocations: 0.7326 MB / 0.5446 GB, free: 14.15 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02383/0.6382, allocations: 7.035 MB / 0.5515 GB, free: 9.691 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05689/0.6952, allocations: 19.32 MB / 0.5704 GB, free: 15.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0159/0.7111, allocations: 3.241 MB / 0.5735 GB, free: 13.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.03241/0.7436, allocations: 22.55 MB / 0.5955 GB, free: 13.34 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03795/0.7816, allocations: 18.41 MB / 0.6135 GB, free: 15.46 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01328/0.7949, allocations: 5.891 MB / 0.6193 GB, free: 9.691 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01344/0.8084, allocations: 7.937 MB / 0.627 GB, free: 2.055 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00501/0.8134, allocations: 0.7031 MB / 0.6277 GB, free: 1.352 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007222/0.8207, allocations: 1.181 MB / 0.6289 GB, free: 188 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009645/0.8304, allocations: 5.443 MB / 0.6342 GB, free: 10.78 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008426/0.8389, allocations: 3.578 MB / 0.6377 GB, free: 7.184 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03987/0.8788, allocations: 29.66 MB / 0.6666 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.8789, allocations: 0 / 0.6666 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.539e-06/0.8789, allocations: 0 / 0.6666 GB, free: 10.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001274/0.8802, allocations: 0 / 0.6666 GB, free: 10.05 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4558 * Number of variables: 4558 Notification: Performance of Generate backend data structure: time 0.3358/1.216, allocations: 16.23 MB / 0.6825 GB, free: 187.6 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.216, allocations: 11.88 kB / 0.6825 GB, free: 187.6 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/1.227, allocations: 2.685 MB / 0.6851 GB, free: 186.3 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01936/1.247, allocations: 11.75 MB / 0.6966 GB, free: 178.4 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009218/1.248, allocations: 1.231 MB / 0.6978 GB, free: 177.8 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003777/1.252, allocations: 1.549 MB / 0.6993 GB, free: 177.3 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04873/1.3, allocations: 27.06 MB / 0.7257 GB, free: 150.9 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006203/1.301, allocations: 146.7 kB / 0.7259 GB, free: 150.8 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002095/1.303, allocations: 0.6347 MB / 0.7265 GB, free: 150.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00463/1.308, allocations: 3.107 MB / 0.7295 GB, free: 147.1 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0429/1.351, allocations: 23.32 MB / 0.7523 GB, free: 123.8 MB / 490.8 MB 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.1406/1.491, allocations: 109.6 MB / 0.8593 GB, free: 12.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3421/1.833, allocations: 14.69 MB / 0.8736 GB, free: 167.3 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01267/1.846, allocations: 10.06 MB / 0.8835 GB, free: 164.1 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05608/1.902, allocations: 35.98 MB / 0.9186 GB, free: 147 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0252/1.927, allocations: 10.56 MB / 0.9289 GB, free: 139.2 MB / 490.9 MB Notification: Performance of pre-optimization done (n=769): time 1.161e-05/1.927, allocations: 0 / 0.9289 GB, free: 139.2 MB / 490.9 MB Notification: Performance of matching and sorting (n=939): time 0.5723/2.5, allocations: 129.6 MB / 1.055 GB, free: 156.4 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005583/2.5, allocations: 1.523 MB / 1.057 GB, free: 154.6 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01769/2.518, allocations: 10.51 MB / 1.067 GB, free: 151 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.002643/2.521, allocations: 227 kB / 1.067 GB, free: 150.9 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.006207/2.527, allocations: 8.319 MB / 1.076 GB, free: 146.6 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.003984/2.531, allocations: 3.259 MB / 1.079 GB, free: 144.1 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/2.532, allocations: 268.5 kB / 1.079 GB, free: 143.9 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 0.000518/2.533, allocations: 0.8256 MB / 1.08 GB, free: 143.3 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01336/2.546, allocations: 9.227 MB / 1.089 GB, free: 139.6 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01654/2.563, allocations: 13.76 MB / 1.102 GB, free: 130.2 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/2.58, allocations: 10.96 MB / 1.113 GB, free: 123.5 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001215/2.581, allocations: 39.95 kB / 1.113 GB, free: 123.5 MB / 490.9 MB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.04399/2.625, allocations: 24.53 MB / 1.137 GB, free: 99.09 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 7.989e-05/2.625, allocations: 60.94 kB / 1.137 GB, free: 99.03 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001435/2.625, allocations: 132 kB / 1.137 GB, free: 98.9 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/2.627, allocations: 1.19 MB / 1.138 GB, free: 97.68 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01656/2.643, allocations: 3.759 MB / 1.142 GB, free: 93.92 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/2.659, allocations: 26.95 MB / 1.168 GB, free: 64.62 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01448/2.673, allocations: 1.356 MB / 1.17 GB, free: 63.27 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003018/2.676, allocations: 0.5858 MB / 1.17 GB, free: 62.68 MB / 490.9 MB 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,$whenCondition1,pathPlanning.pathToAxis6.moving[6],pathPlanning.terminateSimulation.condition,$PRE.axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startForward,$PRE.axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.locked,$PRE.axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.mode,$PRE.axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startForward,$PRE.axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.locked,$PRE.axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.mode,$PRE.axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startForward,$PRE.axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.locked,$PRE.axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.mode,$PRE.axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startForward,$PRE.axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.locked,$PRE.axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.mode,$PRE.axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startForward,$PRE.axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.locked,$PRE.axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.mode,$PRE.axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startForward,$PRE.axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.locked,$PRE.axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.mode,pathPlanning.path.noWphase,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 (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.01261/2.689, allocations: 5.239 MB / 1.175 GB, free: 57.41 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003061/2.692, allocations: 1.146 MB / 1.176 GB, free: 56.25 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04553/2.738, allocations: 27.21 MB / 1.203 GB, free: 28.97 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.02e-05/2.738, allocations: 92 kB / 1.203 GB, free: 28.88 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/2.738, allocations: 4 kB / 1.203 GB, free: 28.88 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000182/2.738, allocations: 43.83 kB / 1.203 GB, free: 28.84 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2851/3.023, allocations: 59.38 MB / 1.261 GB, free: 134.9 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.456e-05/3.023, allocations: 15.5 kB / 1.261 GB, free: 134.9 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006714/3.03, allocations: 1.489 MB / 1.263 GB, free: 134.8 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03487/3.065, allocations: 13.64 MB / 1.276 GB, free: 131.8 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002749/3.068, allocations: 204 kB / 1.276 GB, free: 131.6 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/3.093, allocations: 27.24 MB / 1.303 GB, free: 104.1 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/3.093, allocations: 25.97 kB / 1.303 GB, free: 104.1 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06337/3.156, allocations: 40.68 MB / 1.342 GB, free: 63.84 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007566/3.164, allocations: 3.199 MB / 1.346 GB, free: 61.21 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0035/3.167, allocations: 240 kB / 1.346 GB, free: 60.98 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01013/3.178, allocations: 1.067 MB / 1.347 GB, free: 59.94 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002766/3.18, allocations: 0.7932 MB / 1.348 GB, free: 59.15 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001512/3.182, allocations: 251.9 kB / 1.348 GB, free: 58.91 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.01124/3.193, allocations: 6.907 MB / 1.355 GB, free: 52.05 MB / 490.9 MB Notification: Performance of sort global known variables: time 6.91e-07/3.193, allocations: 0 / 1.355 GB, free: 52.05 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.01499/3.208, allocations: 3.62 MB / 1.358 GB, free: 48.43 MB / 490.9 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {9 189,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00251/3.211, allocations: 479.9 kB / 1.359 GB, free: 47.98 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.03309/3.244, allocations: 22.94 MB / 1.381 GB, free: 24.9 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/3.244, allocations: 4.438 kB / 1.381 GB, free: 24.9 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.01877/3.263, allocations: 12.11 MB / 1.393 GB, free: 12.73 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01428/3.277, allocations: 2.134 MB / 1.395 GB, free: 10.65 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2276/3.505, allocations: 44.3 MB / 1.438 GB, free: 132 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/3.515, allocations: 8.603 MB / 1.447 GB, free: 129.6 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005272/3.52, allocations: 0.7909 MB / 1.447 GB, free: 129.5 MB / 490.9 MB Notification: Performance of SimCode: time 9.32e-07/3.52, allocations: 0 / 1.447 GB, free: 129.5 MB / 490.9 MB Notification: Performance of Templates: time 2.588/6.108, allocations: 1.242 GB / 2.689 GB, free: 122.8 MB / 0.5419 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/fullRobot/fullRobot.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches