Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008368/0.0008367, allocations: 99.02 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009328/0.0009328, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.7 MB / 246.4 MB, free: 9.777 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002134/0.0002134, allocations: 8 kB / 307.1 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08973/0.08996, allocations: 51.53 MB / 358.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.2952/0.3852, allocations: 148.5 MB / 0.4953 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07/0.4553, allocations: 32.9 MB / 0.5274 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0287/0.484, allocations: 0.7362 MB / 0.5282 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2461/0.7302, allocations: 7.034 MB / 0.535 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05625/0.7865, allocations: 19.06 MB / 0.5536 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01214/0.7986, allocations: 3.262 MB / 0.5568 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02996/0.8286, allocations: 22.98 MB / 0.5793 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03553/0.8642, allocations: 18.43 MB / 0.5973 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/0.8761, allocations: 5.911 MB / 0.603 GB, free: 6.629 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01449/0.8907, allocations: 7.944 MB / 0.6108 GB, free: 192 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004228/0.8949, allocations: 0.7071 MB / 0.6115 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005994/0.9009, allocations: 1.171 MB / 0.6126 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008133/0.9091, allocations: 5.437 MB / 0.6179 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007886/0.917, allocations: 3.573 MB / 0.6214 GB, free: 8.176 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03291/0.9499, allocations: 29.77 MB / 0.6505 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.95, allocations: 4 kB / 0.6505 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.965e-06/0.95, allocations: 0 / 0.6505 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001182/0.9512, allocations: 0 / 0.6505 GB, free: 14.26 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4570 * Number of variables: 4570 Notification: Performance of Generate backend data structure: time 0.04046/0.9916, allocations: 16.3 MB / 0.6664 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.9917, allocations: 8.031 kB / 0.6664 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/1.005, allocations: 2.68 MB / 0.669 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02228/1.028, allocations: 11.13 MB / 0.6799 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001299/1.029, allocations: 1.238 MB / 0.6811 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005261/1.034, allocations: 1.555 MB / 0.6826 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06831/1.103, allocations: 26.99 MB / 0.709 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001116/1.104, allocations: 149 kB / 0.7091 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004153/1.108, allocations: 0.6379 MB / 0.7098 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005575/1.114, allocations: 3.107 MB / 0.7128 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.454/1.568, allocations: 23.11 MB / 0.7354 GB, free: 212 MB / 0.5451 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.1492/1.717, allocations: 109.5 MB / 0.8423 GB, free: 132.8 MB / 0.5451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02954/1.746, allocations: 14.66 MB / 0.8566 GB, free: 118.1 MB / 0.5451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01282/1.759, allocations: 9.95 MB / 0.8663 GB, free: 108.1 MB / 0.5451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05388/1.813, allocations: 35.94 MB / 0.9014 GB, free: 72.35 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02664/1.84, allocations: 10.46 MB / 0.9117 GB, free: 61.66 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=775): time 1.42e-05/1.84, allocations: 7.938 kB / 0.9117 GB, free: 61.65 MB / 0.5451 GB Notification: Performance of matching and sorting (n=955): time 0.7594/2.599, allocations: 139.7 MB / 1.048 GB, free: 170.2 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003261/2.6, allocations: 1.521 MB / 1.05 GB, free: 168.3 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/2.615, allocations: 10.49 MB / 1.06 GB, free: 158.5 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.003454/2.618, allocations: 233.7 kB / 1.06 GB, free: 158.3 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.007455/2.626, allocations: 8.34 MB / 1.068 GB, free: 150 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.005113/2.631, allocations: 3.306 MB / 1.071 GB, free: 146.7 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001975/2.633, allocations: 268 kB / 1.072 GB, free: 146.4 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0005606/2.633, allocations: 0.8366 MB / 1.072 GB, free: 145.6 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01349/2.647, allocations: 9.311 MB / 1.082 GB, free: 136.3 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01622/2.663, allocations: 13.85 MB / 1.095 GB, free: 120.6 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/2.68, allocations: 11.04 MB / 1.106 GB, free: 109.5 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-05/2.68, allocations: 39.94 kB / 1.106 GB, free: 109.5 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1717) (initialization): time 0.04607/2.726, allocations: 24.73 MB / 1.13 GB, free: 84.58 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/2.726, allocations: 63.98 kB / 1.13 GB, free: 84.52 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000156/2.726, allocations: 132 kB / 1.13 GB, free: 84.39 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/2.728, allocations: 1.408 MB / 1.132 GB, free: 82.94 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01612/2.744, allocations: 3.783 MB / 1.135 GB, free: 79.15 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/2.76, allocations: 27.13 MB / 1.162 GB, free: 49.62 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01337/2.774, allocations: 1.358 MB / 1.163 GB, free: 48.26 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002771/2.776, allocations: 0.5936 MB / 1.164 GB, free: 47.67 MB / 0.5452 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,$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 (1675): * Single equations (assignments): 1657 * 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.01099/2.787, allocations: 5.266 MB / 1.169 GB, free: 42.38 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003264/2.791, allocations: 1.146 MB / 1.17 GB, free: 41.21 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04974/2.84, allocations: 27.31 MB / 1.197 GB, free: 13.84 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-05/2.841, allocations: 92 kB / 1.197 GB, free: 13.75 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-05/2.841, allocations: 11.42 kB / 1.197 GB, free: 13.74 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001978/2.841, allocations: 43.83 kB / 1.197 GB, free: 13.7 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3608/3.202, allocations: 60.12 MB / 1.256 GB, free: 171.6 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001145/3.202, allocations: 18.7 kB / 1.256 GB, free: 171.6 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007318/3.209, allocations: 1.505 MB / 1.257 GB, free: 171.5 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03416/3.243, allocations: 13.12 MB / 1.27 GB, free: 163 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002903/3.246, allocations: 211.9 kB / 1.27 GB, free: 162.8 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03024/3.276, allocations: 26.78 MB / 1.296 GB, free: 135.3 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/3.276, allocations: 22.66 kB / 1.296 GB, free: 135.3 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06849/3.345, allocations: 39.75 MB / 1.335 GB, free: 95.92 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009063/3.354, allocations: 3.258 MB / 1.338 GB, free: 93.24 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005471/3.36, allocations: 247.9 kB / 1.338 GB, free: 93 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01055/3.37, allocations: 1.073 MB / 1.339 GB, free: 91.95 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003277/3.373, allocations: 0.7988 MB / 1.34 GB, free: 91.16 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00211/3.376, allocations: 259.9 kB / 1.34 GB, free: 90.9 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.01277/3.388, allocations: 6.871 MB / 1.347 GB, free: 84.09 MB / 0.5452 GB Notification: Performance of sort global known variables: time 5.71e-07/3.388, allocations: 0 / 1.347 GB, free: 84.09 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0186/3.407, allocations: 3.641 MB / 1.351 GB, free: 80.45 MB / 0.5452 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 (734): * Single equations (assignments): 724 * 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 192,1 7,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004122/3.411, allocations: 0.7085 MB / 1.351 GB, free: 79.89 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.03628/3.447, allocations: 23.2 MB / 1.374 GB, free: 56.56 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.755e-05/3.448, allocations: 4.438 kB / 1.374 GB, free: 56.56 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.02175/3.469, allocations: 12.48 MB / 1.386 GB, free: 44.01 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01874/3.488, allocations: 2.156 MB / 1.388 GB, free: 41.91 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3048/3.793, allocations: 43.72 MB / 1.431 GB, free: 176.5 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01398/3.807, allocations: 8.672 MB / 1.44 GB, free: 175.5 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.01092/3.818, allocations: 3.355 MB / 1.443 GB, free: 175.4 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00448/3.822, allocations: 0.7326 MB / 1.444 GB, free: 175.4 MB / 0.5452 GB Notification: Performance of SimCode: time 1.062e-06/3.822, allocations: 0 / 1.444 GB, free: 175.4 MB / 0.5452 GB Notification: Performance of Templates: time 0.4917/4.314, allocations: 207.3 MB / 1.646 GB, free: 150.1 MB / 0.5452 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches