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.001298/0.001298, allocations: 107.3 kB / 18.41 MB, free: 4.68 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.001443/0.001443, allocations: 185.5 kB / 19.35 MB, free: 3.754 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.475/1.475, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.539e-05, allocations: 5.234 kB / 329.1 MB, free: 3.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.003413/0.003447, allocations: 2.428 MB / 331.6 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.005212, allocations: 1.011 MB / 332.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.005367, allocations: 4 kB / 332.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.005601, allocations: 51.52 kB / 332.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.006119, allocations: 155.1 kB / 332.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.006476, allocations: 183.6 kB / 333 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000528/0.007016, allocations: 0.5063 MB / 333.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.00722, allocations: 88.91 kB / 333.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.007494, allocations: 211.3 kB / 333.8 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.007787, allocations: 239.2 kB / 334 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.007864, allocations: 40 kB / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.008122, allocations: 123.9 kB / 334.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004895/0.008622, allocations: 0.5802 MB / 334.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001968/0.008826, allocations: 323.2 kB / 335.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.008898, allocations: 47.81 kB / 335.1 MB, free: 13.37 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.476e-05/0.008979, allocations: 16 kB / 335.1 MB, free: 13.36 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 (73) * Number of variables: 76 (73) Notification: Performance of Bindings: time 0.001743/0.01073, allocations: 1.62 MB / 336.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001758/0.01091, allocations: 95.73 kB / 336.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001163/0.01208, allocations: 1.163 MB / 338 MB, free: 10.34 MB / 286.1 MB Notification: Performance of simplify1: time 8.18e-05/0.01217, allocations: 83.88 kB / 338.1 MB, free: 10.26 MB / 286.1 MB Notification: Performance of Alias: time 0.001639/0.01382, allocations: 1.387 MB / 339.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of simplify2: time 7.899e-05/0.01391, allocations: 75.88 kB / 339.5 MB, free: 8.684 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003231/0.01424, allocations: 302.1 kB / 339.8 MB, free: 8.375 MB / 286.1 MB Notification: Performance of Events: time 0.0003108/0.01456, allocations: 210.2 kB / 340 MB, free: 8.172 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0004124/0.01498, allocations: 373.7 kB / 340.4 MB, free: 7.793 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real gear.sa slice: {} [ALGB] (1) Real gear.lossPower 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: {}