Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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.Rotational.Examples.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 110.4 kB / 18.36 MB, free: 4.727 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.001181/0.001181, allocations: 196.7 kB / 19.29 MB, free: 3.797 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.267/1.267, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.445e-05, allocations: 2.281 kB / 282 MB, free: 2.52 MB / 222.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.004278/0.00432, allocations: 2.73 MB / 284.8 MB, free: 15.77 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.006345, allocations: 1.136 MB / 285.9 MB, free: 14.62 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.006502, allocations: 7.938 kB / 285.9 MB, free: 14.61 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.006745, allocations: 71.42 kB / 286 MB, free: 14.54 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.007269, allocations: 190.8 kB / 286.2 MB, free: 14.36 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.007708, allocations: 243.5 kB / 286.4 MB, free: 14.12 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.008312, allocations: 0.7054 MB / 287.1 MB, free: 13.41 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.008601, allocations: 119.4 kB / 287.2 MB, free: 13.29 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.008931, allocations: 295.1 kB / 287.5 MB, free: 13 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.009235, allocations: 330.9 kB / 287.8 MB, free: 12.68 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 7.159e-05/0.009315, allocations: 48 kB / 287.9 MB, free: 12.63 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.009532, allocations: 135.9 kB / 288 MB, free: 12.5 MB / 238.1 MB Notification: Performance of combineBinaries: time 0.000531/0.01007, allocations: 0.7737 MB / 288.8 MB, free: 11.72 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002124/0.01029, allocations: 421.8 kB / 289.2 MB, free: 11.3 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.01037, allocations: 71.75 kB / 289.3 MB, free: 11.23 MB / 238.1 MB Notification: Performance of FrontEnd: time 4.914e-05/0.01043, allocations: 15.94 kB / 289.3 MB, free: 11.21 MB / 238.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 (91) * Number of variables: 98 (95) Notification: Performance of Bindings: time 0.001769/0.0122, allocations: 2.059 MB / 291.4 MB, free: 9.035 MB / 238.1 MB Notification: Performance of FunctionAlias: time 0.0002132/0.01242, allocations: 180.6 kB / 291.5 MB, free: 8.863 MB / 238.1 MB Notification: Performance of Early Inline: time 0.001378/0.01381, allocations: 1.565 MB / 293.1 MB, free: 7.273 MB / 238.1 MB Notification: Performance of simplify1: time 0.0001068/0.01392, allocations: 115.8 kB / 293.2 MB, free: 7.16 MB / 238.1 MB Notification: Performance of Alias: time 0.001811/0.01574, allocations: 1.671 MB / 294.9 MB, free: 5.344 MB / 238.1 MB Notification: Performance of simplify2: time 9.155e-05/0.01584, allocations: 103.8 kB / 295 MB, free: 5.242 MB / 238.1 MB Notification: Performance of Events: time 0.0004803/0.01633, allocations: 368.2 kB / 295.3 MB, free: 4.891 MB / 238.1 MB Notification: Performance of Detect States: time 0.0004778/0.01682, allocations: 472 kB / 295.8 MB, free: 4.414 MB / 238.1 MB Notification: Performance of Partitioning: time 0.0005225/0.01735, allocations: 0.5025 MB / 296.3 MB, free: 3.891 MB / 238.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [ALGB] (1) Real gear.lossPower slice: {} [ALGB] (1) Real Inertia1.a slice: {} [ALGB] (1) Real gear.quadrant4_m slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) gear.phi_b = Inertia2.phi - fixed.phi0 ($RES_SIM_60) slice: {} [SCAL] (1) gear.phi_a = bearingFriction.flange_a.phi - fixed.phi0 ($RES_SIM_61) slice: {} [SCAL] (1) bearingFriction.phi = bearingFriction.flange_a.phi - fixed.phi0 ($RES_SIM_14) slice: {}