Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.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.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001132, allocations: 115.8 kB / 17.75 MB, free: 5.289 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.001074/0.001074, allocations: 189.9 kB / 18.68 MB, free: 4.363 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.145/1.145, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.462e-05, allocations: 2.281 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.003264/0.003286, allocations: 3.027 MB / 355 MB, free: 240 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.004601, allocations: 0.9232 MB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.00474, allocations: 15.94 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.004937, allocations: 67.31 kB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.005154, allocations: 130.9 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.005585, allocations: 227.6 kB / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005673/0.006162, allocations: 0.6903 MB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.006372, allocations: 144.3 kB / 357.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.00665, allocations: 271.2 kB / 357.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.006946, allocations: 298.8 kB / 357.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.007016, allocations: 52 kB / 357.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.007179, allocations: 95.95 kB / 357.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004785/0.007664, allocations: 0.7847 MB / 358.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000211/0.007882, allocations: 453.1 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.598e-05/0.007963, allocations: 75.75 kB / 359.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.061e-05/0.008019, allocations: 27.92 kB / 359.2 MB, free: 11.98 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: 98 (98) * Number of variables: 98 (98) Notification: Performance of Bindings: time 0.001639/0.009663, allocations: 2.117 MB / 361.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002268/0.009896, allocations: 215.6 kB / 361.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001052/0.01096, allocations: 1.253 MB / 362.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001078/0.01107, allocations: 115.8 kB / 362.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of Alias: time 0.002032/0.01311, allocations: 1.974 MB / 364.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simplify2: time 8.494e-05/0.0132, allocations: 91.83 kB / 364.9 MB, free: 5.895 MB / 302.1 MB Notification: Performance of Events: time 0.0004661/0.01368, allocations: 351.1 kB / 365.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of Detect States: time 0.000438/0.01412, allocations: 472.5 kB / 365.7 MB, free: 5.09 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0004311/0.01456, allocations: 449.8 kB / 366.2 MB, free: 4.645 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [DER-] (1) Real $DER.spring.w_rel slice: {} [ALGB] (1) Real brake.lossPower slice: {} [ALGB] (1) Real clutch.lossPower slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) brake.phi = inertia1.phi - fixed.phi0 ($RES_SIM_23) slice: {} [SCAL] (1) spring.phi_rel = inertia1.phi - inertia2.phi ($RES_SIM_34) slice: {} [SCAL] (1) clutch.phi_rel = inertia2.phi - inertia3.phi ($RES_SIM_48) slice: {}