Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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.LossyGearDemo2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.001446/0.001446, allocations: 185.5 kB / 17.36 MB, free: 5.574 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.409/1.409, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.112e-05, allocations: 2.281 kB / 327.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.003937/0.003976, allocations: 2.725 MB / 329.9 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.006096, allocations: 1.124 MB / 331 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.006284, allocations: 11.94 kB / 331 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.006563, allocations: 71.36 kB / 331.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005739/0.007145, allocations: 186.9 kB / 331.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.007614, allocations: 243.5 kB / 331.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007107/0.008336, allocations: 0.7015 MB / 332.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.008606, allocations: 131.4 kB / 332.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.00897, allocations: 291.1 kB / 332.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.009368, allocations: 330.9 kB / 333 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.606e-05/0.009452, allocations: 52 kB / 333 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.009703, allocations: 143.8 kB / 333.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0006799/0.01039, allocations: 0.7775 MB / 333.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002883/0.01069, allocations: 409.8 kB / 334.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.427e-05/0.01079, allocations: 71.75 kB / 334.4 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.179e-05/0.01089, allocations: 19.92 kB / 334.4 MB, free: 12.04 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: 98 (91) * Number of variables: 98 (95) Notification: Performance of Bindings: time 0.002404/0.0133, allocations: 2.059 MB / 336.5 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002788/0.01359, allocations: 174.4 kB / 336.6 MB, free: 9.699 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001807/0.0154, allocations: 1.565 MB / 338.2 MB, free: 8.105 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001754/0.01559, allocations: 115.8 kB / 338.3 MB, free: 7.992 MB / 286.1 MB Notification: Performance of Alias: time 0.002645/0.01825, allocations: 1.67 MB / 340 MB, free: 6.18 MB / 286.1 MB Notification: Performance of simplify2: time 0.0001217/0.01839, allocations: 95.84 kB / 340.1 MB, free: 6.086 MB / 286.1 MB Notification: Performance of Events: time 0.0005782/0.01897, allocations: 373.6 kB / 340.4 MB, free: 5.723 MB / 286.1 MB Notification: Performance of Detect States: time 0.0005817/0.01957, allocations: 484.1 kB / 340.9 MB, free: 5.238 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0006029/0.02018, allocations: 0.4986 MB / 341.4 MB, free: 4.719 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [ALGB] (1) Real gear.lossPower slice: {} [ALGB] (1) Real Inertia1.a slice: {} [ALGB] (1) Real gear.quadrant4_m slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) gear.phi_b = Inertia2.phi - fixed.phi0 ($RES_SIM_60) slice: {} [SCAL] (1) gear.phi_a = bearingFriction.flange_a.phi - fixed.phi0 ($RES_SIM_61) slice: {} [SCAL] (1) bearingFriction.phi = bearingFriction.flange_a.phi - fixed.phi0 ($RES_SIM_14) slice: {}