Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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.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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001208, allocations: 104.5 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 214.2 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.58e-05, allocations: 2.281 kB / 359.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.003449/0.003473, allocations: 2.866 MB / 362.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.005291, allocations: 1.279 MB / 363.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.005417, allocations: 4 kB / 363.5 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.00569, allocations: 99.2 kB / 363.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.006139, allocations: 202 kB / 363.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.006598, allocations: 251.5 kB / 364 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005839/0.007191, allocations: 0.729 MB / 364.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.007397, allocations: 123.4 kB / 364.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.007747, allocations: 319 kB / 365.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.008084, allocations: 338.9 kB / 365.5 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.769e-05/0.00818, allocations: 56 kB / 365.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.008452, allocations: 155.9 kB / 365.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006198/0.009079, allocations: 0.8202 MB / 366.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003139/0.009401, allocations: 445.5 kB / 367 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.308e-05/0.00949, allocations: 71.75 kB / 367 MB, free: 5.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.314e-05/0.009549, allocations: 23.92 kB / 367.1 MB, free: 5.219 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: 100 (92) * Number of variables: 100 (96) Notification: Performance of Bindings: time 0.002053/0.01161, allocations: 2.157 MB / 369.2 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001985/0.01181, allocations: 162.6 kB / 369.4 MB, free: 2.793 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001388/0.01321, allocations: 1.627 MB / 371 MB, free: 1.137 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001044/0.01332, allocations: 115.8 kB / 371.1 MB, free: 1.023 MB / 302.1 MB Notification: Performance of Alias: time 0.1508/0.1641, allocations: 1.835 MB / 372.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001466/0.1643, allocations: 106 kB / 373 MB, free: 15.01 MB / 302.1 MB Notification: Performance of Events: time 0.0004878/0.1648, allocations: 424.2 kB / 373.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Detect States: time 0.000495/0.1653, allocations: 0.5033 MB / 374 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0005369/0.1659, allocations: 0.5438 MB / 374.5 MB, free: 14.83 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [DER-] (1) Real $DER.Inertia1.w slice: {} [DER-] (1) Real $DER.gear.w_a slice: {} [ALGB] (1) Real Inertia2.a slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) bearingFriction.phi = bearingFriction.flange_a.phi - fixed.phi0 ($RES_SIM_15) slice: {} [SCAL] (1) gear.phi_b = Inertia2.phi - fixed.phi0 ($RES_SIM_61) slice: {} [SCAL] (1) gear.phi_a = bearingFriction.flange_a.phi - fixed.phi0 ($RES_SIM_62) slice: {}