Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr URDFModelica_main_URDFModelica.Examples.GenericRobotModel.GenericRobot.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.001355/0.001355, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001609/0.001609, allocations: 211.4 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.611/1.611, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/package.mo): time 0.2053/0.2053, allocations: 26.5 MB / 338.9 MB, free: 9.168 MB / 270.1 MB " [Timeout remaining time 179] Using package URDFModelica with version 0.3.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(URDFModelica.Examples.GenericRobotModel.GenericRobot,fileNamePrefix="URDFModelica_main_URDFModelica_Examples_GenericRobotModel_GenericRobot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(URDFModelica.Examples.GenericRobotModel.GenericRobot,fileNamePrefix="URDFModelica_main_URDFModelica_Examples_GenericRobotModel_GenericRobot",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: URDFModelica requested package Modelica of version 4.0.0. Modelica 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.002975/0.002975, allocations: 63.91 kB / 471.8 MB, free: 7.172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.5366, allocations: 58.91 MB / 0.5183 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.instantiate(URDFModelica.Examples.GenericRobotModel.GenericRobot): time 0.03617/0.5728, allocations: 21.41 MB / 0.5392 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03645/0.6092, allocations: 11.2 MB / 0.5501 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01189/0.6211, allocations: 249.3 kB / 0.5504 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01955/0.6407, allocations: 6.152 MB / 0.5564 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009725/0.6504, allocations: 1.805 MB / 0.5581 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008222/0.6586, allocations: 2.78 MB / 0.5608 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0522/0.7108, allocations: 34.9 MB / 0.5949 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04143/0.7523, allocations: 21.42 MB / 0.6158 GB, free: 6.219 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02957/0.7818, allocations: 12.25 MB / 0.6278 GB, free: 9.941 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02566/0.8075, allocations: 12.48 MB / 0.64 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01008/0.8176, allocations: 2.402 MB / 0.6423 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.8305, allocations: 2.851 MB / 0.6451 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02084/0.8513, allocations: 11.21 MB / 0.6561 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.02639/0.8777, allocations: 9.593 MB / 0.6654 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.06901/0.9467, allocations: 42.46 MB / 0.7069 GB, free: 8.695 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.9467, allocations: 0 / 0.7069 GB, free: 8.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9467, allocations: 0 / 0.7069 GB, free: 8.695 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0017/0.9484, allocations: 0 / 0.7069 GB, free: 8.695 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4360 * Number of variables: 4360 Notification: Performance of Generate backend data structure: time 0.7935/1.742, allocations: 33.01 MB / 0.7391 GB, free: 141.8 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 9.244e-05/1.742, allocations: 10.78 kB / 0.7391 GB, free: 141.8 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0143/1.756, allocations: 2.231 MB / 0.7413 GB, free: 140.8 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02256/1.779, allocations: 4.058 MB / 0.7453 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07782/1.857, allocations: 26.64 MB / 0.7713 GB, free: 127.6 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00197/1.859, allocations: 1.21 MB / 0.7725 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01007/1.869, allocations: 1.176 MB / 0.7736 GB, free: 125.8 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09559/1.964, allocations: 36.35 MB / 0.8091 GB, free: 88.31 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006031/1.965, allocations: 59.45 kB / 0.8092 GB, free: 88.25 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006773/1.972, allocations: 0.5193 MB / 0.8097 GB, free: 87.73 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008061/1.98, allocations: 4.783 MB / 0.8143 GB, free: 82.95 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07129/2.051, allocations: 32.22 MB / 0.8458 GB, free: 50.72 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2787/2.33, allocations: 128.2 MB / 0.971 GB, free: 1.66 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7276/3.057, allocations: 27.98 MB / 0.9984 GB, free: 199.4 MB / 0.6389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01864/3.076, allocations: 12.6 MB / 1.011 GB, free: 195 MB / 0.6389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1015/3.178, allocations: 46.04 MB / 1.056 GB, free: 161.6 MB / 0.6389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/3.178, allocations: 128.7 kB / 1.056 GB, free: 161.5 MB / 0.6389 GB Notification: Performance of pre-optimization done (n=833): time 2.994e-05/3.178, allocations: 0 / 1.056 GB, free: 161.5 MB / 0.6389 GB Notification: Performance of matching and sorting (n=859): time 0.2255/3.403, allocations: 72.21 MB / 1.126 GB, free: 91.65 MB / 0.6389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/3.403, allocations: 214.8 kB / 1.126 GB, free: 91.41 MB / 0.6389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08859/3.492, allocations: 31.29 MB / 1.157 GB, free: 60.49 MB / 0.6389 GB Notification: Performance of collectPreVariables (initialization): time 0.002665/3.495, allocations: 176 kB / 1.157 GB, free: 60.32 MB / 0.6389 GB Notification: Performance of collectInitialEqns (initialization): time 0.02044/3.515, allocations: 13.05 MB / 1.17 GB, free: 48.33 MB / 0.6389 GB Notification: Performance of collectInitialBindings (initialization): time 0.005383/3.521, allocations: 3.079 MB / 1.173 GB, free: 45.47 MB / 0.6389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01435/3.535, allocations: 3.293 MB / 1.176 GB, free: 42.16 MB / 0.6389 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/3.535, allocations: 309.1 kB / 1.176 GB, free: 41.86 MB / 0.6389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01762/3.553, allocations: 9.777 MB / 1.186 GB, free: 32.07 MB / 0.6389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02467/3.577, allocations: 15.95 MB / 1.202 GB, free: 13.3 MB / 0.6389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5296/4.107, allocations: 27.54 MB / 1.228 GB, free: 169.8 MB / 0.6389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003434/4.107, allocations: 57.22 kB / 1.229 GB, free: 169.8 MB / 0.6389 GB Notification: Performance of matching and sorting (n=2085) (initialization): time 0.0658/4.173, allocations: 27.46 MB / 1.255 GB, free: 161.8 MB / 0.6389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005024/4.174, allocations: 93.56 kB / 1.255 GB, free: 161.8 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006368/4.174, allocations: 204.5 kB / 1.256 GB, free: 161.8 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/4.175, allocations: 283.8 kB / 1.256 GB, free: 161.8 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01571/4.19, allocations: 3.759 MB / 1.26 GB, free: 161.4 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005065/4.191, allocations: 414.9 kB / 1.26 GB, free: 161.4 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02093/4.212, allocations: 1.325 MB / 1.261 GB, free: 161.1 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005008/4.217, allocations: 0.7952 MB / 1.262 GB, free: 161 MB / 0.6389 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 919 * Number of states: 0 () * Number of discrete variables: 179 (kinematicPTP.noWphase,kinematicPTP.motion_ref,kinematicPTP.moving[6],kinematicPTP.moving[5],kinematicPTP.moving[4],kinematicPTP.moving[3],kinematicPTP.moving[2],kinematicPTP.moving[1],robot.joint[7].revolute.torqueLimitLow.y,robot.joint[7].revolute.torqueLimitHigh.y,robot.joint[7].revolute.speedLimitLow.y,robot.joint[7].revolute.speedLimitHigh.y,robot.joint[7].revolute.posLimitLow.y,robot.joint[7].revolute.posLimitHigh.y,robot.joint[6].revolute.torqueLimitLow.y,robot.joint[6].revolute.torqueLimitHigh.y,robot.joint[6].revolute.speedLimitLow.y,robot.joint[6].revolute.speedLimitHigh.y,robot.joint[6].revolute.posLimitLow.y,robot.joint[6].revolute.posLimitHigh.y,robot.joint[5].revolute.torqueLimitLow.y,robot.joint[5].revolute.torqueLimitHigh.y,robot.joint[5].revolute.speedLimitLow.y,robot.joint[5].revolute.speedLimitHigh.y,robot.joint[5].revolute.posLimitLow.y,robot.joint[5].revolute.posLimitHigh.y,robot.joint[4].revolute.torqueLimitLow.y,robot.joint[4].revolute.torqueLimitHigh.y,robot.joint[4].revolute.speedLimitLow.y,robot.joint[4].revolute.speedLimitHigh.y,robot.joint[4].revolute.posLimitLow.y,robot.joint[4].revolute.posLimitHigh.y,robot.joint[3].revolute.torqueLimitLow.y,robot.joint[3].revolute.torqueLimitHigh.y,robot.joint[3].revolute.speedLimitLow.y,robot.joint[3].revolute.speedLimitHigh.y,robot.joint[3].revolute.posLimitLow.y,robot.joint[3].revolute.posLimitHigh.y,robot.joint[2].revolute.torqueLimitLow.y,robot.joint[2].revolute.torqueLimitHigh.y,robot.joint[2].revolute.speedLimitLow.y,robot.joint[2].revolute.speedLimitHigh.y,robot.joint[2].revolute.posLimitLow.y,robot.joint[2].revolute.posLimitHigh.y,robot.link[8].visualMesh.color[1],robot.link[8].visualMesh.color[2],robot.link[8].visualMesh.color[3],robot.link[7].visualMesh.color[1],robot.link[7].visualMesh.color[2],robot.link[7].visualMesh.color[3],robot.link[6].visualMesh.color[1],robot.link[6].visualMesh.color[2],robot.link[6].visualMesh.color[3],robot.link[5].visualMesh.color[1],robot.link[5].visualMesh.color[2],robot.link[5].visualMesh.color[3],robot.link[4].visualMesh.color[1],robot.link[4].visualMesh.color[2],robot.link[4].visualMesh.color[3],robot.link[3].visualMesh.color[1],robot.link[3].visualMesh.color[2],robot.link[3].visualMesh.color[3],robot.link[2].visualMesh.color[1],robot.link[2].visualMesh.color[2],robot.link[2].visualMesh.color[3],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],robot.joint[10].fixed.fixedRotation.color[3],robot.joint[10].fixed.fixedRotation.color[2],robot.joint[10].fixed.fixedRotation.color[1],robot.joint[9].fixed.fixedRotation.color[3],robot.joint[9].fixed.fixedRotation.color[2],robot.joint[9].fixed.fixedRotation.color[1],robot.joint[8].fixed.fixedRotation.color[3],robot.joint[8].fixed.fixedRotation.color[2],robot.joint[8].fixed.fixedRotation.color[1],robot.joint[7].revolute.revolute.cylinderColor[3],robot.joint[7].revolute.revolute.cylinderColor[2],robot.joint[7].revolute.revolute.cylinderColor[1],robot.joint[7].revolute.fixedRotation.color[3],robot.joint[7].revolute.fixedRotation.color[2],robot.joint[7].revolute.fixedRotation.color[1],robot.joint[6].revolute.revolute.cylinderColor[3],robot.joint[6].revolute.revolute.cylinderColor[2],robot.joint[6].revolute.revolute.cylinderColor[1],robot.joint[6].revolute.fixedRotation.color[3],robot.joint[6].revolute.fixedRotation.color[2],robot.joint[6].revolute.fixedRotation.color[1],robot.joint[5].revolute.revolute.cylinderColor[3],robot.joint[5].revolute.revolute.cylinderColor[2],robot.joint[5].revolute.revolute.cylinderColor[1],robot.joint[5].revolute.fixedRotation.color[3],robot.joint[5].revolute.fixedRotation.color[2],robot.joint[5].revolute.fixedRotation.color[1],robot.joint[4].revolute.revolute.cylinderColor[3],robot.joint[4].revolute.revolute.cylinderColor[2],robot.joint[4].revolute.revolute.cylinderColor[1],robot.joint[4].revolute.fixedRotation.color[3],robot.joint[4].revolute.fixedRotation.color[2],robot.joint[4].revolute.fixedRotation.color[1],robot.joint[3].revolute.revolute.cylinderColor[3],robot.joint[3].revolute.revolute.cylinderColor[2],robot.joint[3].revolute.revolute.cylinderColor[1],robot.joint[3].revolute.fixedRotation.color[3],robot.joint[3].revolute.fixedRotation.color[2],robot.joint[3].revolute.fixedRotation.color[1],robot.joint[2].revolute.revolute.cylinderColor[3],robot.joint[2].revolute.revolute.cylinderColor[2],robot.joint[2].revolute.revolute.cylinderColor[1],robot.joint[2].revolute.fixedRotation.color[3],robot.joint[2].revolute.fixedRotation.color[2],robot.joint[2].revolute.fixedRotation.color[1],robot.joint[1].fixed.fixedRotation.color[3],robot.joint[1].fixed.fixedRotation.color[2],robot.joint[1].fixed.fixedRotation.color[1],robot.link[11].trafoInertial.color[3],robot.link[11].trafoInertial.color[2],robot.link[11].trafoInertial.color[1],robot.link[10].trafoInertial.color[3],robot.link[10].trafoInertial.color[2],robot.link[10].trafoInertial.color[1],robot.link[9].trafoInertial.color[3],robot.link[9].trafoInertial.color[2],robot.link[9].trafoInertial.color[1],robot.link[8].trafoVisual.color[3],robot.link[8].trafoVisual.color[2],robot.link[8].trafoVisual.color[1],robot.link[8].trafoInertial.color[3],robot.link[8].trafoInertial.color[2],robot.link[8].trafoInertial.color[1],robot.link[7].trafoVisual.color[3],robot.link[7].trafoVisual.color[2],robot.link[7].trafoVisual.color[1],robot.link[7].trafoInertial.color[3],robot.link[7].trafoInertial.color[2],robot.link[7].trafoInertial.color[1],robot.link[6].trafoVisual.color[3],robot.link[6].trafoVisual.color[2],robot.link[6].trafoVisual.color[1],robot.link[6].trafoInertial.color[3],robot.link[6].trafoInertial.color[2],robot.link[6].trafoInertial.color[1],robot.link[5].trafoVisual.color[3],robot.link[5].trafoVisual.color[2],robot.link[5].trafoVisual.color[1],robot.link[5].trafoInertial.color[3],robot.link[5].trafoInertial.color[2],robot.link[5].trafoInertial.color[1],robot.link[4].trafoVisual.color[3],robot.link[4].trafoVisual.color[2],robot.link[4].trafoVisual.color[1],robot.link[4].trafoInertial.color[3],robot.link[4].trafoInertial.color[2],robot.link[4].trafoInertial.color[1],robot.link[3].trafoVisual.color[3],robot.link[3].trafoVisual.color[2],robot.link[3].trafoVisual.color[1],robot.link[3].trafoInertial.color[3],robot.link[3].trafoInertial.color[2],robot.link[3].trafoInertial.color[1],robot.link[2].trafoVisual.color[3],robot.link[2].trafoVisual.color[2],robot.link[2].trafoVisual.color[1],robot.link[2].trafoInertial.color[3],robot.link[2].trafoInertial.color[2],robot.link[2].trafoInertial.color[1],robot.link[1].trafoInertial.color[3],robot.link[1].trafoInertial.color[2],robot.link[1].trafoInertial.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1781): * Single equations (assignments): 1722 * Array equations: 59 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.03313/4.25, allocations: 13.91 MB / 1.276 GB, free: 155.8 MB / 0.6389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009031/4.259, allocations: 2.073 MB / 1.278 GB, free: 155.8 MB / 0.6389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04371/4.303, allocations: 17.6 MB / 1.295 GB, free: 147.8 MB / 0.6389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.861e-05/4.303, allocations: 84 kB / 1.295 GB, free: 147.7 MB / 0.6389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.595e-05/4.303, allocations: 9.594 kB / 1.295 GB, free: 147.7 MB / 0.6389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002311/4.303, allocations: 41.34 kB / 1.295 GB, free: 147.7 MB / 0.6389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1338/4.437, allocations: 53.27 MB / 1.347 GB, free: 93.71 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005503/4.437, allocations: 96 kB / 1.347 GB, free: 93.61 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008582/4.446, allocations: 1.942 MB / 1.349 GB, free: 91.67 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/4.446, allocations: 147.9 kB / 1.349 GB, free: 91.52 MB / 0.6389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002287/4.449, allocations: 280 kB / 1.349 GB, free: 91.25 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002305/4.449, allocations: 203.2 kB / 1.35 GB, free: 91.05 MB / 0.6389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.861e-05/4.449, allocations: 155.4 kB / 1.35 GB, free: 90.9 MB / 0.6389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03763/4.486, allocations: 20.27 MB / 1.37 GB, free: 68.99 MB / 0.6389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0191/4.506, allocations: 4.453 MB / 1.374 GB, free: 64.53 MB / 0.6389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01004/4.516, allocations: 303.8 kB / 1.374 GB, free: 64.24 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01845/4.534, allocations: 0.7959 MB / 1.375 GB, free: 63.44 MB / 0.6389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005129/4.539, allocations: 1.05 MB / 1.376 GB, free: 62.39 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003626/4.543, allocations: 368 kB / 1.376 GB, free: 62.03 MB / 0.6389 GB Notification: Performance of sorting global known variables: time 0.0676/4.61, allocations: 21.75 MB / 1.398 GB, free: 40.38 MB / 0.6389 GB Notification: Performance of sort global known variables: time 5.11e-07/4.61, allocations: 0 / 1.398 GB, free: 40.38 MB / 0.6389 GB Notification: Performance of remove unused functions: time 0.02905/4.639, allocations: 3.656 MB / 1.401 GB, free: 36.73 MB / 0.6389 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 43 (robot.joint[2].revolute.posLimitHigh.y,robot.joint[2].revolute.posLimitLow.y,robot.joint[2].revolute.speedLimitHigh.y,robot.joint[2].revolute.speedLimitLow.y,robot.joint[3].revolute.posLimitHigh.y,robot.joint[3].revolute.posLimitLow.y,robot.joint[3].revolute.speedLimitHigh.y,robot.joint[3].revolute.speedLimitLow.y,robot.joint[4].revolute.posLimitHigh.y,robot.joint[4].revolute.posLimitLow.y,robot.joint[4].revolute.speedLimitHigh.y,robot.joint[4].revolute.speedLimitLow.y,robot.joint[5].revolute.posLimitHigh.y,robot.joint[5].revolute.posLimitLow.y,robot.joint[5].revolute.speedLimitHigh.y,robot.joint[5].revolute.speedLimitLow.y,robot.joint[6].revolute.posLimitHigh.y,robot.joint[6].revolute.posLimitLow.y,robot.joint[6].revolute.speedLimitHigh.y,robot.joint[6].revolute.speedLimitLow.y,robot.joint[7].revolute.posLimitHigh.y,robot.joint[7].revolute.posLimitLow.y,robot.joint[7].revolute.speedLimitHigh.y,robot.joint[7].revolute.speedLimitLow.y,kinematicPTP.moving[1],kinematicPTP.moving[2],kinematicPTP.moving[3],kinematicPTP.moving[4],kinematicPTP.moving[5],kinematicPTP.moving[6],kinematicPTP.motion_ref,robot.joint[2].revolute.torqueLimitHigh.y,robot.joint[2].revolute.torqueLimitLow.y,robot.joint[3].revolute.torqueLimitHigh.y,robot.joint[3].revolute.torqueLimitLow.y,robot.joint[4].revolute.torqueLimitHigh.y,robot.joint[4].revolute.torqueLimitLow.y,robot.joint[5].revolute.torqueLimitHigh.y,robot.joint[5].revolute.torqueLimitLow.y,robot.joint[6].revolute.torqueLimitHigh.y,robot.joint[6].revolute.torqueLimitLow.y,robot.joint[7].revolute.torqueLimitHigh.y,robot.joint[7].revolute.torqueLimitLow.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (931): * Single equations (assignments): 928 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04415/4.684, allocations: 21.4 MB / 1.422 GB, free: 13 MB / 0.6389 GB Notification: Performance of simCode: created initialization part: time 0.03973/4.723, allocations: 18.88 MB / 1.44 GB, free: 10.16 MB / 0.6545 GB Notification: Performance of simCode: created event and clocks part: time 0.0002252/4.724, allocations: 20 kB / 1.44 GB, free: 10.14 MB / 0.6545 GB Notification: Performance of simCode: created simulation system equations: time 0.468/5.192, allocations: 27.5 MB / 1.467 GB, free: 226.4 MB / 0.6702 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05194/5.244, allocations: 3.913 MB / 1.471 GB, free: 226 MB / 0.6702 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.123/6.366, allocations: 257.6 MB / 1.723 GB, free: 199.1 MB / 0.6702 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07186/6.438, allocations: 17.24 MB / 1.74 GB, free: 198.1 MB / 0.6702 GB Notification: Performance of simCode: alias equations: time 0.04253/6.481, allocations: 11.52 MB / 1.751 GB, free: 197.3 MB / 0.6702 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0315/6.512, allocations: 11.12 MB / 1.762 GB, free: 188.3 MB / 0.6702 GB Notification: Performance of SimCode: time 2.144e-06/6.512, allocations: 0 / 1.762 GB, free: 188.3 MB / 0.6702 GB [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. joint.revolute.fixedRotation.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.w. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.T. [CodegenCFunctions.tpl:4695:11-4695:11:writable] Error: Template error: functionContextCref got a prefix cref with array type and no subs. link.trafoVisual.R_rel_inv.w. " [Timeout remaining time 652] [Calling sys.exit(0), Time elapsed: 10.6261520171538] Failed to read output from testmodel.py, exit status != 0: 7.602325443178415 7.612153889 6.662284025 Calling exit ...