Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.004461/0.004461, allocations: 101.8 kB / 21.96 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobot",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobot",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 51.92 kB / 348 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2205, allocations: 49.16 MB / 397.2 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.05256/0.2731, allocations: 50.86 MB / 448 MB, free: 112 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03406/0.3071, allocations: 15.76 MB / 463.8 MB, free: 316 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01215/0.3193, allocations: 433.8 kB / 464.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01801/0.3373, allocations: 8.328 MB / 472.5 MB, free: 7.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01709/0.3544, allocations: 5.74 MB / 478.3 MB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01112/0.3655, allocations: 5.17 MB / 483.5 MB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03347/0.399, allocations: 22.72 MB / 0.4943 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02974/0.4287, allocations: 20.28 MB / 0.5141 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01555/0.4442, allocations: 8.546 MB / 0.5225 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01711/0.4614, allocations: 10.41 MB / 0.5326 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006527/0.4679, allocations: 2.508 MB / 0.5351 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008444/0.4763, allocations: 3.093 MB / 0.5381 GB, free: 8.695 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01142/0.4877, allocations: 7.758 MB / 0.5457 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01757/0.5053, allocations: 8.494 MB / 0.554 GB, free: 8.383 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4145/0.9198, allocations: 37.34 MB / 0.5904 GB, free: 63.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.9198, allocations: 0.8438 kB / 0.5904 GB, free: 63.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.9198, allocations: 0 / 0.5904 GB, free: 63.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001424/0.9213, allocations: 0 / 0.5904 GB, free: 63.23 MB / 478.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.06667/0.9879, allocations: 20.44 MB / 0.6104 GB, free: 53.28 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.988, allocations: 14.14 kB / 0.6104 GB, free: 53.27 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003582/0.9883, allocations: 412 kB / 0.6108 GB, free: 53.24 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007757/0.9961, allocations: 2.235 MB / 0.613 GB, free: 52.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01328/1.009, allocations: 2.865 MB / 0.6158 GB, free: 51.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02416/1.034, allocations: 15.9 MB / 0.6313 GB, free: 43.72 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009476/1.034, allocations: 1.44 MB / 0.6327 GB, free: 42.88 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005875/1.04, allocations: 1.551 MB / 0.6342 GB, free: 42.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05463/1.095, allocations: 28.33 MB / 0.6619 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007468/1.096, allocations: 152 kB / 0.662 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003151/1.099, allocations: 0.6301 MB / 0.6627 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004689/1.104, allocations: 3.112 MB / 0.6657 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05283/1.156, allocations: 23.44 MB / 0.6886 GB, free: 2.348 MB / 494.1 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.3878/1.544, allocations: 98.99 MB / 0.7853 GB, free: 162 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0281/1.572, allocations: 14.19 MB / 0.7991 GB, free: 161.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01105/1.583, allocations: 9.578 MB / 0.8085 GB, free: 159.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05494/1.638, allocations: 33.25 MB / 0.841 GB, free: 137.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02323/1.662, allocations: 11.83 MB / 0.8525 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=775): time 1.166e-05/1.662, allocations: 0 / 0.8525 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=946): time 0.3443/2.006, allocations: 132.6 MB / 0.982 GB, free: 11.85 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000981/2.007, allocations: 1.523 MB / 0.9834 GB, free: 9.984 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2257/2.233, allocations: 10.82 MB / 0.994 GB, free: 210.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.003003/2.236, allocations: 227.6 kB / 0.9942 GB, free: 210.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.009003/2.245, allocations: 8.562 MB / 1.003 GB, free: 208.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.004805/2.249, allocations: 3.434 MB / 1.006 GB, free: 206.7 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005495/2.255, allocations: 2.583 MB / 1.008 GB, free: 205.8 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.653e-05/2.255, allocations: 308.9 kB / 1.009 GB, free: 205.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01208/2.267, allocations: 9.169 MB / 1.018 GB, free: 201.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01382/2.281, allocations: 14.9 MB / 1.032 GB, free: 190.9 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02775/2.309, allocations: 23.05 MB / 1.055 GB, free: 174.9 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/2.309, allocations: 40 kB / 1.055 GB, free: 174.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1676) (initialization): time 0.03553/2.344, allocations: 24.41 MB / 1.079 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/2.344, allocations: 60 kB / 1.079 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/2.344, allocations: 132 kB / 1.079 GB, free: 152.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/2.346, allocations: 1.17 MB / 1.08 GB, free: 151.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01593/2.362, allocations: 3.7 MB / 1.084 GB, free: 148.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/2.377, allocations: 26.98 MB / 1.11 GB, free: 120.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01461/2.391, allocations: 1.242 MB / 1.111 GB, free: 119.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002841/2.394, allocations: 0.5922 MB / 1.112 GB, free: 118.9 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 160 (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],pathPlanning.pathToAxis5.moving[5],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis1.moving[1],pathPlanning.path.motion_ref,$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 (1634): * Single equations (assignments): 1616 * 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.01024/2.404, allocations: 5.25 MB / 1.117 GB, free: 114.1 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002681/2.407, allocations: 1.211 MB / 1.118 GB, free: 112.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04083/2.448, allocations: 26.08 MB / 1.144 GB, free: 87.02 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-05/2.448, allocations: 95.98 kB / 1.144 GB, free: 86.93 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/2.448, allocations: 4 kB / 1.144 GB, free: 86.92 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001752/2.448, allocations: 43.83 kB / 1.144 GB, free: 86.88 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0983/2.546, allocations: 55.23 MB / 1.198 GB, free: 31.52 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.44e-05/2.546, allocations: 20.09 kB / 1.198 GB, free: 31.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006817/2.553, allocations: 1.482 MB / 1.199 GB, free: 30.02 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03337/2.587, allocations: 13.51 MB / 1.212 GB, free: 16.46 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004002/2.591, allocations: 207.9 kB / 1.212 GB, free: 16.26 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2295/2.82, allocations: 27.25 MB / 1.239 GB, free: 192.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/2.82, allocations: 21.95 kB / 1.239 GB, free: 192.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05447/2.875, allocations: 38.49 MB / 1.277 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008832/2.883, allocations: 3.187 MB / 1.28 GB, free: 174.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003864/2.887, allocations: 244.4 kB / 1.28 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/2.898, allocations: 0.9526 MB / 1.281 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003276/2.901, allocations: 0.7874 MB / 1.282 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001118/2.902, allocations: 266.8 kB / 1.282 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01191/2.914, allocations: 7.136 MB / 1.289 GB, free: 167.2 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.6e-07/2.914, allocations: 0 / 1.289 GB, free: 167.2 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0149/2.929, allocations: 3.613 MB / 1.292 GB, free: 163.6 MB / 0.5763 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: 33 (pathPlanning.terminateSimulation.condition,$whenCondition1,pathPlanning.path.motion_ref,pathPlanning.pathToAxis1.moving[1],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis5.moving[5],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,axis5.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.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 (731): * Single equations (assignments): 721 * 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 {(6,192), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.05642/2.985, allocations: 39.44 MB / 1.331 GB, free: 128 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.03107/3.016, allocations: 21.91 MB / 1.352 GB, free: 105.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/3.016, allocations: 4.438 kB / 1.352 GB, free: 105.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0177/3.034, allocations: 11.45 MB / 1.364 GB, free: 94.43 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0168/3.051, allocations: 2.234 MB / 1.366 GB, free: 92.29 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4581/3.509, allocations: 149.9 MB / 1.512 GB, free: 146.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01658/3.526, allocations: 8.34 MB / 1.52 GB, free: 140.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01087/3.536, allocations: 3.271 MB / 1.523 GB, free: 138.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01249/3.549, allocations: 7.654 MB / 1.531 GB, free: 131.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.183e-06/3.549, allocations: 0 / 1.531 GB, free: 131.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6353/4.184, allocations: 332.4 MB / 1.856 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.15/48.33, allocations: 4.062 kB / 1.856 GB, free: 12.71 MB / 0.5763 GB " [Timeout remaining time 611] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobot_fmu --startTime=0 --stopTime=2 --stepSize=0.000422208 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobot.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 55.2985034850426] 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'] 48.81768152397126 48.828226513 47.905582961 Calling exit ...