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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis1.controller.PI.x|axis1.gear.spring.phi_rel|axis1.gear.spring.w_rel|axis1.motor.C.v|axis1.motor.La.i|axis2.controller.PI.x|axis2.gear.spring.phi_rel|axis2.gear.spring.w_rel|axis2.motor.C.v|axis2.motor.La.i|axis3.controller.PI.x|axis3.gear.spring.phi_rel|axis3.gear.spring.w_rel|axis3.motor.C.v|axis3.motor.La.i|axis4.controller.PI.x|axis4.motor.C.v|axis4.motor.La.i|axis5.controller.PI.x|axis5.motor.C.v|axis5.motor.La.i|axis6.controller.PI.x|axis6.motor.C.v|axis6.motor.La.i|mechanics.b2.body.w_a.1.|mechanics.r1.phi|mechanics.r1.w|mechanics.r2.phi|mechanics.r3.phi|mechanics.r3.w|mechanics.r4.phi|mechanics.r4.w|mechanics.r5.phi|mechanics.r5.w|mechanics.r6.phi|mechanics.r6.w|axis1.gear.bearingFriction.mode|axis2.gear.bearingFriction.mode|axis3.gear.bearingFriction.mode|axis4.gear.bearingFriction.mode|axis5.gear.bearingFriction.mode|axis6.gear.bearingFriction.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.127/1.127, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008469/0.0008469, allocations: 100.5 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007321/0.0007321, allocations: 43.94 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1748, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot): time 0.2794/0.4542, allocations: 164.6 MB / 0.5258 GB, free: 32 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05923/0.5135, allocations: 34.15 MB / 0.5592 GB, free: 1.867 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02951/0.5431, allocations: 0.7426 MB / 0.5599 GB, free: 1.738 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01628/0.5595, allocations: 8.183 MB / 0.5679 GB, free: 13.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0167/0.5762, allocations: 5.047 MB / 0.5728 GB, free: 9.277 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009463/0.5857, allocations: 4.67 MB / 0.5774 GB, free: 4.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02887/0.6146, allocations: 26.04 MB / 0.6028 GB, free: 11.38 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02582/0.6404, allocations: 19.39 MB / 0.6218 GB, free: 8.133 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01182/0.6523, allocations: 7.07 MB / 0.6287 GB, free: 1.188 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01334/0.6657, allocations: 9.686 MB / 0.6381 GB, free: 7.809 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005531/0.6712, allocations: 1.266 MB / 0.6394 GB, free: 6.543 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006418/0.6777, allocations: 1.884 MB / 0.6412 GB, free: 4.695 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006828/0.6845, allocations: 6.337 MB / 0.6474 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01283/0.6974, allocations: 9.426 MB / 0.6566 GB, free: 4.961 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4307/1.128, allocations: 34.98 MB / 0.6908 GB, free: 57.95 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.128, allocations: 0 / 0.6908 GB, free: 57.95 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.603e-06/1.128, allocations: 0 / 0.6908 GB, free: 57.95 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.00108/1.129, allocations: 0 / 0.6908 GB, free: 57.95 MB / 0.4949 GB 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.05958/1.189, allocations: 19.79 MB / 0.7101 GB, free: 51.43 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.189, allocations: 8.625 kB / 0.7101 GB, free: 51.43 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/1.203, allocations: 2.661 MB / 0.7127 GB, free: 50.18 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02486/1.228, allocations: 12.06 MB / 0.7245 GB, free: 46.46 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001274/1.229, allocations: 1.229 MB / 0.7257 GB, free: 46.33 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007247/1.237, allocations: 1.541 MB / 0.7272 GB, free: 46.28 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06255/1.299, allocations: 27.1 MB / 0.7536 GB, free: 31.55 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00105/1.3, allocations: 137.7 kB / 0.7538 GB, free: 31.44 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006309/1.307, allocations: 0.634 MB / 0.7544 GB, free: 30.84 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005156/1.312, allocations: 3.114 MB / 0.7574 GB, free: 27.75 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04929/1.361, allocations: 23.33 MB / 0.7802 GB, free: 4.652 MB / 0.4949 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.1774/1.539, allocations: 109.4 MB / 0.8871 GB, free: 6.016 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2067/1.745, allocations: 14.65 MB / 0.9014 GB, free: 284.7 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01422/1.76, allocations: 10.08 MB / 0.9112 GB, free: 282.3 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05555/1.815, allocations: 35.98 MB / 0.9464 GB, free: 265.2 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02197/1.837, allocations: 10.57 MB / 0.9567 GB, free: 261.2 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=769): time 1.114e-05/1.837, allocations: 0 / 0.9567 GB, free: 261.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=939): time 0.3339/2.171, allocations: 127.5 MB / 1.081 GB, free: 139 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002847/2.171, allocations: 1.523 MB / 1.083 GB, free: 137.1 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01601/2.188, allocations: 10.58 MB / 1.093 GB, free: 126.6 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.003381/2.191, allocations: 229.7 kB / 1.093 GB, free: 126.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.005475/2.196, allocations: 8.322 MB / 1.101 GB, free: 118.1 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004044/2.2, allocations: 3.251 MB / 1.105 GB, free: 114.9 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008609/2.209, allocations: 2.597 MB / 1.107 GB, free: 112.3 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.555e-05/2.209, allocations: 301.1 kB / 1.107 GB, free: 112 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01213/2.221, allocations: 9.244 MB / 1.116 GB, free: 102.7 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01613/2.237, allocations: 13.78 MB / 1.13 GB, free: 86.96 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0271/2.265, allocations: 23.18 MB / 1.153 GB, free: 61.88 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.923e-05/2.265, allocations: 40 kB / 1.153 GB, free: 61.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1701) (initialization): time 0.04225/2.307, allocations: 24.56 MB / 1.177 GB, free: 37.14 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/2.307, allocations: 60.22 kB / 1.177 GB, free: 37.08 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/2.307, allocations: 140 kB / 1.177 GB, free: 36.94 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/2.309, allocations: 1.171 MB / 1.178 GB, free: 35.71 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01579/2.325, allocations: 3.744 MB / 1.182 GB, free: 31.96 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2009/2.526, allocations: 26.8 MB / 1.208 GB, free: 255.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01396/2.54, allocations: 1.232 MB / 1.209 GB, free: 255.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002792/2.543, allocations: 0.5838 MB / 1.209 GB, free: 255.9 MB / 0.6043 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 (1659): * Single equations (assignments): 1641 * 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.01007/2.553, allocations: 5.244 MB / 1.215 GB, free: 255.8 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002574/2.555, allocations: 1.139 MB / 1.216 GB, free: 255.8 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04567/2.601, allocations: 27.2 MB / 1.242 GB, free: 248 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-05/2.601, allocations: 92.66 kB / 1.242 GB, free: 248 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.052e-05/2.601, allocations: 7.688 kB / 1.242 GB, free: 248 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001822/2.601, allocations: 54.05 kB / 1.242 GB, free: 248 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09296/2.694, allocations: 59.32 MB / 1.3 GB, free: 215.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.484e-05/2.694, allocations: 13.97 kB / 1.3 GB, free: 215.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006637/2.701, allocations: 1.474 MB / 1.302 GB, free: 214.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03329/2.734, allocations: 13.65 MB / 1.315 GB, free: 201.2 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002589/2.737, allocations: 203.9 kB / 1.315 GB, free: 201 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02537/2.762, allocations: 27.24 MB / 1.342 GB, free: 173 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/2.762, allocations: 23.97 kB / 1.342 GB, free: 172.9 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8089/3.571, allocations: 387.9 MB / 1.721 GB, free: 84.36 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008607/3.58, allocations: 3.189 MB / 1.724 GB, free: 81.74 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003359/3.583, allocations: 240 kB / 1.724 GB, free: 81.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009521/3.593, allocations: 0.95 MB / 1.725 GB, free: 80.57 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002237/3.595, allocations: 0.7402 MB / 1.726 GB, free: 79.84 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000748/3.596, allocations: 255.9 kB / 1.726 GB, free: 79.59 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.009465/3.605, allocations: 6.986 MB / 1.733 GB, free: 72.65 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4.91e-07/3.605, allocations: 2.531 kB / 1.733 GB, free: 72.65 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.02223/3.628, allocations: 5.431 MB / 1.738 GB, free: 67.23 MB / 0.6043 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.002846/3.631, allocations: 497.4 kB / 1.739 GB, free: 66.75 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.02882/3.659, allocations: 22.92 MB / 1.761 GB, free: 43.69 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/3.659, allocations: 4.438 kB / 1.761 GB, free: 43.68 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.01986/3.679, allocations: 12.31 MB / 1.773 GB, free: 31.3 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01714/3.696, allocations: 2.103 MB / 1.775 GB, free: 29.26 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2575/3.954, allocations: 53.26 MB / 1.827 GB, free: 218 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01418/3.968, allocations: 9.075 MB / 1.836 GB, free: 216.9 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.01221/3.98, allocations: 3.463 MB / 1.839 GB, free: 216.8 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005343/3.986, allocations: 0.7837 MB / 1.84 GB, free: 216.8 MB / 0.6043 GB Notification: Performance of SimCode: time 5.21e-07/3.986, allocations: 0 / 1.84 GB, free: 216.8 MB / 0.6043 GB Notification: Performance of Templates: time 0.5703/4.556, allocations: 319.1 MB / 2.152 GB, free: 184.9 MB / 0.6043 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/fullRobot/fullRobot.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches