Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.001505/0.001505, allocations: 107.6 kB / 21.2 MB, free: 0.6641 MB / 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.001381/0.001381, allocations: 208.8 kB / 24.49 MB, free: 3.961 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.508/1.508, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.343e-05, allocations: 3.688 kB / 378.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.222/0.222, allocations: 8.566 MB / 387.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007112/0.2291, allocations: 2.981 MB / 390.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.2302, allocations: 71.28 kB / 390.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.2321, allocations: 0.675 MB / 391.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.2344, allocations: 0.8184 MB / 392.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.2353, allocations: 397.6 kB / 392.4 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003639/0.2389, allocations: 2.926 MB / 395.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.2402, allocations: 0.7271 MB / 396.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.2418, allocations: 1.127 MB / 397.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.2432, allocations: 1.245 MB / 398.5 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002923/0.2435, allocations: 193.9 kB / 398.7 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.2447, allocations: 0.5146 MB / 399.2 MB, free: 4.289 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002818/0.2475, allocations: 3.933 MB / 403.1 MB, free: 1.766 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00141/0.2489, allocations: 2.423 MB / 405.5 MB, free: 88 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.2493, allocations: 148.2 kB / 405.7 MB, free: 88 kB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003774/0.2497, allocations: 49.34 kB / 405.7 MB, free: 72 kB / 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.01185/0.2615, allocations: 10.52 MB / 416.2 MB, free: 7.602 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001456/0.263, allocations: 1.175 MB / 417.4 MB, free: 6.406 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005604/0.2686, allocations: 5.286 MB / 422.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00154/0.2701, allocations: 0.9164 MB / 423.6 MB, free: 32 kB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01113/0.2812, allocations: 7.35 MB / 431 MB, free: 7.953 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001026/0.2823, allocations: 0.6283 MB / 431.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000455/0.2827, allocations: 348 kB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.00106/0.2838, allocations: 0.8737 MB / 432.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002772/0.2841, allocations: 178.6 kB / 433 MB, free: 5.77 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.00173/0.2858, allocations: 1.425 MB / 434.4 MB, free: 4.312 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.9900667406618595] 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.3068750179372728 0.320436585 0.067775322 Calling exit ...