Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.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.001547/0.001547, allocations: 103.4 kB / 20.52 MB, free: 1.148 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.001764/0.001764, allocations: 214.2 kB / 23.82 MB, free: 4.336 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.535/1.535, allocations: 207.7 MB / 234.7 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06614/0.06614, allocations: 14.38 MB / 301.3 MB, free: 7.215 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) 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(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="P.height|P.offset|P.startTime|PmPu.height|PmPu.offset|PmPu.startTime|Q.height|Q.offset|Q.startTime|bus.ERef|bus.PStart|bus.QStart|bus.R|bus.SNom|bus.UNom|bus.UPhaseStart|bus.URef|bus.UStart|bus.X|bus.localInit|bus.port.IBase|bus.port.IStart|bus.port.PStart|bus.port.QStart|bus.port.SBase|bus.port.SNom|bus.port.UBase|bus.port.UNom|bus.port.UPhaseStart|bus.port.UStart|bus.port.VBase|bus.port.VStart|bus.port.i.im|bus.port.i.re|bus.port.iStart.im|bus.port.iStart.re|bus.port.portVariablesPhases|bus.port.v.im|bus.port.v.re|bus.port.vStart.im|bus.port.vStart.re|bus.portVariablesPhases|bus.theta|line.B|line.G|line.PStartA|line.PStartB|line.QStartA|line.QStartB|line.R|line.SNom|line.UNom|line.UNomA|line.UNomB|line.UPhaseStartA|line.UPhaseStartB|line.UStartA|line.UStartB|line.X|line.computePowerBalance|line.iz.im|line.portA.IBase|line.portA.IStart|line.portA.PStart|line.portA.QStart|line.portA.SBase|line.portA.SNom|line.portA.UBase|line.portA.UNom|line.portA.UPhaseStart|line.portA.UStart|line.portA.VBase|line.portA.VStart|line.portA.iStart.im|line.portA.iStart.re|line.portA.portVariablesPhases|line.portA.vStart.im|line.portA.vStart.re|line.portB.IBase|line.portB.IStart|line.portB.PStart|line.portB.QStart|line.portB.SBase|line.portB.SNom|line.portB.UBase|line.portB.UNom|line.portB.UPhaseStart|line.portB.UStart|line.portB.VBase|line.portB.VStart|line.portB.iStart.im|line.portB.iStart.re|line.portB.portVariablesPhases|line.portB.vStart.im|line.portB.vStart.re|line.portVariablesPhases|line.vAt.im|line.vAt.re|line.vB.im|line.vB.re|load.PRefConst|load.PStart|load.QRefConst|load.QStart|load.SNom|load.UNom|load.UPhaseStart|load.URef|load.UStart|load.alpha|load.beta|load.localInit|load.port.IBase|load.port.IStart|load.port.PStart|load.port.QStart|load.port.SBase|load.port.SNom|load.port.UBase|load.port.UNom|load.port.UPhaseStart|load.port.UStart|load.port.VBase|load.port.VStart|load.port.i.im|load.port.i.re|load.port.iGen.im|load.port.iGen.re|load.port.iStart.im|load.port.iStart.re|load.port.portVariablesPhases|load.port.v.im|load.port.v.re|load.port.vStart.im|load.port.vStart.re|load.portVariablesPhases|machine.DPu|machine.H|machine.IStartPu|machine.LDPu|machine.LQ1Pu|machine.LQ2Pu|machine.LdPu|machine.LfPu|machine.LqPu|machine.MdPu|machine.MqPu|machine.PNom|machine.PStart|machine.QStart|machine.SNom|machine.T1dPu|machine.T1qPu|machine.T2dPu|machine.T2qPu|machine.T3dPu|machine.T3qPu|machine.T4dPu|machine.T4qPu|machine.T5dPu|machine.T5qPu|machine.T6dPu|machine.T6qPu|machine.Tpd|machine.Tpd0|machine.Tppd|machine.Tppd0|machine.Tppq|machine.Tppq0|machine.Tpq|machine.Tpq0|machine.UNom|machine.UPhaseStart|machine.UStart|machine.VStartPu|machine.cosPhiStart|machine.excitationPuType|machine.idPu|machine.idPuStart|machine.ifPuStart|machine.initOpt|machine.iqPuStart|machine.kuf|machine.lambdadPuStart|machine.lambdaqPuStart|machine.localInit|machine.mrcPu|machine.neglectTransformerTerms|machine.omega|machine.omegaBase|machine.port.IBase|machine.port.IStart|machine.port.PStart|machine.port.QStart|machine.port.SBase|machine.port.SNom|machine.port.UBase|machine.port.UNom|machine.port.UPhaseStart|machine.port.UStart|machine.port.VBase|machine.port.VStart|machine.port.i.im|machine.port.i.re|machine.port.iGen.im|machine.port.iGen.re|machine.port.iStart.im|machine.port.iStart.re|machine.port.portVariablesPhases|machine.port.v.im|machine.port.v.re|machine.port.vStart.im|machine.port.vStart.re|machine.portVariablesPhases|machine.rDPu|machine.rQ1Pu|machine.rQ2Pu|machine.raPu|machine.referenceGenerator|machine.rfPu|machine.sinPhiStart|machine.thetaStart|machine.timeConstApprox|machine.udPuStart|machine.ufPuIn|machine.ufPuInStart|machine.ufPuStart|machine.uqPuStart|machine.xdPu|machine.xlPu|machine.xpdPu|machine.xppdPu|machine.xppqPu|machine.xpqPu|machine.xqPu|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.referenceFrequency|time|ufPu.height|ufPu.offset|ufPu.startTime|ufPu.y",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="P.height|P.offset|P.startTime|PmPu.height|PmPu.offset|PmPu.startTime|Q.height|Q.offset|Q.startTime|bus.ERef|bus.PStart|bus.QStart|bus.R|bus.SNom|bus.UNom|bus.UPhaseStart|bus.URef|bus.UStart|bus.X|bus.localInit|bus.port.IBase|bus.port.IStart|bus.port.PStart|bus.port.QStart|bus.port.SBase|bus.port.SNom|bus.port.UBase|bus.port.UNom|bus.port.UPhaseStart|bus.port.UStart|bus.port.VBase|bus.port.VStart|bus.port.i.im|bus.port.i.re|bus.port.iStart.im|bus.port.iStart.re|bus.port.portVariablesPhases|bus.port.v.im|bus.port.v.re|bus.port.vStart.im|bus.port.vStart.re|bus.portVariablesPhases|bus.theta|line.B|line.G|line.PStartA|line.PStartB|line.QStartA|line.QStartB|line.R|line.SNom|line.UNom|line.UNomA|line.UNomB|line.UPhaseStartA|line.UPhaseStartB|line.UStartA|line.UStartB|line.X|line.computePowerBalance|line.iz.im|line.portA.IBase|line.portA.IStart|line.portA.PStart|line.portA.QStart|line.portA.SBase|line.portA.SNom|line.portA.UBase|line.portA.UNom|line.portA.UPhaseStart|line.portA.UStart|line.portA.VBase|line.portA.VStart|line.portA.iStart.im|line.portA.iStart.re|line.portA.portVariablesPhases|line.portA.vStart.im|line.portA.vStart.re|line.portB.IBase|line.portB.IStart|line.portB.PStart|line.portB.QStart|line.portB.SBase|line.portB.SNom|line.portB.UBase|line.portB.UNom|line.portB.UPhaseStart|line.portB.UStart|line.portB.VBase|line.portB.VStart|line.portB.iStart.im|line.portB.iStart.re|line.portB.portVariablesPhases|line.portB.vStart.im|line.portB.vStart.re|line.portVariablesPhases|line.vAt.im|line.vAt.re|line.vB.im|line.vB.re|load.PRefConst|load.PStart|load.QRefConst|load.QStart|load.SNom|load.UNom|load.UPhaseStart|load.URef|load.UStart|load.alpha|load.beta|load.localInit|load.port.IBase|load.port.IStart|load.port.PStart|load.port.QStart|load.port.SBase|load.port.SNom|load.port.UBase|load.port.UNom|load.port.UPhaseStart|load.port.UStart|load.port.VBase|load.port.VStart|load.port.i.im|load.port.i.re|load.port.iGen.im|load.port.iGen.re|load.port.iStart.im|load.port.iStart.re|load.port.portVariablesPhases|load.port.v.im|load.port.v.re|load.port.vStart.im|load.port.vStart.re|load.portVariablesPhases|machine.DPu|machine.H|machine.IStartPu|machine.LDPu|machine.LQ1Pu|machine.LQ2Pu|machine.LdPu|machine.LfPu|machine.LqPu|machine.MdPu|machine.MqPu|machine.PNom|machine.PStart|machine.QStart|machine.SNom|machine.T1dPu|machine.T1qPu|machine.T2dPu|machine.T2qPu|machine.T3dPu|machine.T3qPu|machine.T4dPu|machine.T4qPu|machine.T5dPu|machine.T5qPu|machine.T6dPu|machine.T6qPu|machine.Tpd|machine.Tpd0|machine.Tppd|machine.Tppd0|machine.Tppq|machine.Tppq0|machine.Tpq|machine.Tpq0|machine.UNom|machine.UPhaseStart|machine.UStart|machine.VStartPu|machine.cosPhiStart|machine.excitationPuType|machine.idPu|machine.idPuStart|machine.ifPuStart|machine.initOpt|machine.iqPuStart|machine.kuf|machine.lambdadPuStart|machine.lambdaqPuStart|machine.localInit|machine.mrcPu|machine.neglectTransformerTerms|machine.omega|machine.omegaBase|machine.port.IBase|machine.port.IStart|machine.port.PStart|machine.port.QStart|machine.port.SBase|machine.port.SNom|machine.port.UBase|machine.port.UNom|machine.port.UPhaseStart|machine.port.UStart|machine.port.VBase|machine.port.VStart|machine.port.i.im|machine.port.i.re|machine.port.iGen.im|machine.port.iGen.re|machine.port.iStart.im|machine.port.iStart.re|machine.port.portVariablesPhases|machine.port.v.im|machine.port.v.re|machine.port.vStart.im|machine.port.vStart.re|machine.portVariablesPhases|machine.rDPu|machine.rQ1Pu|machine.rQ2Pu|machine.raPu|machine.referenceGenerator|machine.rfPu|machine.sinPhiStart|machine.thetaStart|machine.timeConstApprox|machine.udPuStart|machine.ufPuIn|machine.ufPuInStart|machine.ufPuStart|machine.uqPuStart|machine.xdPu|machine.xlPu|machine.xpdPu|machine.xppdPu|machine.xppqPu|machine.xpqPu|machine.xqPu|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.referenceFrequency|time|ufPu.height|ufPu.offset|ufPu.startTime|ufPu.y",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.79e-05, allocations: 2.281 kB / 422.7 MB, free: 38.56 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing): time 0.006838/0.006856, allocations: 8.644 MB / 431.4 MB, free: 29.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005814/0.01267, allocations: 4.199 MB / 435.6 MB, free: 25.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.01376, allocations: 115 kB / 435.7 MB, free: 25.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.01483, allocations: 488.9 kB / 436.2 MB, free: 25.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.01861, allocations: 1.822 MB / 438 MB, free: 23.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.01993, allocations: 0.8138 MB / 438.8 MB, free: 22.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003031/0.02296, allocations: 3.481 MB / 442.3 MB, free: 18.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.02325, allocations: 96 kB / 442.4 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.02516, allocations: 1.648 MB / 444 MB, free: 17.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000921/0.02609, allocations: 0.9257 MB / 444.9 MB, free: 16.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.02619, allocations: 80 kB / 445 MB, free: 16.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007763/0.02697, allocations: 379.8 kB / 445.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001731/0.0287, allocations: 3.202 MB / 448.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009745/0.02967, allocations: 2.106 MB / 450.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.0299, allocations: 140 kB / 450.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002846/0.03019, allocations: 115.7 kB / 450.9 MB, free: 10.19 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: 252 (190) * Number of variables: 252 (252) Notification: Performance of [SIM] Bindings: time 0.005358/0.03554, allocations: 8.429 MB / 459.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000831/0.03638, allocations: 0.9194 MB / 460.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005725/0.0421, allocations: 5.243 MB / 465.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001272/0.04337, allocations: 0.707 MB / 466.2 MB, free: 10.38 MB / 334.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.006414/0.04979, allocations: 4.177 MB / 470.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001099/0.05089, allocations: 0.6514 MB / 471.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004833/0.05137, allocations: 389.3 kB / 471.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001095/0.05246, allocations: 0.9619 MB / 472.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002449/0.05271, allocations: 119.9 kB / 472.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.00169/0.0544, allocations: 1.311 MB / 473.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.005037/0.05944, allocations: 3.521 MB / 477.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003098/0.06253, allocations: 2.752 MB / 480.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.002589/0.06512, allocations: 1.313 MB / 481.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.004546/0.06967, allocations: 4.613 MB / 486 MB, free: 5.707 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 0.0002085/0.06988, allocations: 84.14 kB / 486.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.0007906/0.07067, allocations: 0.679 MB / 486.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.007534/0.0782, allocations: 4.963 MB / 491.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 0.001271/0.07947, allocations: 0.9534 MB / 492.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 1.853e-06/0.07948, allocations: 0 / 492.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001691/0.08117, allocations: 1.065 MB / 493.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.656e-06/0.08118, allocations: 9.25 kB / 493.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 0.0008329/0.08201, allocations: 0.714 MB / 494.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 2.452e-05/0.08203, allocations: 12 kB / 494.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.007083/0.08912, allocations: 4.924 MB / 499.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.02323/0.1123, allocations: 17.2 MB / 0.5045 GB, free: 6.547 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {machine.f, machine.theta, machine.lambdafPu, machine.lambdaDPu, machine.lambdaQ1Pu, machine.lambdaQ2Pu} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 130 (scalar:130, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 155 (scalar:155, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 5, nonlinear:0) Notification: Performance of backend: time 0.0001277/0.1125, allocations: 54.16 kB / 0.5046 GB, free: 6.5 MB / 382.1 MB Warning: NSimJacobian.SimJacobian.create could not generate sparsity pattern. Notification: Performance of SimCode: time 0.009004/0.1215, allocations: 6.418 MB / 0.5108 GB, free: 15.93 MB / 398.1 MB Notification: Performance of Templates: time 0.2419/0.3634, allocations: 20.51 MB / 0.5309 GB, free: 74.12 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.86135264497716] Failed to read output from testmodel.py, exit status != 0: 0.37056333699729294 0.38144396900000005 0.34898603300000003 Calling exit ...