Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.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.SynchronousMachine4WindingsNoLoadAccurate,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_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,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_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 112.5 kB / 17.1 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.001058/0.001058, allocations: 196.2 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.611/1.611, 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.06417/0.06417, allocations: 14.16 MB / 285.4 MB, free: 13.88 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.9e-05/3.901e-05, allocations: 6 kB / 399.2 MB, free: 43.11 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate): time 0.007632/0.007679, allocations: 5.492 MB / 404.7 MB, free: 38.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004775/0.01248, allocations: 2.96 MB / 407.7 MB, free: 36.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.01298, allocations: 11.25 kB / 407.7 MB, free: 36.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008229/0.01381, allocations: 268 kB / 407.9 MB, free: 36.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.01641, allocations: 1.249 MB / 409.2 MB, free: 35.37 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000898/0.01732, allocations: 471.2 kB / 409.6 MB, free: 34.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.01916, allocations: 1.634 MB / 411.3 MB, free: 34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.01938, allocations: 72.16 kB / 411.3 MB, free: 33.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005777/0.01996, allocations: 0.5238 MB / 411.9 MB, free: 33.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.02049, allocations: 0.6022 MB / 412.5 MB, free: 33.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.634e-05/0.02058, allocations: 72 kB / 412.5 MB, free: 33.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.02121, allocations: 351.7 kB / 412.9 MB, free: 32.71 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0008491/0.02207, allocations: 1.621 MB / 414.5 MB, free: 31.07 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000375/0.02245, allocations: 0.9126 MB / 415.4 MB, free: 30.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.02259, allocations: 123.6 kB / 415.5 MB, free: 30.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000182/0.02278, allocations: 55.86 kB / 415.6 MB, free: 29.97 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.002856/0.02564, allocations: 4.67 MB / 420.3 MB, free: 25.14 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002774/0.02593, allocations: 384.2 kB / 420.6 MB, free: 24.77 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001898/0.02784, allocations: 2.436 MB / 423.1 MB, free: 22.3 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001333/0.02798, allocations: 219.7 kB / 423.3 MB, free: 22.08 MB / 318.1 MB Notification: Performance of Alias: time 0.00165/0.02964, allocations: 1.857 MB / 425.1 MB, free: 20.05 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001239/0.02977, allocations: 211.8 kB / 425.3 MB, free: 19.84 MB / 318.1 MB Notification: Performance of Detect States: time 0.0005148/0.03029, allocations: 0.7028 MB / 426.1 MB, free: 19.11 MB / 318.1 MB Notification: Performance of Events: time 0.0001771/0.03048, allocations: 195.7 kB / 426.2 MB, free: 18.92 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004945/0.03098, allocations: 0.6203 MB / 426.9 MB, free: 18.29 MB / 318.1 MB Notification: Performance of Causalize: time 0.002182/0.03317, allocations: 2.593 MB / 429.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001131/0.03431, allocations: 1.633 MB / 431.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of Inline: time 0.002818/0.03714, allocations: 3.63 MB / 434.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001507/0.0373, allocations: 179.7 kB / 434.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of Cleanup: time 6.478e-05/0.03737, allocations: 103.9 kB / 435 MB, free: 10.05 MB / 318.1 MB Notification: Performance of Causalize: time 0.004882/0.04226, allocations: 5.606 MB / 440.6 MB, free: 4.375 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!