Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.002213/0.002213, allocations: 109.6 kB / 22 MB, free: 5.219 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.001566/0.001566, allocations: 214 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 207.7 MB / 236.2 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.612e-05/3.612e-05, allocations: 2.281 kB / 348.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter): time 0.02531/0.02534, allocations: 17.5 MB / 366 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01703/0.04237, allocations: 5.71 MB / 371.8 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007375/0.04974, allocations: 147 kB / 371.9 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006509/0.05625, allocations: 1.358 MB / 373.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00976/0.06601, allocations: 1.938 MB / 375.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004862/0.07087, allocations: 1.242 MB / 376.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0157/0.08657, allocations: 7.359 MB / 383.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004194/0.09077, allocations: 1.634 MB / 385.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006651/0.09742, allocations: 2.66 MB / 388.1 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3084/0.4058, allocations: 2.714 MB / 390.8 MB, free: 19.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002689/0.4085, allocations: 0.4969 MB / 391.3 MB, free: 19.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005362/0.4139, allocations: 0.999 MB / 392.3 MB, free: 19.07 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.01482/0.4287, allocations: 9.375 MB / 401.7 MB, free: 15.96 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.008009/0.4367, allocations: 5.831 MB / 407.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00338/0.4401, allocations: 340.3 kB / 407.8 MB, free: 12.9 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.001312/0.4414, allocations: 111.4 kB / 407.9 MB, free: 12.88 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 (841) * Number of variables: 1347 (810) Notification: Performance of [SIM] Bindings: time 0.03843/0.4798, allocations: 25.8 MB / 433.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.007095/0.4869, allocations: 3.002 MB / 436.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.02982/0.5167, allocations: 15.51 MB / 452.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.007824/0.5246, allocations: 1.984 MB / 454.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.03731/0.5619, allocations: 17.25 MB / 471.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004352/0.5662, allocations: 1.593 MB / 473.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00176/0.568, allocations: 0.9916 MB / 474.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.003551/0.5715, allocations: 2.547 MB / 476.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.001292/0.5728, allocations: 0.5439 MB / 477.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.006418/0.5792, allocations: 4.244 MB / 481.4 MB, free: 1.168 MB / 366.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.smrE.i_0_s. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.3955027780029923] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertiaE.phi', 'loadInertiaE.w', 'loadInertiaM.phi', 'loadInertiaM.w', 'smrE.is[1]', 'smrE.is[2]', 'smrE.idq_rr[1]', 'smrE.idq_rr[2]', 'smrE.idq_sr[1]', 'smrE.idq_sr[2]', 'smrM.is[1]', 'smrM.is[2]', 'smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smrM.stator.strayReluctance.port_p.Phi.im', 'smrM.stator.strayReluctance.port_p.Phi.re', 'vfController.x'] 0.6431144299567677 0.6622710270000001 0.216736232 Calling exit ...