Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001414/0.001414, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.00191/0.00191, allocations: 218.5 kB / 23.07 MB, free: 4.988 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.59/1.59, allocations: 207.7 MB / 233.9 MB, free: 9.77 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.06854/0.06854, allocations: 14.4 MB / 300.6 MB, free: 7.207 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_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_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/1.894e-05, allocations: 2.281 kB / 422 MB, free: 38.55 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing): time 0.007204/0.007223, allocations: 8.636 MB / 430.6 MB, free: 29.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006557/0.01378, allocations: 4.195 MB / 434.8 MB, free: 25.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.01546, allocations: 115 kB / 434.9 MB, free: 25.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.01703, allocations: 496.9 kB / 435.4 MB, free: 25.06 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004827/0.02186, allocations: 1.825 MB / 437.2 MB, free: 23.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.02364, allocations: 0.8135 MB / 438 MB, free: 22.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004855/0.0285, allocations: 3.47 MB / 441.5 MB, free: 18.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000547/0.02904, allocations: 90.2 kB / 441.6 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.03282, allocations: 1.659 MB / 443.3 MB, free: 17.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.03496, allocations: 0.9257 MB / 444.2 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004259/0.03538, allocations: 80 kB / 444.3 MB, free: 16.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.03744, allocations: 383.7 kB / 444.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.003745/0.04119, allocations: 3.194 MB / 447.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002064/0.04325, allocations: 2.113 MB / 449.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008331/0.04409, allocations: 136 kB / 450.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004881/0.04458, allocations: 123.7 kB / 450.2 MB, free: 10.18 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.005558/0.05013, allocations: 8.425 MB / 458.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007623/0.0509, allocations: 0.9156 MB / 459.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005782/0.05668, allocations: 5.255 MB / 464.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001265/0.05794, allocations: 0.6983 MB / 465.5 MB, free: 10.37 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.0062/0.06414, allocations: 4.178 MB / 469.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001173/0.06532, allocations: 0.6561 MB / 470.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005766/0.06589, allocations: 385.4 kB / 470.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001157/0.06705, allocations: 0.9542 MB / 471.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002201/0.06727, allocations: 123.8 kB / 471.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.00171/0.06898, allocations: 1.307 MB / 473.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.005198/0.07418, allocations: 3.525 MB / 476.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003613/0.07779, allocations: 2.752 MB / 479.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.002737/0.08053, allocations: 1.326 MB / 480.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.00491/0.08544, allocations: 4.602 MB / 485.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 0.0001924/0.08563, allocations: 80.14 kB / 485.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.0007753/0.08641, allocations: 0.679 MB / 486 MB, free: 4.922 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.007942/0.09435, allocations: 4.967 MB / 491 MB, free: 15.84 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 0.001445/0.09579, allocations: 0.9458 MB / 492 MB, free: 14.9 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.908e-06/0.0958, allocations: 4 kB / 492 MB, free: 14.9 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001934/0.09773, allocations: 1.065 MB / 493 MB, free: 13.81 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.272e-05/0.09774, allocations: 5.312 kB / 493 MB, free: 13.81 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 0.0009706/0.09871, allocations: 0.7217 MB / 493.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 2.857e-05/0.09874, allocations: 7.938 kB / 493.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.00748/0.1062, allocations: 4.925 MB / 498.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.01356/0.1198, allocations: 9.514 MB / 0.4963 GB, free: 14.29 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.0002366/0.12, allocations: 63.59 kB / 0.4964 GB, free: 14.24 MB / 382.1 MB Notification: Performance of SimCode: time 0.01036/0.1304, allocations: 6.989 MB / 0.5032 GB, free: 7.109 MB / 382.1 MB Notification: Performance of Templates: time 0.03876/0.1691, allocations: 20.53 MB / 0.5232 GB, free: 2.574 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.997783940983936] Failed to read output from testmodel.py, exit status != 0: 0.17698768200352788 0.434400274 0.387477543 Calling exit ...