Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001727/0.001727, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002108/0.002108, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_FullRobot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_FullRobot",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 72.75 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2415, allocations: 53.36 MB / 432 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot): time 0.06543/0.307, allocations: 60.81 MB / 492.8 MB, free: 9.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03447/0.3414, allocations: 16.19 MB / 0.497 GB, free: 9.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01258/0.354, allocations: 441.6 kB / 0.4975 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01981/0.3738, allocations: 8.643 MB / 0.5059 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01749/0.3913, allocations: 5.709 MB / 0.5115 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01242/0.4037, allocations: 5.205 MB / 0.5165 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.2786/0.6823, allocations: 23.19 MB / 0.5392 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03111/0.7134, allocations: 20.32 MB / 0.559 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0149/0.7283, allocations: 8.634 MB / 0.5675 GB, free: 9.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01533/0.7436, allocations: 10.41 MB / 0.5776 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00866/0.7523, allocations: 2.51 MB / 0.5801 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/0.7627, allocations: 3.114 MB / 0.5831 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01134/0.7741, allocations: 7.736 MB / 0.5907 GB, free: 1.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01938/0.7934, allocations: 10.81 MB / 0.6012 GB, free: 8.469 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05028/0.8437, allocations: 37.12 MB / 0.6375 GB, free: 4.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.8437, allocations: 0 / 0.6375 GB, free: 4.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8437, allocations: 0 / 0.6375 GB, free: 4.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001121/0.8449, allocations: 0 / 0.6375 GB, free: 4.094 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: 4570 * Number of variables: 4570 Notification: Performance of Generate backend data structure: time 0.05583/0.9007, allocations: 20.4 MB / 0.6574 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.9007, allocations: 8.031 kB / 0.6574 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008634/0.9094, allocations: 2.233 MB / 0.6596 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01555/0.9249, allocations: 2.849 MB / 0.6624 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03216/0.9571, allocations: 13.63 MB / 0.6757 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002079/0.9592, allocations: 1.439 MB / 0.6771 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007027/0.9662, allocations: 1.55 MB / 0.6786 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07104/1.037, allocations: 27.03 MB / 0.705 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00113/1.038, allocations: 145.1 kB / 0.7051 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005091/1.043, allocations: 0.636 MB / 0.7058 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006369/1.05, allocations: 3.107 MB / 0.7088 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05826/1.108, allocations: 23.15 MB / 0.7314 GB, free: 4.16 MB / 0.5762 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.5939/1.702, allocations: 108.4 MB / 0.8372 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0293/1.731, allocations: 14.09 MB / 0.851 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01148/1.743, allocations: 9.435 MB / 0.8602 GB, free: 121.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05285/1.796, allocations: 35.76 MB / 0.8951 GB, free: 86.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02552/1.821, allocations: 10.47 MB / 0.9054 GB, free: 75.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=775): time 1.437e-05/1.821, allocations: 4 kB / 0.9054 GB, free: 75.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=955): time 0.8029/2.624, allocations: 137 MB / 1.039 GB, free: 176.9 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000398/2.624, allocations: 1.525 MB / 1.041 GB, free: 175.2 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01684/2.641, allocations: 10.65 MB / 1.051 GB, free: 166.5 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.002801/2.644, allocations: 241.4 kB / 1.051 GB, free: 166.2 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.00684/2.651, allocations: 8.582 MB / 1.06 GB, free: 158.7 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.004725/2.656, allocations: 3.47 MB / 1.063 GB, free: 155.6 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00747/2.663, allocations: 2.598 MB / 1.066 GB, free: 152.9 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 4.003e-05/2.663, allocations: 305.1 kB / 1.066 GB, free: 152.6 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0136/2.677, allocations: 9.24 MB / 1.075 GB, free: 143.4 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01707/2.694, allocations: 13.77 MB / 1.088 GB, free: 127.8 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03004/2.724, allocations: 23.24 MB / 1.111 GB, free: 102.8 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.887e-05/2.724, allocations: 40 kB / 1.111 GB, free: 102.8 MB / 0.592 GB Notification: Performance of matching and sorting (n=1685) (initialization): time 0.04627/2.77, allocations: 24.59 MB / 1.135 GB, free: 78.03 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 8.969e-05/2.77, allocations: 63.94 kB / 1.135 GB, free: 77.96 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/2.77, allocations: 132 kB / 1.135 GB, free: 77.84 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/2.773, allocations: 1.391 MB / 1.137 GB, free: 76.4 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01659/2.789, allocations: 3.715 MB / 1.14 GB, free: 72.68 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/2.806, allocations: 27.38 MB / 1.167 GB, free: 43.26 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01465/2.82, allocations: 1.228 MB / 1.168 GB, free: 42.03 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003521/2.824, allocations: 0.5858 MB / 1.169 GB, free: 41.45 MB / 0.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 154 (axis6.gear.bearingFriction.free,axis5.gear.bearingFriction.free,axis4.gear.bearingFriction.free,axis3.gear.bearingFriction.free,axis2.gear.bearingFriction.free,axis1.gear.bearingFriction.free,pathPlanning.path.noWphase,axis6.gear.bearingFriction.mode,$PRE.axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.locked,axis6.gear.bearingFriction.startBackward,$PRE.axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.startForward,$PRE.axis6.gear.bearingFriction.startForward,axis5.gear.bearingFriction.mode,$PRE.axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.locked,axis5.gear.bearingFriction.startBackward,$PRE.axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.startForward,$PRE.axis5.gear.bearingFriction.startForward,axis4.gear.bearingFriction.mode,$PRE.axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.locked,axis4.gear.bearingFriction.startBackward,$PRE.axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.startForward,$PRE.axis4.gear.bearingFriction.startForward,axis3.gear.bearingFriction.mode,$PRE.axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.locked,axis3.gear.bearingFriction.startBackward,$PRE.axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startForward,$PRE.axis3.gear.bearingFriction.startForward,axis2.gear.bearingFriction.mode,$PRE.axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.locked,axis2.gear.bearingFriction.startBackward,$PRE.axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startForward,$PRE.axis2.gear.bearingFriction.startForward,axis1.gear.bearingFriction.mode,$PRE.axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.locked,axis1.gear.bearingFriction.startBackward,$PRE.axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startForward,$PRE.axis1.gear.bearingFriction.startForward,pathPlanning.terminateSimulation.condition,pathPlanning.pathToAxis6.moving[6],$whenCondition1,mechanics.load.color[3],mechanics.load.color[2],mechanics.load.color[1],mechanics.load.body.sphereColor[3],mechanics.load.body.sphereColor[2],mechanics.load.body.sphereColor[1],mechanics.load.frameTranslation.color[3],mechanics.load.frameTranslation.color[2],mechanics.load.frameTranslation.color[1],mechanics.b6.color[3],mechanics.b6.color[2],mechanics.b6.color[1],mechanics.b6.body.sphereColor[3],mechanics.b6.body.sphereColor[2],mechanics.b6.body.sphereColor[1],mechanics.b6.frameTranslation.color[3],mechanics.b6.frameTranslation.color[2],mechanics.b6.frameTranslation.color[1],mechanics.b5.color[3],mechanics.b5.color[2],mechanics.b5.color[1],mechanics.b5.body.sphereColor[3],mechanics.b5.body.sphereColor[2],mechanics.b5.body.sphereColor[1],mechanics.b5.frameTranslation.color[3],mechanics.b5.frameTranslation.color[2],mechanics.b5.frameTranslation.color[1],mechanics.b4.color[3],mechanics.b4.color[2],mechanics.b4.color[1],mechanics.b4.body.sphereColor[3],mechanics.b4.body.sphereColor[2],mechanics.b4.body.sphereColor[1],mechanics.b4.frameTranslation.color[3],mechanics.b4.frameTranslation.color[2],mechanics.b4.frameTranslation.color[1],mechanics.b3.color[3],mechanics.b3.color[2],mechanics.b3.color[1],mechanics.b3.body.sphereColor[3],mechanics.b3.body.sphereColor[2],mechanics.b3.body.sphereColor[1],mechanics.b3.frameTranslation.color[3],mechanics.b3.frameTranslation.color[2],mechanics.b3.frameTranslation.color[1],mechanics.b2.color[3],mechanics.b2.color[2],mechanics.b2.color[1],mechanics.b2.body.sphereColor[3],mechanics.b2.body.sphereColor[2],mechanics.b2.body.sphereColor[1],mechanics.b2.frameTranslation.color[3],mechanics.b2.frameTranslation.color[2],mechanics.b2.frameTranslation.color[1],mechanics.b1.color[3],mechanics.b1.color[2],mechanics.b1.color[1],mechanics.b1.body.sphereColor[3],mechanics.b1.body.sphereColor[2],mechanics.b1.body.sphereColor[1],mechanics.b1.frameTranslation.color[3],mechanics.b1.frameTranslation.color[2],mechanics.b1.frameTranslation.color[1],mechanics.b0.color[3],mechanics.b0.color[2],mechanics.b0.color[1],mechanics.b0.body.sphereColor[3],mechanics.b0.body.sphereColor[2],mechanics.b0.body.sphereColor[1],mechanics.b0.frameTranslation.color[3],mechanics.b0.frameTranslation.color[2],mechanics.b0.frameTranslation.color[1],mechanics.r6.cylinderColor[3],mechanics.r6.cylinderColor[2],mechanics.r6.cylinderColor[1],mechanics.r5.cylinderColor[3],mechanics.r5.cylinderColor[2],mechanics.r5.cylinderColor[1],mechanics.r4.cylinderColor[3],mechanics.r4.cylinderColor[2],mechanics.r4.cylinderColor[1],mechanics.r3.cylinderColor[3],mechanics.r3.cylinderColor[2],mechanics.r3.cylinderColor[1],mechanics.r2.cylinderColor[3],mechanics.r2.cylinderColor[2],mechanics.r2.cylinderColor[1],mechanics.r1.cylinderColor[3],mechanics.r1.cylinderColor[2],mechanics.r1.cylinderColor[1],mechanics.world.groundColor[3],mechanics.world.groundColor[2],mechanics.world.groundColor[1],mechanics.world.gravitySphereColor[3],mechanics.world.gravitySphereColor[2],mechanics.world.gravitySphereColor[1],mechanics.world.gravityArrowColor[3],mechanics.world.gravityArrowColor[2],mechanics.world.gravityArrowColor[1],mechanics.world.axisColor_x[3],mechanics.world.axisColor_x[2],mechanics.world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1643): * Single equations (assignments): 1625 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.01144/2.835, allocations: 5.258 MB / 1.174 GB, free: 36.16 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003232/2.838, allocations: 1.211 MB / 1.175 GB, free: 34.94 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.314/3.152, allocations: 27.12 MB / 1.202 GB, free: 183.3 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001934/3.153, allocations: 92.28 kB / 1.202 GB, free: 183.3 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.756e-05/3.153, allocations: 9.234 kB / 1.202 GB, free: 183.3 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003261/3.153, allocations: 46.94 kB / 1.202 GB, free: 183.3 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09561/3.249, allocations: 59.06 MB / 1.259 GB, free: 159.4 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.393e-05/3.249, allocations: 11.75 kB / 1.259 GB, free: 159.4 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007109/3.256, allocations: 1.496 MB / 1.261 GB, free: 159 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03406/3.29, allocations: 13.13 MB / 1.274 GB, free: 149.6 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0025/3.292, allocations: 207.9 kB / 1.274 GB, free: 149.4 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02389/3.316, allocations: 26.81 MB / 1.3 GB, free: 122 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/3.316, allocations: 20.03 kB / 1.3 GB, free: 121.9 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06254/3.379, allocations: 39.63 MB / 1.339 GB, free: 82.77 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009193/3.388, allocations: 3.22 MB / 1.342 GB, free: 80.2 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005159/3.393, allocations: 254.8 kB / 1.342 GB, free: 79.96 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01097/3.404, allocations: 0.952 MB / 1.343 GB, free: 79.02 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003205/3.407, allocations: 0.7825 MB / 1.344 GB, free: 78.24 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001266/3.409, allocations: 263.9 kB / 1.344 GB, free: 77.98 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.01191/3.42, allocations: 6.987 MB / 1.351 GB, free: 71.05 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.1e-07/3.42, allocations: 0 / 1.351 GB, free: 71.05 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.01642/3.437, allocations: 3.615 MB / 1.355 GB, free: 67.44 MB / 0.592 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 36 (axis1.gear.spring.phi_rel,axis1.gear.spring.w_rel,axis1.motor.La.i,axis1.motor.C.v,axis1.motor.Jmotor.w,axis1.controller.PI.x,axis1.initializeFlange.phi_flange,axis2.gear.spring.phi_rel,axis2.gear.spring.w_rel,axis2.motor.La.i,axis2.motor.C.v,axis2.motor.Jmotor.w,axis2.controller.PI.x,axis2.initializeFlange.phi_flange,axis3.gear.spring.phi_rel,axis3.gear.spring.w_rel,axis3.motor.La.i,axis3.motor.C.v,axis3.motor.Jmotor.w,axis3.controller.PI.x,axis3.initializeFlange.phi_flange,axis4.motor.La.i,axis4.motor.C.v,axis4.motor.Jmotor.w,axis4.controller.PI.x,axis4.initializeFlange.phi_flange,axis5.motor.La.i,axis5.motor.C.v,axis5.motor.Jmotor.w,axis5.controller.PI.x,axis5.initializeFlange.phi_flange,axis6.motor.La.i,axis6.motor.C.v,axis6.motor.Jmotor.w,axis6.controller.PI.x,axis6.initializeFlange.phi_flange) * Number of discrete variables: 27 (pathPlanning.terminateSimulation.condition,$whenCondition1,pathPlanning.pathToAxis6.moving[6],axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.locked,axis1.gear.bearingFriction.mode,axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.locked,axis2.gear.bearingFriction.mode,axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.locked,axis3.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.locked,axis4.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.locked,axis5.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.locked,axis6.gear.bearingFriction.mode) * Number of discrete states: 18 (axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startForward,axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startForward,axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startForward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (734): * Single equations (assignments): 724 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(9,192), (1,7), (1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.07031/3.507, allocations: 40.79 MB / 1.394 GB, free: 27.06 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.03216/3.539, allocations: 22.09 MB / 1.416 GB, free: 4.801 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/3.539, allocations: 4.438 kB / 1.416 GB, free: 4.797 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.248/3.787, allocations: 11.64 MB / 1.427 GB, free: 206.2 MB / 0.6077 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01759/3.805, allocations: 2.274 MB / 1.43 GB, free: 206 MB / 0.6077 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2688/4.074, allocations: 149.2 MB / 1.575 GB, free: 83.43 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01228/4.086, allocations: 8.666 MB / 1.584 GB, free: 74.73 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.01123/4.097, allocations: 3.348 MB / 1.587 GB, free: 71.37 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01287/4.11, allocations: 7.611 MB / 1.594 GB, free: 63.75 MB / 0.6077 GB Notification: Performance of SimCode: time 1.693e-06/4.11, allocations: 0 / 1.594 GB, free: 63.75 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9849/5.095, allocations: 350.5 MB / 1.937 GB, free: 155.4 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 47.39/52.48, allocations: 1.828 kB / 1.937 GB, free: 155.4 MB / 0.6077 GB " [Timeout remaining time 607] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000422208 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_FullRobot.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.FullRobot.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 55.36989124817774] Failed to read output from testmodel.py, exit status != 0: ['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'] 52.83525544218719 52.849999898 52.00253084 Calling exit ...