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.0009405/0.0009405, allocations: 90.89 kB / 16.31 MB, free: 5.555 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.001117/0.001117, allocations: 179.2 kB / 17.21 MB, free: 5.473 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.364/1.364, allocations: 223.3 MB / 241.2 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 4.781 kB / 300.8 MB, free: 6.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.102, allocations: 50.42 MB / 351.3 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.324/0.426, allocations: 149.3 MB / 0.4888 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3105/0.7365, allocations: 33.13 MB / 0.5212 GB, free: 268 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03062/0.7672, allocations: 0.7356 MB / 0.5219 GB, free: 268 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02225/0.7895, allocations: 7.032 MB / 0.5288 GB, free: 212 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05198/0.8415, allocations: 19.3 MB / 0.5476 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01389/0.8554, allocations: 3.236 MB / 0.5508 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02732/0.8828, allocations: 22.47 MB / 0.5727 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03236/0.9151, allocations: 18.37 MB / 0.5907 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/0.9278, allocations: 5.878 MB / 0.5964 GB, free: 9.625 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01429/0.9422, allocations: 7.896 MB / 0.6041 GB, free: 3.211 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005385/0.9476, allocations: 0.7031 MB / 0.6048 GB, free: 2.508 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008998/0.9566, allocations: 1.178 MB / 0.606 GB, free: 1.426 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009462/0.9661, allocations: 5.413 MB / 0.6112 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007675/0.9738, allocations: 3.574 MB / 0.6147 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03452/1.008, allocations: 29.61 MB / 0.6437 GB, free: 1.414 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.008, allocations: 0 / 0.6437 GB, free: 1.414 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/1.008, allocations: 4 kB / 0.6437 GB, free: 1.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001385/1.01, allocations: 0 / 0.6437 GB, free: 1.41 MB / 494.1 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.05053/1.06, allocations: 16.19 MB / 0.6595 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.06, allocations: 12.03 kB / 0.6595 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/1.072, allocations: 2.679 MB / 0.6621 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02266/1.095, allocations: 11.3 MB / 0.6731 GB, free: 8.586 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00143/1.097, allocations: 1.243 MB / 0.6743 GB, free: 7.816 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005564/1.102, allocations: 1.545 MB / 0.6759 GB, free: 6.781 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07582/1.178, allocations: 27.05 MB / 0.7023 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001319/1.179, allocations: 145.4 kB / 0.7024 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004818/1.184, allocations: 0.6275 MB / 0.703 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006018/1.19, allocations: 3.114 MB / 0.7061 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4/1.59, allocations: 23.31 MB / 0.7288 GB, free: 217.2 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.1577/1.748, allocations: 109.5 MB / 0.8358 GB, free: 137.2 MB / 0.5451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02995/1.778, allocations: 14.69 MB / 0.8501 GB, free: 122.4 MB / 0.5451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01264/1.791, allocations: 10.05 MB / 0.8599 GB, free: 112.3 MB / 0.5451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06147/1.852, allocations: 35.96 MB / 0.8951 GB, free: 76.6 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02677/1.879, allocations: 10.56 MB / 0.9054 GB, free: 65.82 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=769): time 1.575e-05/1.879, allocations: 0 / 0.9054 GB, free: 65.82 MB / 0.5451 GB Notification: Performance of matching and sorting (n=939): time 0.6905/2.57, allocations: 129.4 MB / 1.032 GB, free: 184.2 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005853/2.57, allocations: 1.519 MB / 1.033 GB, free: 182.5 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01584/2.586, allocations: 10.4 MB / 1.043 GB, free: 174.5 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.002732/2.589, allocations: 233.5 kB / 1.044 GB, free: 174.3 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.006127/2.595, allocations: 8.316 MB / 1.052 GB, free: 166.9 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.004273/2.599, allocations: 3.253 MB / 1.055 GB, free: 164 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/2.601, allocations: 268 kB / 1.055 GB, free: 163.7 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0005105/2.601, allocations: 0.831 MB / 1.056 GB, free: 163 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01248/2.614, allocations: 9.23 MB / 1.065 GB, free: 154.9 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01762/2.632, allocations: 13.75 MB / 1.078 GB, free: 140.5 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01574/2.647, allocations: 10.95 MB / 1.089 GB, free: 129.7 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.471e-05/2.647, allocations: 49.81 kB / 1.089 GB, free: 129.7 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.04026/2.688, allocations: 24.53 MB / 1.113 GB, free: 105.1 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-05/2.688, allocations: 60 kB / 1.113 GB, free: 105.1 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/2.688, allocations: 128 kB / 1.113 GB, free: 104.9 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/2.691, allocations: 1.197 MB / 1.114 GB, free: 103.7 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01696/2.707, allocations: 3.757 MB / 1.118 GB, free: 99.93 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/2.723, allocations: 26.96 MB / 1.144 GB, free: 70.58 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01426/2.737, allocations: 1.358 MB / 1.146 GB, free: 69.22 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003584/2.741, allocations: 0.5858 MB / 1.146 GB, free: 68.63 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 (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.01265/2.753, allocations: 5.223 MB / 1.151 GB, free: 63.38 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003295/2.756, allocations: 1.134 MB / 1.153 GB, free: 62.23 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0517/2.808, allocations: 27.21 MB / 1.179 GB, free: 34.95 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.62e-05/2.808, allocations: 92 kB / 1.179 GB, free: 34.86 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.703e-05/2.808, allocations: 4 kB / 1.179 GB, free: 34.86 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001989/2.809, allocations: 47.83 kB / 1.179 GB, free: 34.81 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3581/3.167, allocations: 59.34 MB / 1.237 GB, free: 184 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.381e-05/3.167, allocations: 12.62 kB / 1.237 GB, free: 184 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007255/3.174, allocations: 1.498 MB / 1.239 GB, free: 183.8 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03561/3.21, allocations: 13.64 MB / 1.252 GB, free: 180.8 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003415/3.213, allocations: 203.3 kB / 1.252 GB, free: 180.6 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02549/3.239, allocations: 27.23 MB / 1.279 GB, free: 160.5 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/3.239, allocations: 19.92 kB / 1.279 GB, free: 160.5 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06823/3.307, allocations: 40.69 MB / 1.319 GB, free: 121.5 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008431/3.315, allocations: 3.185 MB / 1.322 GB, free: 118.9 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00425/3.32, allocations: 244 kB / 1.322 GB, free: 118.7 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/3.33, allocations: 1.068 MB / 1.323 GB, free: 117.7 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003257/3.333, allocations: 0.784 MB / 1.324 GB, free: 116.9 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00203/3.335, allocations: 251.9 kB / 1.324 GB, free: 116.6 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.01572/3.351, allocations: 6.833 MB / 1.331 GB, free: 109.9 MB / 0.5452 GB Notification: Performance of sort global known variables: time 4.11e-07/3.351, allocations: 0.5469 kB / 1.331 GB, free: 109.9 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.02001/3.371, allocations: 3.609 MB / 1.334 GB, free: 106.2 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 (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.003226/3.374, allocations: 476.9 kB / 1.335 GB, free: 105.8 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0359/3.41, allocations: 22.94 MB / 1.357 GB, free: 82.7 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.787e-05/3.41, allocations: 4.438 kB / 1.357 GB, free: 82.7 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0209/3.431, allocations: 12.33 MB / 1.369 GB, free: 70.32 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01864/3.45, allocations: 2.124 MB / 1.371 GB, free: 68.25 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07784/3.528, allocations: 43.16 MB / 1.413 GB, free: 25.07 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01806/3.546, allocations: 8.622 MB / 1.422 GB, free: 16.41 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.2544/3.8, allocations: 3.25 MB / 1.425 GB, free: 181.5 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005965/3.806, allocations: 0.7248 MB / 1.426 GB, free: 181.5 MB / 0.5452 GB Notification: Performance of SimCode: time 1.202e-06/3.806, allocations: 1.438 kB / 1.426 GB, free: 181.5 MB / 0.5452 GB Notification: Performance of Templates: time 0.546/4.352, allocations: 206 MB / 1.627 GB, free: 180.8 MB / 0.5452 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