Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") translateModel(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 110.6 kB / 17.75 MB, free: 5.324 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.001101/0.001101, allocations: 183.1 kB / 18.68 MB, free: 4.406 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.207/1.207, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.006e-05, allocations: 5.516 kB / 351.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.003513/0.003542, allocations: 2.802 MB / 354.7 MB, free: 464 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.005005, allocations: 0.892 MB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.005152, allocations: 4 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.005365, allocations: 67.38 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.005583, allocations: 103.1 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.006008, allocations: 207.6 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.006564, allocations: 0.632 MB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.006776, allocations: 118.7 kB / 356.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.007136, allocations: 247.2 kB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.007477, allocations: 267 kB / 357.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.007554, allocations: 44 kB / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.007726, allocations: 95.94 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000571/0.008304, allocations: 0.6727 MB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001966/0.008508, allocations: 394 kB / 358.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.008575, allocations: 59.81 kB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.986e-05/0.00863, allocations: 19.94 kB / 358.5 MB, free: 12.64 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: 84 (84) * Number of variables: 84 (84) Notification: Performance of Bindings: time 0.001576/0.01021, allocations: 1.85 MB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002225/0.01044, allocations: 195.5 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000981/0.01143, allocations: 1.155 MB / 361.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001009/0.01154, allocations: 103.8 kB / 361.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of Alias: time 0.001886/0.01343, allocations: 1.674 MB / 363.5 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simplify2: time 7.474e-05/0.01352, allocations: 75.86 kB / 363.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of Events: time 0.0004459/0.01397, allocations: 352.8 kB / 363.9 MB, free: 6.918 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004422/0.01442, allocations: 451.6 kB / 364.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0004241/0.01485, allocations: 441.8 kB / 364.8 MB, free: 6.02 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [DER-] (1) Real $DER.brake.w_relfric slice: {} [ALGB] (1) Real quadraticSpeedDependentTorque.w slice: {} [DER-] (1) Real $DER.clutch.w_rel slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) brake.phi = brake.flange_b.phi ($RES_SIM_21) slice: {} [SCAL] (1) clutch.phi_rel = brake.flange_b.phi - engine.flange_b.phi ($RES_SIM_27) slice: {} [SCAL] (1) quadraticSpeedDependentTorque.phi = load.phi ($RES_SIM_43) slice: {}