Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001636/0.001636, allocations: 109.7 kB / 22 MB, free: 5.227 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.001685/0.001685, allocations: 209.5 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.722/1.722, allocations: 207.7 MB / 236.2 MB, free: 9.75 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.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.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/2.824e-05, allocations: 2.281 kB / 348.5 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.02876/0.02879, allocations: 20.71 MB / 369.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02124/0.05003, allocations: 6.826 MB / 376.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008548/0.05858, allocations: 163 kB / 376.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008644/0.06722, allocations: 1.557 MB / 377.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01446/0.08168, allocations: 2.31 MB / 380.1 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007402/0.08909, allocations: 1.485 MB / 381.6 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.302/0.3911, allocations: 8.61 MB / 390.2 MB, free: 17.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005218/0.3963, allocations: 1.972 MB / 392.2 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007963/0.4043, allocations: 3.092 MB / 395.3 MB, free: 16.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.4147, allocations: 3.149 MB / 398.4 MB, free: 16.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00312/0.4178, allocations: 0.5985 MB / 399 MB, free: 16.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009842/0.4276, allocations: 1.369 MB / 400.4 MB, free: 16.07 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.02015/0.4478, allocations: 11.31 MB / 411.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.008819/0.4566, allocations: 6.929 MB / 418.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004408/0.461, allocations: 418.8 kB / 419 MB, free: 7.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.002021/0.463, allocations: 131.9 kB / 419.2 MB, free: 7.82 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: 1496 (1028) * Number of variables: 1496 (996) Notification: Performance of [SIM] Bindings: time 0.05912/0.5222, allocations: 30.27 MB / 449.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01138/0.5335, allocations: 3.661 MB / 453.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.04418/0.5777, allocations: 18.43 MB / 471.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01156/0.5893, allocations: 2.414 MB / 473.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.04595/0.6352, allocations: 20.84 MB / 494.8 MB, free: 2.633 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.005234/0.6405, allocations: 1.769 MB / 496.6 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002628/0.6431, allocations: 1.127 MB / 497.7 MB, free: 15.55 MB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.00519/0.6483, allocations: 2.909 MB / 0.4889 GB, free: 12.59 MB / 398.1 MB Notification: Performance of [SIM] Events: time 0.001468/0.6497, allocations: 0.5944 MB / 0.4894 GB, free: 12 MB / 398.1 MB Notification: Performance of [SIM] Partitioning: time 0.008526/0.6583, allocations: 4.925 MB / 0.4942 GB, free: 7.004 MB / 398.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.smeeM.phiMechanical. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.489145350002218] 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.strayReluctance.port_p.Phi.im', 'smeeM.stator.strayReluctance.port_p.Phi.re'] 0.7520247979555279 0.77082934 0.30368472100000005 Calling exit ...