Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.LossyGearDemo1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001142/0.001142, 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.001094/0.001094, 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.171/1.171, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.808e-05, allocations: 5.797 kB / 351.9 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.002884/0.002911, allocations: 2.416 MB / 354.3 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.004378, allocations: 0.9675 MB / 355.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.004491, allocations: 4 kB / 355.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.004672, allocations: 51.52 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.005108, allocations: 162.9 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.005403, allocations: 181.2 kB / 355.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.005856, allocations: 0.5063 MB / 356.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.006034, allocations: 92.89 kB / 356.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.006278, allocations: 211.3 kB / 356.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.006543, allocations: 239.2 kB / 356.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.006605, allocations: 36 kB / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.006802, allocations: 123.9 kB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003984/0.007208, allocations: 0.5841 MB / 357.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001602/0.007376, allocations: 315.3 kB / 357.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.007433, allocations: 55.81 kB / 357.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.787e-05/0.007476, allocations: 8 kB / 357.8 MB, free: 13.38 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: 76 (69) * Number of variables: 76 (73) Notification: Performance of Bindings: time 0.00133/0.008811, allocations: 1.606 MB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001152/0.008934, allocations: 95.8 kB / 359.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009345/0.009876, allocations: 1.137 MB / 360.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simplify1: time 7.406e-05/0.009958, allocations: 83.89 kB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Alias: time 0.001473/0.01144, allocations: 1.379 MB / 362.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simplify2: time 6.21e-05/0.01151, allocations: 67.84 kB / 362.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of Events: time 0.0002795/0.01179, allocations: 215.5 kB / 362.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003304/0.01213, allocations: 339.3 kB / 362.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003652/0.01251, allocations: 365.7 kB / 363.1 MB, free: 7.836 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real gear.tauLossMax slice: {} [ALGB] (1) flow Real fixed.flange.tau 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: {}