Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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_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_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.001396/0.001396, allocations: 103.8 kB / 16.42 MB, free: 6.457 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.001599/0.001599, allocations: 188.3 kB / 17.35 MB, free: 5.699 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.658/1.658, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06158/0.06158, allocations: 14.17 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.688e-05, allocations: 4.531 kB / 398.5 MB, free: 43.13 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate): time 0.007869/0.007905, allocations: 5.484 MB / 404 MB, free: 38.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005085/0.01301, allocations: 2.964 MB / 407 MB, free: 36.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009222/0.01396, allocations: 12.06 kB / 407 MB, free: 36.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.01514, allocations: 270.8 kB / 407.3 MB, free: 36.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004333/0.01949, allocations: 1.231 MB / 408.5 MB, free: 35.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.02118, allocations: 482.6 kB / 409 MB, free: 34.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003169/0.02436, allocations: 1.63 MB / 410.6 MB, free: 34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.02466, allocations: 84.02 kB / 410.7 MB, free: 33.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.02582, allocations: 0.512 MB / 411.2 MB, free: 33.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.02687, allocations: 0.6049 MB / 411.8 MB, free: 33.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.02711, allocations: 72 kB / 411.9 MB, free: 33.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.02839, allocations: 351.7 kB / 412.2 MB, free: 32.68 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001393/0.0298, allocations: 1.621 MB / 413.8 MB, free: 31.05 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006666/0.03048, allocations: 0.912 MB / 414.7 MB, free: 30.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.03086, allocations: 127.6 kB / 414.9 MB, free: 30 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002128/0.03108, allocations: 47.92 kB / 414.9 MB, free: 29.95 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.004213/0.0353, allocations: 4.667 MB / 419.6 MB, free: 25.13 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0006325/0.03595, allocations: 392.1 kB / 420 MB, free: 24.74 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002377/0.03833, allocations: 2.436 MB / 422.4 MB, free: 22.27 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002834/0.03863, allocations: 215.8 kB / 422.6 MB, free: 22.06 MB / 318.1 MB Notification: Performance of Alias: time 0.002416/0.04105, allocations: 1.865 MB / 424.5 MB, free: 20.02 MB / 318.1 MB Notification: Performance of simplify2: time 0.000309/0.04138, allocations: 203.8 kB / 424.7 MB, free: 19.82 MB / 318.1 MB Notification: Performance of Detect States: time 0.0008537/0.04224, allocations: 0.7144 MB / 425.4 MB, free: 19.08 MB / 318.1 MB Notification: Performance of Events: time 0.0003768/0.04263, allocations: 191.7 kB / 425.6 MB, free: 18.89 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0007189/0.04336, allocations: 0.6203 MB / 426.2 MB, free: 18.27 MB / 318.1 MB Notification: Performance of Causalize: time 0.003155/0.04652, allocations: 2.589 MB / 428.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001762/0.0483, allocations: 1.633 MB / 430.4 MB, free: 14 MB / 318.1 MB Notification: Performance of Inline: time 0.004631/0.05294, allocations: 3.628 MB / 434 MB, free: 10.31 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002308/0.05319, allocations: 179.7 kB / 434.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0002625/0.05346, allocations: 103.9 kB / 434.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of Causalize: time 0.007656/0.06112, allocations: 5.598 MB / 439.9 MB, free: 4.355 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!