Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001448, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 230.5 MB / 258.2 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.082e-05, allocations: 2.281 kB / 379.1 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.2892/0.2893, allocations: 26.34 MB / 405.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0254/0.3147, allocations: 8.27 MB / 413.7 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01187/0.3265, allocations: 243.5 kB / 414 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008855/0.3354, allocations: 1.97 MB / 415.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.3496, allocations: 2.76 MB / 418.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007458/0.357, allocations: 1.789 MB / 420.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02194/0.379, allocations: 11.93 MB / 432.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006957/0.3859, allocations: 2.584 MB / 435 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009068/0.395, allocations: 4.066 MB / 439.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009602/0.4046, allocations: 4.265 MB / 443.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003203/0.4078, allocations: 0.8047 MB / 444.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007193/0.415, allocations: 1.561 MB / 445.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.02213/0.4371, allocations: 14.68 MB / 460.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.01175/0.4489, allocations: 9.094 MB / 469.5 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003549/0.4524, allocations: 0.5117 MB / 470 MB, free: 1.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.001705/0.4541, allocations: 147.5 kB / 470.1 MB, free: 1.535 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.06581/0.5199, allocations: 40.94 MB / 0.4991 GB, free: 7.871 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0117/0.5316, allocations: 4.62 MB / 0.5036 GB, free: 3.172 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.04849/0.5801, allocations: 26.38 MB / 0.5293 GB, free: 8.668 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0101/0.5902, allocations: 3.204 MB / 0.5325 GB, free: 5.273 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.3287/0.9189, allocations: 26.26 MB / 0.5581 GB, free: 72.49 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.005735/0.9247, allocations: 2.461 MB / 0.5605 GB, free: 71.96 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002781/0.9274, allocations: 1.608 MB / 0.5621 GB, free: 71.72 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.00472/0.9322, allocations: 4.216 MB / 0.5662 GB, free: 71.3 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.001458/0.9336, allocations: 0.879 MB / 0.5671 GB, free: 71.13 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.009857/0.9435, allocations: 7.117 MB / 0.574 GB, free: 69.93 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.5189938199473545] 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'] 1.0439002600032836 1.057719927 0.600705947 Calling exit ...