Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.6 MB / 244.4 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007008/0.0007008, allocations: 107.4 kB / 296.4 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002035/0.0002037, allocations: 7.938 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1957, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.3009/0.4966, allocations: 149.4 MB / 0.5439 GB, free: 1.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.06261/0.5593, allocations: 33.33 MB / 0.5764 GB, free: 10.54 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02649/0.5858, allocations: 0.7314 MB / 0.5771 GB, free: 10.41 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02305/0.6089, allocations: 7.05 MB / 0.584 GB, free: 4.195 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05222/0.6612, allocations: 19.32 MB / 0.6029 GB, free: 3.141 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.6752, allocations: 3.246 MB / 0.6061 GB, free: 20 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.03002/0.7052, allocations: 22.95 MB / 0.6285 GB, free: 9.27 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03215/0.7374, allocations: 18.42 MB / 0.6465 GB, free: 6.707 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/0.7501, allocations: 5.903 MB / 0.6522 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01337/0.7635, allocations: 7.928 MB / 0.66 GB, free: 8.824 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0045/0.7681, allocations: 0.707 MB / 0.6607 GB, free: 8.117 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00655/0.7746, allocations: 1.171 MB / 0.6618 GB, free: 6.945 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007636/0.7823, allocations: 5.441 MB / 0.6671 GB, free: 1.488 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006275/0.7886, allocations: 3.586 MB / 0.6706 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4498/1.239, allocations: 29.75 MB / 0.6997 GB, free: 37.55 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.239, allocations: 0 / 0.6997 GB, free: 37.55 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.334e-06/1.239, allocations: 0 / 0.6997 GB, free: 37.55 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.001186/1.24, allocations: 0 / 0.6997 GB, free: 37.55 MB / 490.8 MB 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.03855/1.278, allocations: 16.32 MB / 0.7156 GB, free: 31.3 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.278, allocations: 9.688 kB / 0.7156 GB, free: 31.3 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/1.291, allocations: 2.686 MB / 0.7182 GB, free: 30.05 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02049/1.312, allocations: 11.11 MB / 0.7291 GB, free: 26.69 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001046/1.313, allocations: 1.246 MB / 0.7303 GB, free: 26.55 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005291/1.318, allocations: 1.547 MB / 0.7318 GB, free: 26.5 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05264/1.371, allocations: 26.96 MB / 0.7581 GB, free: 19.17 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006251/1.371, allocations: 145.5 kB / 0.7583 GB, free: 19.12 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002407/1.374, allocations: 0.6384 MB / 0.7589 GB, free: 19.12 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004817/1.379, allocations: 3.105 MB / 0.7619 GB, free: 18.49 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04746/1.426, allocations: 23.07 MB / 0.7845 GB, free: 4.316 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.1724/1.599, allocations: 109.4 MB / 0.8914 GB, free: 9.004 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2453/1.844, allocations: 14.64 MB / 0.9056 GB, free: 252.2 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01495/1.859, allocations: 9.931 MB / 0.9153 GB, free: 249.9 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06434/1.923, allocations: 35.91 MB / 0.9504 GB, free: 232.7 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02717/1.951, allocations: 10.44 MB / 0.9606 GB, free: 228.8 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=775): time 1.575e-05/1.951, allocations: 2.812 kB / 0.9606 GB, free: 228.8 MB / 0.5887 GB Notification: Performance of matching and sorting (n=955): time 0.3415/2.292, allocations: 139.6 MB / 1.097 GB, free: 96.02 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000391/2.293, allocations: 1.519 MB / 1.098 GB, free: 94.15 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/2.305, allocations: 10.5 MB / 1.109 GB, free: 83.72 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.002702/2.308, allocations: 229.7 kB / 1.109 GB, free: 83.49 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.005194/2.313, allocations: 8.334 MB / 1.117 GB, free: 75.18 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.003715/2.317, allocations: 3.306 MB / 1.12 GB, free: 71.9 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/2.318, allocations: 272 kB / 1.121 GB, free: 71.64 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0004154/2.318, allocations: 0.8405 MB / 1.121 GB, free: 70.79 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01138/2.33, allocations: 9.283 MB / 1.13 GB, free: 61.5 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01333/2.343, allocations: 13.83 MB / 1.144 GB, free: 45.68 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/2.358, allocations: 11.02 MB / 1.155 GB, free: 34.62 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.767e-05/2.358, allocations: 40 kB / 1.155 GB, free: 34.58 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1717) (initialization): time 0.2323/2.59, allocations: 24.66 MB / 1.179 GB, free: 234 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/2.59, allocations: 58.56 kB / 1.179 GB, free: 234 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/2.59, allocations: 132.1 kB / 1.179 GB, free: 234 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/2.592, allocations: 1.192 MB / 1.18 GB, free: 233.5 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01603/2.608, allocations: 3.783 MB / 1.184 GB, free: 233.2 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/2.623, allocations: 26.96 MB / 1.21 GB, free: 207.6 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01378/2.637, allocations: 1.363 MB / 1.211 GB, free: 207.4 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002558/2.64, allocations: 0.5913 MB / 1.212 GB, free: 207.3 MB / 0.5887 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.01069/2.651, allocations: 5.267 MB / 1.217 GB, free: 204.6 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002518/2.653, allocations: 1.151 MB / 1.218 GB, free: 204.6 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03757/2.691, allocations: 25.03 MB / 1.243 GB, free: 194 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-05/2.691, allocations: 91.69 kB / 1.243 GB, free: 194 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.95e-05/2.691, allocations: 8.312 kB / 1.243 GB, free: 194 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001859/2.691, allocations: 51.84 kB / 1.243 GB, free: 194 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08568/2.777, allocations: 59.43 MB / 1.301 GB, free: 144 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.425e-05/2.777, allocations: 12 kB / 1.301 GB, free: 144 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006785/2.784, allocations: 1.509 MB / 1.302 GB, free: 142.5 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03239/2.816, allocations: 12.92 MB / 1.315 GB, free: 129.6 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002472/2.819, allocations: 203.9 kB / 1.315 GB, free: 129.4 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02249/2.841, allocations: 26.71 MB / 1.341 GB, free: 101.9 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/2.841, allocations: 31.86 kB / 1.341 GB, free: 101.9 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05637/2.897, allocations: 39.15 MB / 1.38 GB, free: 63.18 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007741/2.905, allocations: 3.25 MB / 1.383 GB, free: 59.94 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003202/2.908, allocations: 240 kB / 1.383 GB, free: 59.71 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009229/2.918, allocations: 1.085 MB / 1.384 GB, free: 58.64 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002323/2.92, allocations: 0.7983 MB / 1.385 GB, free: 57.84 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009467/2.921, allocations: 255.9 kB / 1.385 GB, free: 57.59 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.01005/2.931, allocations: 6.868 MB / 1.392 GB, free: 50.78 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5.41e-07/2.931, allocations: 0 / 1.392 GB, free: 50.78 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01717/2.948, allocations: 3.645 MB / 1.395 GB, free: 47.13 MB / 0.5887 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,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward,axis5.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.002859/2.951, allocations: 0.7028 MB / 1.396 GB, free: 46.55 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.03062/2.982, allocations: 23.15 MB / 1.419 GB, free: 23.19 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/2.982, allocations: 4.438 kB / 1.419 GB, free: 23.19 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.01958/3.001, allocations: 12.26 MB / 1.431 GB, free: 10.84 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01768/3.019, allocations: 2.164 MB / 1.433 GB, free: 8.691 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2667/3.286, allocations: 44.76 MB / 1.476 GB, free: 217.9 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01008/3.296, allocations: 8.639 MB / 1.485 GB, free: 216.7 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005409/3.302, allocations: 0.8056 MB / 1.486 GB, free: 216.7 MB / 0.5887 GB Notification: Performance of SimCode: time 7.21e-07/3.302, allocations: 0 / 1.486 GB, free: 216.7 MB / 0.5887 GB Notification: Performance of Templates: time 1.962/5.264, allocations: 1.248 GB / 2.733 GB, free: 127.3 MB / 0.5887 GB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches