Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.001917/0.001917, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.002506/0.002506, allocations: 211 kB / 24.55 MB, free: 3.824 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.59/1.59, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.679e-05, allocations: 2.281 kB / 379.1 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2668/0.2668, allocations: 21.33 MB / 400.4 MB, free: 2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02194/0.2888, allocations: 7.105 MB / 407.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007912/0.2967, allocations: 181.5 kB / 407.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007548/0.3042, allocations: 1.589 MB / 409.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.3171, allocations: 2.348 MB / 411.6 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006882/0.324, allocations: 1.476 MB / 413.1 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01674/0.3408, allocations: 8.864 MB / 422 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007264/0.348, allocations: 2.01 MB / 424 MB, free: 192 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007177/0.3552, allocations: 3.119 MB / 427.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007135/0.3623, allocations: 3.194 MB / 430.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002276/0.3646, allocations: 0.6054 MB / 430.9 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006413/0.371, allocations: 1.412 MB / 432.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0186/0.3896, allocations: 11.4 MB / 443.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.009656/0.3993, allocations: 6.977 MB / 450.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003807/0.4031, allocations: 424 kB / 451.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.00192/0.405, allocations: 127.5 kB / 451.2 MB, free: 4.742 MB / 350.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.05017/0.4552, allocations: 30.48 MB / 481.7 MB, free: 5.688 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.008521/0.4637, allocations: 3.585 MB / 485.3 MB, free: 2.02 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.03783/0.5015, allocations: 18.58 MB / 0.4921 GB, free: 15.31 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.009046/0.5106, allocations: 2.425 MB / 0.4944 GB, free: 12.68 MB / 414.1 MB Notification: Performance of [SIM] Alias: time 0.04275/0.5533, allocations: 20.83 MB / 0.5148 GB, free: 6.242 MB / 430.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004347/0.5577, allocations: 1.797 MB / 0.5165 GB, free: 4.289 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002309/0.56, allocations: 1.124 MB / 0.5176 GB, free: 3.074 MB / 430.1 MB Notification: Performance of [SIM] Detect States: time 0.004481/0.5645, allocations: 2.965 MB / 0.5205 GB, free: 16 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.001413/0.5659, allocations: 0.647 MB / 0.5211 GB, free: 15.35 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.006868/0.5727, allocations: 4.955 MB / 0.526 GB, free: 10.26 MB / 446.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.smeeM.phiMechanical. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.4537170859985054] 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.8996355039998889 0.910958215 0.503168251 Calling exit ...