Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.Rotational.Examples.LossyGearDemo3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 109.1 kB / 17.75 MB, free: 5.352 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.001317/0.001317, allocations: 188.6 kB / 18.68 MB, free: 4.43 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.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.986e-05/4.987e-05, allocations: 2.281 kB / 351.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.00387/0.003929, allocations: 2.333 MB / 354.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.005694, allocations: 0.9247 MB / 355.2 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.005847, allocations: 0 / 355.2 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.006103, allocations: 43.69 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.006604, allocations: 148.8 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.006913, allocations: 163.7 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.007383, allocations: 466.6 kB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.007561, allocations: 68.69 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.007769, allocations: 191.4 kB / 356.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.008041, allocations: 203.4 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.008104, allocations: 32 kB / 356.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.008312, allocations: 123.8 kB / 356.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004093/0.008729, allocations: 0.499 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001696/0.008906, allocations: 275.8 kB / 357.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.008966, allocations: 47.81 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.846e-05/0.009021, allocations: 15.98 kB / 357.4 MB, free: 13.78 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: 67 (60) * Number of variables: 67 (64) Notification: Performance of Bindings: time 0.001385/0.01041, allocations: 1.378 MB / 358.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001158/0.01053, allocations: 89.12 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00095/0.01149, allocations: 0.9521 MB / 359.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simplify1: time 7.661e-05/0.01158, allocations: 59.92 kB / 359.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Alias: time 0.00151/0.0131, allocations: 1.171 MB / 361.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simplify2: time 6.176e-05/0.01317, allocations: 63.91 kB / 361.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of Events: time 0.000294/0.01347, allocations: 179.6 kB / 361.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003948/0.01387, allocations: 308.9 kB / 361.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003771/0.01426, allocations: 329.5 kB / 361.9 MB, free: 8.98 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real gear.sa slice: {} [DER-] (1) Real $DER.Inertia1.w slice: {} (2|2) Unmatched Equations *************************** [SCAL] (1) gear.phi_b = Inertia2.phi ($RES_SIM_45) slice: {} [SCAL] (1) gear.phi_a = Inertia1.flange_b.phi ($RES_SIM_46) slice: {}