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.001814/0.001814, allocations: 118 kB / 18.45 MB, free: 4.566 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.002189/0.002189, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.533/1.533, allocations: 207.6 MB / 231.8 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] 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="me",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="me",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.001782/0.001782, allocations: 51.92 kB / 342.3 MB, free: 10.08 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1032, allocations: 49.12 MB / 391.4 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.0658/0.169, allocations: 60.62 MB / 452.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2692/0.4382, allocations: 15.97 MB / 468 MB, free: 4.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01836/0.4565, allocations: 442.5 kB / 468.5 MB, free: 4.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02018/0.4767, allocations: 8.628 MB / 477.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02077/0.4975, allocations: 5.723 MB / 482.8 MB, free: 4.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01374/0.5112, allocations: 5.146 MB / 488 MB, free: 2.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0357/0.5469, allocations: 22.73 MB / 0.4987 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04003/0.587, allocations: 20.04 MB / 0.5183 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02073/0.6077, allocations: 8.608 MB / 0.5267 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01964/0.6274, allocations: 10.4 MB / 0.5368 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009604/0.637, allocations: 2.5 MB / 0.5393 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.6481, allocations: 3.121 MB / 0.5423 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01483/0.6629, allocations: 7.729 MB / 0.5499 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02473/0.6877, allocations: 10.82 MB / 0.5604 GB, free: 9.969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05597/0.7436, allocations: 37.08 MB / 0.5966 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.7436, allocations: 0 / 0.5966 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.287e-06/0.7436, allocations: 0 / 0.5966 GB, free: 5.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001672/0.7453, allocations: 0 / 0.5966 GB, free: 5.523 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.06429/0.8096, allocations: 20.48 MB / 0.6167 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.8097, allocations: 8.031 kB / 0.6167 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008842/0.8185, allocations: 2.233 MB / 0.6188 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.8346, allocations: 2.848 MB / 0.6216 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03317/0.8678, allocations: 15.99 MB / 0.6372 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001561/0.8693, allocations: 1.219 MB / 0.6384 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006696/0.876, allocations: 1.553 MB / 0.6399 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5661/1.442, allocations: 27.09 MB / 0.6664 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001468/1.444, allocations: 149 kB / 0.6665 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005395/1.449, allocations: 0.6409 MB / 0.6672 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006055/1.455, allocations: 3.103 MB / 0.6702 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05351/1.509, allocations: 23.34 MB / 0.693 GB, free: 101.4 MB / 0.5294 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.1686/1.677, allocations: 108.9 MB / 0.7993 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03863/1.716, allocations: 14.13 MB / 0.8131 GB, free: 13.57 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01705/1.733, allocations: 9.477 MB / 0.8224 GB, free: 4.062 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08044/1.813, allocations: 36.01 MB / 0.8576 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03225/1.845, allocations: 10.56 MB / 0.8679 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=769): time 1.507e-05/1.846, allocations: 0 / 0.8679 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=939): time 0.803/2.648, allocations: 129.1 MB / 0.9939 GB, free: 158.8 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003095/2.649, allocations: 1.526 MB / 0.9954 GB, free: 157 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01898/2.668, allocations: 10.7 MB / 1.006 GB, free: 146.4 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.003058/2.671, allocations: 229.7 kB / 1.006 GB, free: 146.2 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.006965/2.678, allocations: 8.59 MB / 1.014 GB, free: 138.6 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.005051/2.683, allocations: 3.41 MB / 1.018 GB, free: 135.6 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009684/2.693, allocations: 2.574 MB / 1.02 GB, free: 133 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 6.028e-05/2.693, allocations: 309.1 kB / 1.021 GB, free: 132.7 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0136/2.706, allocations: 9.154 MB / 1.03 GB, free: 123.5 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01752/2.724, allocations: 13.68 MB / 1.043 GB, free: 107.9 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03207/2.756, allocations: 23.04 MB / 1.065 GB, free: 82.93 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/2.756, allocations: 36 kB / 1.065 GB, free: 82.9 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1669) (initialization): time 0.0483/2.804, allocations: 24.4 MB / 1.089 GB, free: 58.35 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 9.059e-05/2.804, allocations: 63.98 kB / 1.089 GB, free: 58.29 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/2.804, allocations: 128.9 kB / 1.089 GB, free: 58.16 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/2.806, allocations: 1.171 MB / 1.091 GB, free: 56.94 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01801/2.825, allocations: 3.69 MB / 1.094 GB, free: 53.24 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/2.841, allocations: 29.04 MB / 1.123 GB, free: 21.69 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01745/2.859, allocations: 1.233 MB / 1.124 GB, free: 20.46 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003782/2.863, allocations: 0.5814 MB / 1.124 GB, free: 19.88 MB / 0.6077 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 (1627): * Single equations (assignments): 1609 * 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.01397/2.877, allocations: 5.251 MB / 1.129 GB, free: 14.6 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004596/2.881, allocations: 1.207 MB / 1.131 GB, free: 13.39 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3222/3.203, allocations: 27.02 MB / 1.157 GB, free: 215.2 MB / 0.6077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.562e-05/3.203, allocations: 90.44 kB / 1.157 GB, free: 215.2 MB / 0.6077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-05/3.204, allocations: 7.844 kB / 1.157 GB, free: 215.2 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002505/3.204, allocations: 48.7 kB / 1.157 GB, free: 215.2 MB / 0.6077 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1098/3.314, allocations: 58.43 MB / 1.214 GB, free: 188.1 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000111/3.314, allocations: 12 kB / 1.214 GB, free: 188 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007774/3.321, allocations: 1.47 MB / 1.216 GB, free: 186.6 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03632/3.358, allocations: 13.65 MB / 1.229 GB, free: 173 MB / 0.6077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003024/3.361, allocations: 203.9 kB / 1.229 GB, free: 172.8 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02606/3.387, allocations: 27.88 MB / 1.256 GB, free: 144.1 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/3.387, allocations: 19.97 kB / 1.256 GB, free: 144.1 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07155/3.458, allocations: 40.57 MB / 1.296 GB, free: 104 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009901/3.468, allocations: 3.25 MB / 1.299 GB, free: 101.4 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005217/3.474, allocations: 240 kB / 1.299 GB, free: 101.2 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01206/3.486, allocations: 0.9475 MB / 1.3 GB, free: 100.2 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003589/3.489, allocations: 0.7393 MB / 1.301 GB, free: 99.49 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002155/3.491, allocations: 251.9 kB / 1.301 GB, free: 99.25 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.01278/3.504, allocations: 7.052 MB / 1.308 GB, free: 92.25 MB / 0.6077 GB Notification: Performance of sort global known variables: time 2.81e-07/3.504, allocations: 3.094 kB / 1.308 GB, free: 92.25 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.02065/3.525, allocations: 3.6 MB / 1.312 GB, free: 88.65 MB / 0.6077 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 (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,189), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.07178/3.597, allocations: 41.5 MB / 1.352 GB, free: 47.61 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.03519/3.632, allocations: 21.86 MB / 1.374 GB, free: 25.6 MB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 1.97e-05/3.632, allocations: 4.438 kB / 1.374 GB, free: 25.59 MB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.02024/3.652, allocations: 11.51 MB / 1.385 GB, free: 14.02 MB / 0.6077 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2642/3.916, allocations: 2.239 MB / 1.387 GB, free: 225.5 MB / 0.6077 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2711/4.187, allocations: 149 MB / 1.533 GB, free: 114 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01767/4.205, allocations: 8.663 MB / 1.541 GB, free: 105.3 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.01241/4.217, allocations: 3.266 MB / 1.544 GB, free: 102 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01296/4.23, allocations: 7.65 MB / 1.552 GB, free: 94.34 MB / 0.6077 GB Notification: Performance of SimCode: time 2.525e-06/4.23, allocations: 0 / 1.552 GB, free: 94.34 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.028/5.259, allocations: 342.1 MB / 1.886 GB, free: 176 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.5/51.76, allocations: 14.3 kB / 1.886 GB, free: 176 MB / 0.6077 GB " [Timeout remaining time 608] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_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.42170818899467] 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.03086047699617 52.048456554 51.300761127 Calling exit ...