Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001336/0.001336, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.001351/0.001351, allocations: 189.9 kB / 18.68 MB, free: 4.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.706e-05, allocations: 2.281 kB / 351.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.008637/0.008662, allocations: 9.262 MB / 361.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.0126, allocations: 2.29 MB / 363.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007149/0.01333, allocations: 27.94 kB / 363.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006677/0.01401, allocations: 321 kB / 363.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.01506, allocations: 499.7 kB / 364.3 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009902/0.01606, allocations: 0.6554 MB / 365 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00213/0.0182, allocations: 2.684 MB / 367.7 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.01947, allocations: 1.168 MB / 368.8 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009002/0.02038, allocations: 0.8646 MB / 369.7 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007093/0.0211, allocations: 0.8793 MB / 370.6 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.02135, allocations: 276 kB / 370.8 MB, free: 232 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1423/0.1636, allocations: 319.4 kB / 371.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001917/0.1656, allocations: 2.711 MB / 373.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005872/0.1662, allocations: 1.568 MB / 375.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003582/0.1665, allocations: 337.6 kB / 375.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004534/0.167, allocations: 107.5 kB / 375.9 MB, free: 11.87 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.005688/0.1727, allocations: 9.013 MB / 384.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0007063/0.1734, allocations: 1.02 MB / 385.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of Early Inline: time 0.003813/0.1772, allocations: 5.114 MB / 391 MB, free: 3.512 MB / 302.1 MB Notification: Performance of simplify1: time 0.0003431/0.1776, allocations: 335.5 kB / 391.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of Alias: time 0.01049/0.1881, allocations: 11.15 MB / 402.5 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002133/0.1883, allocations: 168.6 kB / 402.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of Events: time 0.0005874/0.1889, allocations: 0.6362 MB / 403.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of Detect States: time 0.0009035/0.1898, allocations: 1.085 MB / 404.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001176/0.191, allocations: 1.263 MB / 405.6 MB, free: 10.59 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: {}