Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 211.2 kB / 24.55 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.652e-05, allocations: 6.219 kB / 379.1 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.2376/0.2376, allocations: 7.256 MB / 386.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005858/0.2434, allocations: 2.561 MB / 388.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009909/0.2444, allocations: 31.5 kB / 388.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.2461, allocations: 0.5067 MB / 389.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.2473, allocations: 469.4 kB / 389.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008631/0.2482, allocations: 363.3 kB / 390.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001922/0.2501, allocations: 1.837 MB / 392.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006761/0.2508, allocations: 346.9 kB / 392.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.2518, allocations: 0.6465 MB / 393.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000657/0.2525, allocations: 0.5245 MB / 393.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.2526, allocations: 123.7 kB / 393.7 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008851/0.2535, allocations: 359.5 kB / 394.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001947/0.2555, allocations: 2.639 MB / 396.7 MB, free: 5.125 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001027/0.2565, allocations: 1.663 MB / 398.4 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.2568, allocations: 113.7 kB / 398.5 MB, free: 3.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002874/0.2571, allocations: 49.61 kB / 398.5 MB, free: 3.934 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: 247 (247) * Number of variables: 247 (247) Notification: Performance of [SIM] Bindings: time 0.006465/0.2635, allocations: 6.856 MB / 405.4 MB, free: 15.24 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009701/0.2645, allocations: 0.6261 MB / 406 MB, free: 14.84 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.003633/0.2681, allocations: 2.947 MB / 408.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00106/0.2692, allocations: 458.4 kB / 409.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01115/0.2803, allocations: 5.376 MB / 414.8 MB, free: 8.656 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005294/0.2809, allocations: 270.8 kB / 415 MB, free: 8.34 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002101/0.2811, allocations: 164.1 kB / 415.2 MB, free: 8.152 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0006282/0.2817, allocations: 434.2 kB / 415.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.000211/0.2819, allocations: 100.1 kB / 415.7 MB, free: 7.574 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008372/0.2827, allocations: 0.6015 MB / 416.3 MB, free: 6.922 MB / 318.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.loadInertia.phi. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.709757903998252] Failed to read output from testmodel.py, exit status != 0: ['time', 'PID.I.y', 'dcpm.la.i', 'firstOrder.y', 'loadInertia.phi', 'loadInertia.w'] 0.29440487298415974 0.30973472700000004 0.04952966 Calling exit ...