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.001141/0.001141, allocations: 115 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 209.1 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.247/1.247, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.446e-05, allocations: 2.281 kB / 359.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.003853/0.003886, allocations: 2.874 MB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.005865, allocations: 1.283 MB / 363.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.006004, allocations: 7.938 kB / 363.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.00629, allocations: 87.3 kB / 363.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.006759, allocations: 218 kB / 363.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.007203, allocations: 247.5 kB / 364 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006354/0.007848, allocations: 0.7289 MB / 364.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.008066, allocations: 127.4 kB / 364.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.008453, allocations: 311.1 kB / 365.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.008818, allocations: 338.9 kB / 365.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.256e-05/0.008919, allocations: 56 kB / 365.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.009171, allocations: 159.9 kB / 365.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005682/0.009747, allocations: 0.8241 MB / 366.5 MB, free: 5.766 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000232/0.009986, allocations: 437.5 kB / 367 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.01007, allocations: 71.75 kB / 367 MB, free: 5.262 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.419e-05/0.01013, allocations: 15.94 kB / 367.1 MB, free: 5.246 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 (96) * Number of variables: 100 (96) Notification: Performance of Bindings: time 0.001868/0.012, allocations: 2.177 MB / 369.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001945/0.01221, allocations: 175.6 kB / 369.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001406/0.01362, allocations: 1.643 MB / 371 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001203/0.01375, allocations: 123.8 kB / 371.2 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of Alias: time 0.1743/0.1881, allocations: 1.829 MB / 373 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001533/0.1883, allocations: 112.2 kB / 373.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Detect States: time 0.000448/0.1887, allocations: 444.8 kB / 373.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of Events: time 0.0005218/0.1893, allocations: 410.8 kB / 373.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0005812/0.1899, allocations: 0.5479 MB / 374.5 MB, free: 14.25 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [ALGB] (1) flow Real fixed.flange.tau slice: {} [DER-] (1) Real $DER.Inertia1.w slice: {} [DER-] (1) Real $DER.gear.w_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: {}