Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.LossyGearDemo1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 110.3 kB / 18.36 MB, free: 4.758 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.001369/0.001369, allocations: 191.5 kB / 19.3 MB, free: 3.828 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.302/1.302, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.144e-05, allocations: 2.5 kB / 282 MB, free: 2.516 MB / 222.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.003875/0.00393, allocations: 2.423 MB / 284.5 MB, free: 76 kB / 222.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.005922, allocations: 1.011 MB / 285.5 MB, free: 15.05 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.006211, allocations: 11.94 kB / 285.5 MB, free: 15.04 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.006471, allocations: 43.58 kB / 285.5 MB, free: 15 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.007064, allocations: 163 kB / 285.7 MB, free: 14.84 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.0077, allocations: 187.7 kB / 285.9 MB, free: 14.65 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008057/0.008515, allocations: 0.4984 MB / 286.4 MB, free: 14.15 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.008742, allocations: 96.91 kB / 286.5 MB, free: 14.06 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.009103, allocations: 203.4 kB / 286.7 MB, free: 13.86 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.009442, allocations: 239.2 kB / 286.9 MB, free: 13.62 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 7.001e-05/0.00952, allocations: 39.94 kB / 286.9 MB, free: 13.59 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.00976, allocations: 119.9 kB / 287.1 MB, free: 13.47 MB / 238.1 MB Notification: Performance of combineBinaries: time 0.0004461/0.01021, allocations: 0.5841 MB / 287.6 MB, free: 12.88 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 0.000208/0.01043, allocations: 315.3 kB / 288 MB, free: 12.57 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.01053, allocations: 55.81 kB / 288 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd: time 5.854e-05/0.0106, allocations: 8 kB / 288 MB, free: 12.5 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: 76 (69) * Number of variables: 76 (73) Notification: Performance of Bindings: time 0.001609/0.01221, allocations: 1.602 MB / 289.6 MB, free: 10.79 MB / 238.1 MB Notification: Performance of FunctionAlias: time 0.0001697/0.01239, allocations: 99.77 kB / 289.7 MB, free: 10.7 MB / 238.1 MB Notification: Performance of Early Inline: time 0.001116/0.01351, allocations: 1.133 MB / 290.8 MB, free: 9.535 MB / 238.1 MB Notification: Performance of simplify1: time 0.0001188/0.01365, allocations: 83.89 kB / 290.9 MB, free: 9.453 MB / 238.1 MB Notification: Performance of Alias: time 0.001601/0.01525, allocations: 1.247 MB / 292.2 MB, free: 8.102 MB / 238.1 MB Notification: Performance of simplify2: time 0.0001235/0.01539, allocations: 67.91 kB / 292.2 MB, free: 8.035 MB / 238.1 MB Notification: Performance of Events: time 0.0003524/0.01575, allocations: 220.3 kB / 292.5 MB, free: 7.82 MB / 238.1 MB Notification: Performance of Detect States: time 0.0004828/0.01624, allocations: 343.3 kB / 292.8 MB, free: 7.469 MB / 238.1 MB Notification: Performance of Partitioning: time 0.0004504/0.0167, allocations: 357.7 kB / 293.1 MB, free: 7.105 MB / 238.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real gear.a_a slice: {} [ALGB] (1) Real gear.sa slice: {} (2|2) Unmatched Equations *************************** [SCAL] (1) gear.phi_b = Inertia2.phi - fixed.phi0 ($RES_SIM_43) slice: {} [SCAL] (1) gear.phi_a = Inertia1.flange_b.phi - fixed.phi0 ($RES_SIM_44) slice: {}