Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.00128/0.00128, allocations: 111.3 kB / 18.41 MB, free: 4.68 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.001506/0.001506, allocations: 185.5 kB / 19.35 MB, free: 3.754 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.471/1.471, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.221e-05, allocations: 3.125 kB / 329.2 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.004966/0.005007, allocations: 3.093 MB / 332.3 MB, free: 252 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.007564, allocations: 1.076 MB / 333.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004987/0.008076, allocations: 11.94 kB / 333.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.008467, allocations: 75.23 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000586/0.009092, allocations: 166.6 kB / 333.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009478/0.01005, allocations: 279.5 kB / 333.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.01118, allocations: 0.8701 MB / 334.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.01145, allocations: 133.1 kB / 334.9 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005856/0.01205, allocations: 358.9 kB / 335.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005699/0.01263, allocations: 370.7 kB / 335.6 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.0128, allocations: 60 kB / 335.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.0131, allocations: 115.9 kB / 335.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007361/0.01384, allocations: 0.9355 MB / 336.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003758/0.01423, allocations: 0.5156 MB / 337.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.01444, allocations: 95.69 kB / 337.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001238/0.01457, allocations: 23.94 kB / 337.3 MB, free: 11.16 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: 106 (106) * Number of variables: 106 (106) Notification: Performance of Bindings: time 0.002627/0.0172, allocations: 2.45 MB / 339.8 MB, free: 8.586 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0004988/0.01771, allocations: 295.3 kB / 340 MB, free: 8.297 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001869/0.01958, allocations: 1.534 MB / 341.6 MB, free: 6.738 MB / 286.1 MB Notification: Performance of simplify1: time 0.0002648/0.01986, allocations: 143.8 kB / 341.7 MB, free: 6.598 MB / 286.1 MB Notification: Performance of Alias: time 0.002864/0.02273, allocations: 2.16 MB / 343.9 MB, free: 4.23 MB / 286.1 MB Notification: Performance of simplify2: time 0.0001939/0.02294, allocations: 111.8 kB / 344 MB, free: 4.121 MB / 286.1 MB Notification: Performance of Detect States: time 0.0006808/0.02363, allocations: 0.5261 MB / 344.5 MB, free: 3.582 MB / 286.1 MB Notification: Performance of Events: time 0.0006424/0.02428, allocations: 428.3 kB / 344.9 MB, free: 3.168 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0007403/0.02503, allocations: 0.5578 MB / 345.5 MB, free: 2.602 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [ALGB] (1) Real clutch3.lossPower slice: {} [DER-] (1) Real $DER.clutch2.w_relfric slice: {} [ALGB] (1) Real J2.a 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: {}