Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches") translateModel(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001471, allocations: 111.7 kB / 17.75 MB, free: 5.301 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.00121/0.00121, allocations: 190 kB / 18.69 MB, free: 4.375 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.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.473e-05, allocations: 2.281 kB / 351.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.004356/0.00439, allocations: 3.095 MB / 355 MB, free: 160 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.006643, allocations: 1.044 MB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/0.007091, allocations: 7.938 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.007461, allocations: 71.25 kB / 356.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005561/0.008057, allocations: 162.7 kB / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009021/0.008967, allocations: 283.5 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.01015, allocations: 0.8662 MB / 357.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.01045, allocations: 137.1 kB / 357.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006891/0.01115, allocations: 366.9 kB / 357.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005852/0.01174, allocations: 370.7 kB / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.01194, allocations: 60 kB / 358.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.01227, allocations: 115.9 kB / 358.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008108/0.01309, allocations: 0.9316 MB / 359.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000378/0.01348, allocations: 0.5195 MB / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.01369, allocations: 91.69 kB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001227/0.01382, allocations: 27.92 kB / 360 MB, free: 11.1 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: 106 (106) * Number of variables: 106 (106) Notification: Performance of Bindings: time 0.002117/0.01595, allocations: 2.446 MB / 362.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003457/0.0163, allocations: 287 kB / 362.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001381/0.01769, allocations: 1.534 MB / 364.3 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001434/0.01784, allocations: 143.8 kB / 364.4 MB, free: 6.555 MB / 302.1 MB Notification: Performance of Alias: time 0.002364/0.02021, allocations: 2.168 MB / 366.6 MB, free: 4.18 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001013/0.02033, allocations: 111.8 kB / 366.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005067/0.02084, allocations: 0.5197 MB / 367.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of Events: time 0.0005124/0.02136, allocations: 427 kB / 367.7 MB, free: 3.137 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000557/0.02193, allocations: 0.5539 MB / 368.2 MB, free: 2.574 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [ALGB] (1) Real clutch1.a_relfric slice: {} [ALGB] (1) Real clutch3.lossPower slice: {} [DER-] (1) Real $DER.clutch2.w_relfric slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) clutch1.phi_rel = J2.phi - J1.phi ($RES_SIM_62) slice: {} [SCAL] (1) clutch2.phi_rel = J3.phi - J2.phi ($RES_SIM_36) slice: {} [SCAL] (1) clutch3.phi_rel = J4.phi - J3.phi ($RES_SIM_12) slice: {}