Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 108.4 kB / 16.42 MB, free: 6.484 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.001044/0.001044, allocations: 187.2 kB / 17.36 MB, free: 5.703 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.632/1.632, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0584/0.0584, allocations: 14.16 MB / 284.8 MB, free: 13.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.749e-05, allocations: 2.281 kB / 398.5 MB, free: 43.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact): time 0.00663/0.006666, allocations: 5.49 MB / 404 MB, free: 38.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005543/0.01225, allocations: 2.956 MB / 407 MB, free: 36.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007423/0.01304, allocations: 11.34 kB / 407 MB, free: 36.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.01417, allocations: 271.6 kB / 407.3 MB, free: 36.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.0171, allocations: 1.234 MB / 408.5 MB, free: 35.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.01809, allocations: 480.7 kB / 409 MB, free: 35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002036/0.02014, allocations: 1.642 MB / 410.6 MB, free: 34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.02038, allocations: 75.86 kB / 410.7 MB, free: 33.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007179/0.0211, allocations: 0.525 MB / 411.2 MB, free: 33.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005281/0.02164, allocations: 0.6088 MB / 411.8 MB, free: 33.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.274e-05/0.02174, allocations: 76 kB / 411.9 MB, free: 33.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000795/0.02255, allocations: 363.7 kB / 412.2 MB, free: 32.66 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0008053/0.02336, allocations: 1.629 MB / 413.9 MB, free: 31.02 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000469/0.02384, allocations: 0.904 MB / 414.8 MB, free: 30.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.02399, allocations: 131.6 kB / 414.9 MB, free: 29.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001808/0.02417, allocations: 51.84 kB / 415 MB, free: 29.92 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.002826/0.027, allocations: 4.683 MB / 419.6 MB, free: 25.08 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003106/0.02732, allocations: 392.2 kB / 420 MB, free: 24.7 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001932/0.02926, allocations: 2.565 MB / 422.6 MB, free: 22.1 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001947/0.02947, allocations: 247.7 kB / 422.8 MB, free: 21.86 MB / 318.1 MB Notification: Performance of Alias: time 0.002099/0.03158, allocations: 1.869 MB / 424.7 MB, free: 19.81 MB / 318.1 MB Notification: Performance of simplify2: time 0.000178/0.03177, allocations: 231.7 kB / 424.9 MB, free: 19.58 MB / 318.1 MB Notification: Performance of Detect States: time 0.001037/0.03282, allocations: 0.7476 MB / 425.7 MB, free: 18.81 MB / 318.1 MB Notification: Performance of Events: time 0.0002564/0.03309, allocations: 211.7 kB / 425.9 MB, free: 18.61 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0006067/0.0337, allocations: 0.6242 MB / 426.5 MB, free: 17.97 MB / 318.1 MB Notification: Performance of Causalize: time 0.002414/0.03612, allocations: 2.589 MB / 429.1 MB, free: 15.37 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.00157/0.03771, allocations: 1.687 MB / 430.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of Inline: time 0.002978/0.04069, allocations: 3.703 MB / 434.5 MB, free: 9.895 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001675/0.04087, allocations: 175.7 kB / 434.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of Cleanup: time 6.661e-05/0.04095, allocations: 107.9 kB / 434.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of Causalize: time 0.005326/0.04628, allocations: 5.797 MB / 440.6 MB, free: 3.73 MB / 318.1 MB Error: Internal error NBTearing.minimal failed. (10|10) Discrete Variables **************************** [PRMT] (1) final parameter Real machine.rQ2Pu (fixed = false, start = 0.001, min = 1e-5) [PRMT] (1) final parameter Real machine.LQ2Pu (fixed = false, start = 0.1, min = 0.001) [PRMT] (1) final parameter Real machine.T6qPu (fixed = false, start = 10.0, min = 0.0) [PRMT] (1) final parameter Real machine.T5qPu (fixed = false, start = 100.0, min = 0.0) [PRMT] (1) final parameter Real machine.T4qPu (fixed = false, start = 100.0, min = 0.0) [PRMT] (1) final parameter Real machine.LQ1Pu (fixed = false, start = 0.5, min = 0.001) [PRMT] (1) final parameter Real machine.T3qPu (fixed = false, start = 10.0, min = 0.0) [PRMT] (1) final parameter Real machine.T1qPu (fixed = false, start = 1000.0, min = 0.0) [PRMT] (1) final parameter Real machine.rQ1Pu (fixed = false, start = 0.01, min = 1e-5) [PRMT] (1) final parameter Real machine.T2qPu (fixed = false, start = 100.0, min = 0.0) (0|0) Discrete Equations ************************** Error: Internal error NBInitialization.main failed to apply modules!