Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.LossyGearDemo3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001006/0.001006, allocations: 111.3 kB / 18.41 MB, free: 4.684 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.001164/0.001164, allocations: 193.4 kB / 19.35 MB, free: 3.758 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.413/1.413, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.33e-05, allocations: 2.281 kB / 329.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.003735/0.003767, allocations: 2.347 MB / 331.5 MB, free: 1 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.005734, allocations: 0.949 MB / 332.4 MB, free: 40 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.006025, allocations: 4 kB / 332.5 MB, free: 36 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.006326, allocations: 43.69 kB / 332.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006434/0.006978, allocations: 135.3 kB / 332.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.007447, allocations: 171.6 kB / 332.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006283/0.008084, allocations: 458.5 kB / 333.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.008291, allocations: 76.69 kB / 333.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.008661, allocations: 179.5 kB / 333.5 MB, free: 15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.009038, allocations: 207.3 kB / 333.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.995e-05/0.009145, allocations: 36 kB / 333.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.009459, allocations: 115.8 kB / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0006805/0.01016, allocations: 0.5067 MB / 334.3 MB, free: 14.13 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003146/0.01048, allocations: 279.9 kB / 334.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.01067, allocations: 51.75 kB / 334.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001013/0.01078, allocations: 12 kB / 334.7 MB, free: 13.79 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: 67 (60) * Number of variables: 67 (64) Notification: Performance of Bindings: time 0.002022/0.01281, allocations: 1.394 MB / 336.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001645/0.01298, allocations: 77 kB / 336.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001077/0.01407, allocations: 0.9599 MB / 337.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simplify1: time 9.59e-05/0.01417, allocations: 59.92 kB / 337.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of Alias: time 0.001628/0.01581, allocations: 1.164 MB / 338.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of simplify2: time 0.0001254/0.01594, allocations: 59.91 kB / 338.4 MB, free: 9.82 MB / 286.1 MB Notification: Performance of Events: time 0.0003256/0.01628, allocations: 195.6 kB / 338.6 MB, free: 9.629 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004297/0.01672, allocations: 315.7 kB / 338.9 MB, free: 9.309 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0004248/0.01715, allocations: 317.5 kB / 339.2 MB, free: 8.984 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real gear.tauLossMax slice: {} [ALGB] (1) Real gear.lossPower 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: {}