Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.OneWayClutch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.001066/0.001066, allocations: 189.9 kB / 18.68 MB, free: 4.27 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.187/1.187, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.062e-05, allocations: 2.281 kB / 351.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.00266/0.002688, allocations: 2.154 MB / 354.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.003703, allocations: 0.6933 MB / 354.8 MB, free: 448 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.003799, allocations: 7.938 kB / 354.8 MB, free: 440 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.00395, allocations: 27.72 kB / 354.8 MB, free: 412 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.004107, allocations: 83.34 kB / 354.9 MB, free: 328 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.004402, allocations: 111.7 kB / 355 MB, free: 216 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.00472, allocations: 307.4 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.004856, allocations: 68.25 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.005024, allocations: 119.6 kB / 355.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.00518, allocations: 119.5 kB / 355.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.00522, allocations: 20 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.005346, allocations: 75.88 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002346/0.005587, allocations: 360.1 kB / 356 MB, free: 15.15 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001038/0.005697, allocations: 216.8 kB / 356.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.005744, allocations: 31.88 kB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.733e-05/0.005776, allocations: 8 kB / 356.3 MB, free: 14.9 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: 44 (44) * Number of variables: 44 (44) Notification: Performance of Bindings: time 0.0009296/0.006712, allocations: 1.071 MB / 357.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001076/0.006827, allocations: 77.06 kB / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004858/0.00732, allocations: 0.5735 MB / 358 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simplify1: time 4.705e-05/0.007374, allocations: 47.94 kB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of Alias: time 0.0009311/0.008312, allocations: 0.8758 MB / 358.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simplify2: time 3.675e-05/0.008359, allocations: 35.94 kB / 359 MB, free: 11.99 MB / 302.1 MB Notification: Performance of Events: time 0.0001867/0.008553, allocations: 138 kB / 359.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002674/0.008828, allocations: 263.5 kB / 359.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002082/0.009045, allocations: 211.9 kB / 359.6 MB, free: 11.38 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [ALGB] (1) Real oneWayClutch.lossPower slice: {} (1|1) Unmatched Equations *************************** [SCAL] (1) oneWayClutch.phi_rel = inertiaOut.phi - inertiaIn.phi ($RES_SIM_11) slice: {}