Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.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.001801/0.001801, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002154/0.002154, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.539/1.539, allocations: 230.6 MB / 258.3 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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|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.ComparisonPolyphase.SMEE_Generator_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|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.ComparisonPolyphase.SMEE_Generator_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.206e-05, allocations: 2.281 kB / 379.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.2319/0.232, allocations: 26.34 MB / 405.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02372/0.2557, allocations: 8.277 MB / 413.7 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008645/0.2643, allocations: 239.6 kB / 414 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007949/0.2723, allocations: 1.972 MB / 415.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01298/0.2852, allocations: 2.752 MB / 418.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00786/0.2931, allocations: 1.791 MB / 420.5 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01987/0.313, allocations: 11.93 MB / 432.4 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/0.323, allocations: 2.584 MB / 435 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009343/0.3323, allocations: 4.066 MB / 439.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01033/0.3427, allocations: 4.273 MB / 443.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003227/0.3459, allocations: 0.8047 MB / 444.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00723/0.3531, allocations: 1.552 MB / 445.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.02151/0.3746, allocations: 14.67 MB / 460.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.01173/0.3864, allocations: 9.114 MB / 469.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003914/0.3903, allocations: 0.5078 MB / 470 MB, free: 1.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.002721/0.393, allocations: 139.5 kB / 470.1 MB, free: 1.816 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 (1315) * Number of variables: 2293 (1293) Notification: Performance of [SIM] Bindings: time 0.06833/0.4613, allocations: 40.94 MB / 0.4991 GB, free: 8.156 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.011/0.4723, allocations: 4.623 MB / 0.5036 GB, free: 3.457 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.04388/0.5162, allocations: 26.38 MB / 0.5294 GB, free: 8.949 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01069/0.5269, allocations: 3.208 MB / 0.5325 GB, free: 5.551 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.3081/0.835, allocations: 26.26 MB / 0.5581 GB, free: 72.78 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.006045/0.8411, allocations: 2.46 MB / 0.5605 GB, free: 72.25 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002558/0.8436, allocations: 1.605 MB / 0.5621 GB, free: 72.01 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.004701/0.8483, allocations: 4.222 MB / 0.5662 GB, free: 71.57 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.001448/0.8498, allocations: 0.8646 MB / 0.5671 GB, free: 71.43 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.008447/0.8582, allocations: 7.119 MB / 0.574 GB, free: 70.29 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.6055773480329663] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeed3.phi', 'constantSpeedM.phi', 'smee3.is[1]', 'smee3.is[2]', 'smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee3.stator.stray.port_p.Phi.im', 'smee3.stator.stray.port_p.Phi.re', 'smeeM.is[1]', 'smeeM.is[2]', 'smeeM.is[3]', 'smeeM.is[4]', '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.9394622800173238 0.948183611 0.552451268 Calling exit ...