Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.001807/0.001807, allocations: 100 kB / 21.25 MB, free: 428 kB / 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.00193/0.00193, allocations: 187.9 kB / 24.53 MB, free: 3.75 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.506/1.506, allocations: 225.7 MB / 253.4 MB, free: 12.77 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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.339e-05, allocations: 2.281 kB / 371.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2738/0.2739, allocations: 20.77 MB / 392.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.2924, allocations: 6.848 MB / 399.4 MB, free: 4.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00798/0.3004, allocations: 175.5 kB / 399.5 MB, free: 4.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007771/0.3082, allocations: 1.575 MB / 401.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.3218, allocations: 2.373 MB / 403.5 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006155/0.328, allocations: 1.424 MB / 404.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01768/0.3457, allocations: 8.68 MB / 413.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005741/0.3514, allocations: 2.013 MB / 415.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007988/0.3594, allocations: 3.097 MB / 418.7 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008286/0.3677, allocations: 3.163 MB / 421.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003281/0.371, allocations: 0.6016 MB / 422.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009012/0.38, allocations: 1.39 MB / 423.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.01697/0.3969, allocations: 11.34 MB / 435.2 MB, free: 7.734 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.008425/0.4054, allocations: 6.931 MB / 442.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003021/0.4084, allocations: 431.9 kB / 442.6 MB, free: 308 kB / 334.1 MB Notification: Performance of FrontEnd: time 0.001473/0.4099, allocations: 123.5 kB / 442.7 MB, free: 184 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 (1035) * Number of variables: 1496 (996) Notification: Performance of [SIM] Bindings: time 0.04752/0.4574, allocations: 30.36 MB / 473 MB, free: 1.25 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00659/0.464, allocations: 3.647 MB / 476.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.03035/0.4943, allocations: 18.53 MB / 495.2 MB, free: 10.86 MB / 398.1 MB Notification: Performance of [SIM] Simplify 1: time 0.008645/0.503, allocations: 2.409 MB / 497.6 MB, free: 8.254 MB / 398.1 MB Notification: Performance of [SIM] Alias: time 0.03898/0.542, allocations: 20.83 MB / 0.5063 GB, free: 1.812 MB / 414.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004544/0.5465, allocations: 1.786 MB / 0.508 GB, free: 15.87 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002334/0.5488, allocations: 1.124 MB / 0.5091 GB, free: 14.66 MB / 430.1 MB Notification: Performance of [SIM] Detect States: time 0.004611/0.5534, allocations: 2.942 MB / 0.512 GB, free: 11.6 MB / 430.1 MB Notification: Performance of [SIM] Events: time 0.00158/0.555, allocations: 0.6383 MB / 0.5126 GB, free: 10.96 MB / 430.1 MB Notification: Performance of [SIM] Partitioning: time 0.008689/0.5637, allocations: 4.947 MB / 0.5175 GB, free: 5.883 MB / 430.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.smeeM.phiMechanical. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.523928867012728] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeedE.phi', 'constantSpeedM.phi', 'smeeE.is[1]', 'smeeE.is[2]', 'smeeE.idq_dr[1]', 'smeeE.idq_rr[2]', 'smeeE.idq_sr[1]', 'smeeE.idq_sr[2]', 'smeeM.is[1]', 'smeeM.is[2]', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smeeM.stator.stray.port_p.Phi.im', 'smeeM.stator.stray.port_p.Phi.re'] 0.9094490280258469 0.9214387079999999 0.508412455 Calling exit ...