Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 104 kB / 21.25 MB, free: 0.5586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 191.3 kB / 24.53 MB, free: 3.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 225.7 MB / 253.4 MB, free: 12.76 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.295e-05, allocations: 9.453 kB / 371.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01179/0.01181, allocations: 8.517 MB / 380.3 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2179/0.2297, allocations: 2.915 MB / 383.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.2313, allocations: 74.97 kB / 383.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.2333, allocations: 0.6637 MB / 383.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005052/0.2384, allocations: 0.81 MB / 384.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.2402, allocations: 393.7 kB / 385.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005157/0.2453, allocations: 2.924 MB / 388 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.2471, allocations: 0.6839 MB / 388.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005066/0.2521, allocations: 1.116 MB / 389.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003909/0.256, allocations: 1.153 MB / 391 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004391/0.2565, allocations: 195.4 kB / 391.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.2588, allocations: 0.4928 MB / 391.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.005006/0.2638, allocations: 3.929 MB / 395.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.003112/0.2669, allocations: 2.415 MB / 398 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008385/0.2677, allocations: 148.2 kB / 398.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0006788/0.2684, allocations: 51.05 kB / 398.2 MB, free: 7.297 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: 553 (348) * Number of variables: 553 (316) Notification: Performance of [SIM] Bindings: time 0.009824/0.2782, allocations: 10.49 MB / 408.7 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001101/0.2793, allocations: 1.189 MB / 409.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005599/0.2849, allocations: 5.299 MB / 415.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001512/0.2865, allocations: 0.821 MB / 416 MB, free: 10.54 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01166/0.2981, allocations: 7.543 MB / 423.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009862/0.2991, allocations: 0.5876 MB / 424.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004754/0.2996, allocations: 348.1 kB / 424.5 MB, free: 1.258 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001143/0.3007, allocations: 0.8775 MB / 425.3 MB, free: 328 kB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0003139/0.301, allocations: 182.8 kB / 425.5 MB, free: 148 kB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001862/0.3029, allocations: 1.437 MB / 427 MB, free: 14.67 MB / 334.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.smr.inertiaRotor.w. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.863876873976551] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia.phi', 'loadInertia.w', 'smr.is[1]', 'smr.is[2]', 'smr.idq_rr[1]', 'smr.idq_rr[2]', 'smr.idq_sr[1]', 'smr.idq_sr[2]', 'vfController.x'] 0.324951879971195 0.339233154 0.06770802899999995 Calling exit ...