Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.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.001447/0.001447, allocations: 104 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.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.001508/0.001508, allocations: 190.7 kB / 24.53 MB, free: 3.852 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.583/1.583, 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.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.468e-05, allocations: 2.281 kB / 371.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.2388/0.2388, allocations: 25.28 MB / 397.1 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.2584, allocations: 7.869 MB / 404.9 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00778/0.2662, allocations: 231 kB / 405.2 MB, free: 1.059 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005948/0.2721, allocations: 1.949 MB / 407.1 MB, free: 40 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.2848, allocations: 2.774 MB / 409.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006077/0.2909, allocations: 1.717 MB / 411.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02087/0.3118, allocations: 11.61 MB / 423.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00816/0.3199, allocations: 2.564 MB / 425.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00862/0.3285, allocations: 4.038 MB / 429.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00945/0.338, allocations: 4.179 MB / 434 MB, free: 9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003366/0.3414, allocations: 0.8047 MB / 434.8 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007257/0.3486, allocations: 1.553 MB / 436.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.02172/0.3703, allocations: 14.59 MB / 450.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.01093/0.3813, allocations: 9.033 MB / 460 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003438/0.3847, allocations: 0.5078 MB / 460.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.001838/0.3865, allocations: 151.5 kB / 460.6 MB, free: 14.12 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.08182/0.4683, allocations: 40.75 MB / 0.4896 GB, free: 4.664 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01257/0.4809, allocations: 4.671 MB / 0.4942 GB, free: 15.91 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.0481/0.529, allocations: 26.28 MB / 0.5199 GB, free: 5.504 MB / 430.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0103/0.5393, allocations: 3.188 MB / 0.523 GB, free: 2.129 MB / 430.1 MB Notification: Performance of [SIM] Alias: time 0.316/0.8554, allocations: 26.25 MB / 0.5486 GB, free: 83.83 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.01248/0.8678, allocations: 2.442 MB / 0.551 GB, free: 83.34 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.006487/0.8743, allocations: 1.592 MB / 0.5526 GB, free: 83.11 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.01046/0.8848, allocations: 4.21 MB / 0.5567 GB, free: 82.67 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.002138/0.8869, allocations: 0.8543 MB / 0.5575 GB, free: 82.53 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.01373/0.9007, allocations: 7.091 MB / 0.5644 GB, free: 82.22 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.5572563220048323] 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.9835615489864722 0.992566019 0.603544159 Calling exit ...