Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.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(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="PmPu.height|PmPu.offset|PmPu.startTime|bus.ERef|bus.PStart|bus.QStart|bus.R|bus.SNom|bus.UNom|bus.UPhaseStart|bus.URef|bus.UStart|bus.X|bus.Z.im|bus.Z.re|bus.i.im|bus.i.re|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|bus.v.im|bus.v.re|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.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.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.omegaRef|systemPowerGrids.referenceFrequency|time|ufPu.height|ufPu.offset|ufPu.startTime",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="PmPu.height|PmPu.offset|PmPu.startTime|bus.ERef|bus.PStart|bus.QStart|bus.R|bus.SNom|bus.UNom|bus.UPhaseStart|bus.URef|bus.UStart|bus.X|bus.Z.im|bus.Z.re|bus.i.im|bus.i.re|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|bus.v.im|bus.v.re|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.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.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.omegaRef|systemPowerGrids.referenceFrequency|time|ufPu.height|ufPu.offset|ufPu.startTime",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 113.3 kB / 17.11 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001412, allocations: 188.1 kB / 18.04 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06102/0.06102, allocations: 14.16 MB / 285.4 MB, free: 13.88 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.596e-05, allocations: 2.281 kB / 397.8 MB, free: 43.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.006119/0.006154, allocations: 5.477 MB / 403.3 MB, free: 39.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00581/0.01201, allocations: 2.967 MB / 406.3 MB, free: 37.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009589/0.013, allocations: 7.969 kB / 406.3 MB, free: 37.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000978/0.01399, allocations: 274.7 kB / 406.5 MB, free: 37.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.01688, allocations: 1.228 MB / 407.8 MB, free: 36.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/0.01787, allocations: 485.5 kB / 408.2 MB, free: 35.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.02003, allocations: 1.608 MB / 409.8 MB, free: 34.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.02022, allocations: 46.08 kB / 409.9 MB, free: 34.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008034/0.02104, allocations: 0.5143 MB / 410.4 MB, free: 34.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.02162, allocations: 0.58 MB / 411 MB, free: 34.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.02174, allocations: 66.81 kB / 411 MB, free: 34.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000865/0.02261, allocations: 346.4 kB / 411.4 MB, free: 34.09 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00082/0.02344, allocations: 1.609 MB / 413 MB, free: 32.57 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003311/0.02378, allocations: 0.9001 MB / 413.9 MB, free: 31.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.02392, allocations: 131.6 kB / 414 MB, free: 31.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001948/0.02412, allocations: 51.92 kB / 414.1 MB, free: 31.48 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: 110 (89) * Number of variables: 110 (110) Notification: Performance of Bindings: time 0.002247/0.02637, allocations: 3.577 MB / 417.6 MB, free: 27.75 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002367/0.02662, allocations: 264.2 kB / 417.9 MB, free: 27.48 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001326/0.02796, allocations: 1.815 MB / 419.7 MB, free: 25.64 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002192/0.02818, allocations: 316.5 kB / 420 MB, free: 25.3 MB / 318.1 MB Notification: Performance of Alias: time 0.001165/0.02936, allocations: 1.127 MB / 421.2 MB, free: 23.99 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002041/0.02957, allocations: 296.5 kB / 421.4 MB, free: 23.67 MB / 318.1 MB Notification: Performance of Detect States: time 0.0005156/0.0301, allocations: 469.8 kB / 421.9 MB, free: 23.19 MB / 318.1 MB Notification: Performance of Events: time 0.0001726/0.03028, allocations: 183.7 kB / 422.1 MB, free: 23.01 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003312/0.03062, allocations: 371.2 kB / 422.4 MB, free: 22.64 MB / 318.1 MB Notification: Performance of Causalize: time 0.001761/0.03239, allocations: 1.739 MB / 424.2 MB, free: 20.89 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008469/0.03325, allocations: 1.121 MB / 425.3 MB, free: 19.73 MB / 318.1 MB Notification: Performance of Inline: time 0.002163/0.03542, allocations: 2.711 MB / 428 MB, free: 16.97 MB / 318.1 MB Notification: Performance of Partitioning: time 8.938e-05/0.03552, allocations: 59.67 kB / 428.1 MB, free: 16.9 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0002136/0.03574, allocations: 431.5 kB / 428.5 MB, free: 16.48 MB / 318.1 MB Notification: Performance of Causalize: time 0.003684/0.03943, allocations: 3.496 MB / 432 MB, free: 12.92 MB / 318.1 MB Notification: Performance of Tearing: time 0.002906/0.04235, allocations: 3.686 MB / 435.7 MB, free: 8.891 MB / 318.1 MB Notification: Performance of Initialization: time 2.104e-06/0.04237, allocations: 0 / 435.7 MB, free: 8.891 MB / 318.1 MB Notification: Performance of Tearing: time 0.00195/0.04433, allocations: 2.104 MB / 437.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of Categorize: time 2.085e-05/0.04436, allocations: 4 kB / 437.8 MB, free: 6.734 MB / 318.1 MB Notification: Performance of Solve: time 0.00136/0.04573, allocations: 3.138 MB / 440.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of Jacobian: time 0.001961/0.0477, allocations: 1.682 MB / 442.6 MB, free: 1.453 MB / 318.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.theta, machine.omegaPu, machine.lambdafPu, machine.lambdaDPu, machine.lambdaQ1Pu, machine.lambdaQ2Pu} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 60 (scalar:60, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 1, nonlinear:4) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 126 (scalar:126, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 11 (linear: 7, nonlinear:4) Notification: Performance of backend: time 6.245e-05/0.04777, allocations: 31.5 kB / 442.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of SimCode: time 0.004739/0.05252, allocations: 5.022 MB / 447.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of Templates: time 0.0226/0.07514, allocations: 14.4 MB / 462.1 MB, free: 13.95 MB / 350.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe 2>&1)