Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 114.5 kB / 18.47 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 214.2 kB / 19.42 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.707e-05/3.707e-05, allocations: 2.281 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.01038/0.01043, allocations: 9.413 MB / 368.8 MB, free: 3.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005107/0.01558, allocations: 2.427 MB / 371.2 MB, free: 1.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.01711, allocations: 31.88 kB / 371.2 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.01815, allocations: 341 kB / 371.5 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.01994, allocations: 0.4958 MB / 372 MB, free: 220 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2085/0.2284, allocations: 0.6493 MB / 372.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003904/0.2323, allocations: 2.695 MB / 375.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.234, allocations: 1.163 MB / 376.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.2354, allocations: 0.8843 MB / 377.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008654/0.2363, allocations: 0.8837 MB / 378.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.2366, allocations: 279.1 kB / 378.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005347/0.2371, allocations: 329.9 kB / 378.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001709/0.2389, allocations: 2.733 MB / 381.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007697/0.2396, allocations: 1.59 MB / 383.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004338/0.2401, allocations: 335.4 kB / 383.6 MB, free: 6.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004142/0.2405, allocations: 107.8 kB / 383.7 MB, free: 6.613 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: 391 (375) * Number of variables: 391 (390) Notification: Performance of Bindings: time 0.007983/0.2485, allocations: 8.834 MB / 392.5 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.001443/0.2499, allocations: 1.304 MB / 393.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of Early Inline: time 0.006721/0.2567, allocations: 5.181 MB / 399 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simplify1: time 0.0006342/0.2573, allocations: 348.4 kB / 399.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of Alias: time 0.01324/0.2706, allocations: 11.18 MB / 410.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simplify2: time 0.0003239/0.2709, allocations: 171.1 kB / 410.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of Events: time 0.0008815/0.2718, allocations: 0.6717 MB / 411.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of Detect States: time 0.001044/0.2729, allocations: 1.102 MB / 412.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001352/0.2742, allocations: 1.285 MB / 413.7 MB, free: 492 kB / 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_237) slice: {} [SCAL] (1) axis.gear.gear.phi_a = axis.gear.spring.flange_b.phi ($RES_SIM_254) 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) axis.motor.emf.phi = axis.gear.bearingFriction.flange_a.phi - axis.motor.emf.fixed.phi0 ($RES_SIM_196) slice: {} [SCAL] (1) $SEV_5 = pathPlanning.path.Ta2 >= pathPlanning.path.Ta1 ($RES_EVT_446) slice: {}