Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.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.SynchronousMachine4WindingsAccurate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.SynchronousMachine4WindingsAccurate") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.SynchronousMachine4WindingsAccurate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.001789, allocations: 111.9 kB / 16.42 MB, free: 6.512 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.001758/0.001758, allocations: 184.2 kB / 17.35 MB, free: 5.754 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.587/1.587, 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.06094/0.06094, allocations: 14.17 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.831e-05/4.833e-05, allocations: 2.281 kB / 398.5 MB, free: 43.06 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate): time 0.007784/0.007843, allocations: 5.491 MB / 404 MB, free: 38.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005144/0.01301, allocations: 2.953 MB / 407 MB, free: 36.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006316/0.01366, allocations: 10.38 kB / 407 MB, free: 36.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008149/0.01449, allocations: 272.1 kB / 407.3 MB, free: 36.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.017, allocations: 1.239 MB / 408.5 MB, free: 35.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008172/0.01783, allocations: 481.9 kB / 409 MB, free: 34.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.01953, allocations: 1.63 MB / 410.6 MB, free: 33.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.01974, allocations: 71.36 kB / 410.7 MB, free: 33.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006907/0.02044, allocations: 0.5253 MB / 411.2 MB, free: 33.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.021, allocations: 0.5982 MB / 411.8 MB, free: 33.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.725e-05/0.02109, allocations: 68 kB / 411.9 MB, free: 33.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006823/0.02178, allocations: 347.7 kB / 412.2 MB, free: 32.74 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007729/0.02257, allocations: 1.613 MB / 413.8 MB, free: 31.11 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003249/0.0229, allocations: 0.9076 MB / 414.7 MB, free: 30.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.02303, allocations: 135.6 kB / 414.8 MB, free: 30.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001656/0.0232, allocations: 47.91 kB / 414.9 MB, free: 30.01 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.00276/0.02596, allocations: 4.643 MB / 419.5 MB, free: 25.21 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003159/0.02629, allocations: 392.2 kB / 419.9 MB, free: 24.82 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0016/0.0279, allocations: 2.432 MB / 422.3 MB, free: 22.36 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001478/0.02805, allocations: 219.7 kB / 422.6 MB, free: 22.14 MB / 318.1 MB Notification: Performance of Alias: time 0.001615/0.02968, allocations: 1.857 MB / 424.4 MB, free: 20.11 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001449/0.02983, allocations: 211.8 kB / 424.6 MB, free: 19.9 MB / 318.1 MB Notification: Performance of Detect States: time 0.0005147/0.03036, allocations: 0.6994 MB / 425.3 MB, free: 19.18 MB / 318.1 MB Notification: Performance of Events: time 0.0002057/0.03057, allocations: 199.7 kB / 425.5 MB, free: 18.98 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0005222/0.0311, allocations: 0.6125 MB / 426.1 MB, free: 18.36 MB / 318.1 MB Notification: Performance of Causalize: time 0.002273/0.03338, allocations: 2.597 MB / 428.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001203/0.0346, allocations: 1.629 MB / 430.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of Inline: time 0.002725/0.03733, allocations: 3.598 MB / 434 MB, free: 10.44 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001651/0.03751, allocations: 175.7 kB / 434.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of Cleanup: time 8.082e-05/0.03759, allocations: 107.9 kB / 434.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Causalize: time 0.005119/0.04272, allocations: 5.543 MB / 439.8 MB, free: 4.535 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!