Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis.controller.PI.x|axis.gear.spring.phi_rel|axis.gear.spring.w_rel|axis.initializeFlange.phi_flange|axis.initializeFlange.w_flange|axis.motor.C.v|axis.motor.La.i|axis.gear.bearingFriction.mode|axis.gear.bearingFriction.startBackward|axis.gear.bearingFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis.controller.PI.x|axis.gear.spring.phi_rel|axis.gear.spring.w_rel|axis.initializeFlange.phi_flange|axis.initializeFlange.w_flange|axis.motor.C.v|axis.motor.La.i|axis.gear.bearingFriction.mode|axis.gear.bearingFriction.startBackward|axis.gear.bearingFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 108.7 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 193.4 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.542e-05, allocations: 6.281 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.01111/0.01114, allocations: 9.164 MB / 338.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006065/0.01723, allocations: 2.311 MB / 340.7 MB, free: 7.809 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.01869, allocations: 27.94 kB / 340.7 MB, free: 7.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009893/0.01969, allocations: 329 kB / 341 MB, free: 7.457 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.02132, allocations: 491.7 kB / 341.5 MB, free: 6.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.02286, allocations: 0.6516 MB / 342.1 MB, free: 6.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003512/0.02638, allocations: 2.68 MB / 344.8 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.02807, allocations: 1.168 MB / 346 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.02968, allocations: 0.8646 MB / 346.8 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000998/0.0307, allocations: 0.8754 MB / 347.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.03101, allocations: 276 kB / 348 MB, free: 412 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.03149, allocations: 327.9 kB / 348.3 MB, free: 84 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.002048/0.03354, allocations: 2.713 MB / 351 MB, free: 13.34 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001029/0.03459, allocations: 1.562 MB / 352.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005574/0.03516, allocations: 335.1 kB / 352.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0005494/0.03572, allocations: 107.7 kB / 353 MB, free: 11.32 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 (374) * Number of variables: 389 (389) Notification: Performance of Bindings: time 0.009122/0.04485, allocations: 9.02 MB / 362 MB, free: 2.039 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.001023/0.04589, allocations: 1.036 MB / 363.1 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of Early Inline: time 0.005052/0.05095, allocations: 5.108 MB / 368.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simplify1: time 0.0004715/0.05144, allocations: 335.6 kB / 368.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of Alias: time 0.2606/0.312, allocations: 11.14 MB / 379.7 MB, free: 37.66 MB / 318.1 MB Notification: Performance of simplify2: time 0.0005958/0.3126, allocations: 166.8 kB / 379.8 MB, free: 37.66 MB / 318.1 MB Notification: Performance of Events: time 0.001164/0.3138, allocations: 0.6324 MB / 380.4 MB, free: 37.6 MB / 318.1 MB Notification: Performance of Detect States: time 0.001452/0.3153, allocations: 1.083 MB / 381.5 MB, free: 37.51 MB / 318.1 MB Notification: Performance of Partitioning: time 0.002079/0.3174, allocations: 1.252 MB / 382.8 MB, free: 37.25 MB / 318.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (7|7) Unmatched Variables *************************** [ALGB] (1) Real axis.gear.a_rel = der(axis.gear.spring.w_rel) slice: {} [ALGB] (1) Real pathPlanning.pathToAxis1.axisControlBus.acceleration slice: {} [DER-] (1) Real $DER.axis.initializeFlange.set_a_start.w slice: {} [ALGB] (1) Real axis.gear.bearingFriction.lossPower slice: {} [ALGB] (1) Real pathPlanning.pathToAxis1.qdd_axisUsed.u slice: {} [DISC] (1) protected Boolean pathPlanning.path.noWphase slice: {} [ALGB] (1) Real axis.motor.emf.w slice: {} (7|7) Unmatched Equations *************************** [SCAL] (1) axis.gear.bearingFriction.phi = axis.gear.bearingFriction.flange_a.phi ($RES_SIM_236) slice: {} [SCAL] (1) axis.gear.gear.phi_a = axis.gear.spring.flange_b.phi ($RES_SIM_253) slice: {} [SCAL] (1) pathPlanning.path.aux2[1] = pathPlanning.path.p_deltaq[1] / pathPlanning.path.p_qdd_max[1] ($RES_SIM_64) slice: {} [SCAL] (1) load.w = $DER.axis.initializeFlange.phi_flange ($RES_SIM_67) slice: {} [SCAL] (1) axis.accSensor.w = $DER.axis.initializeFlange.phi_flange ($RES_SIM_77) slice: {} [SCAL] (1) $SEV_5 = pathPlanning.path.Ta2 >= pathPlanning.path.Ta1 ($RES_EVT_441) slice: {} [SCAL] (1) axis.motor.emf.phi = axis.gear.bearingFriction.flange_a.phi - axis.motor.emf.fixed.phi0 ($RES_SIM_196) slice: {}