Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.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.SynchronousMachine4WindingsExact,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_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact,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_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 116.1 kB / 17.11 MB, free: 5.969 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.00202/0.00202, allocations: 192 kB / 18.04 MB, free: 5.043 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.577/1.577, allocations: 205.1 MB / 223.9 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.0606/0.0606, allocations: 14.17 MB / 285.4 MB, free: 13.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.15e-05, allocations: 2.281 kB / 399.2 MB, free: 43.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact): time 0.006297/0.006337, allocations: 5.48 MB / 404.7 MB, free: 38.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004858/0.01121, allocations: 2.96 MB / 407.6 MB, free: 36.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008222/0.01205, allocations: 10.75 kB / 407.7 MB, free: 36.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009459/0.013, allocations: 267 kB / 407.9 MB, free: 36.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.01594, allocations: 1.247 MB / 409.2 MB, free: 35.37 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009583/0.01691, allocations: 478.3 kB / 409.6 MB, free: 34.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002234/0.01915, allocations: 1.644 MB / 411.3 MB, free: 33.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.01939, allocations: 75.09 kB / 411.4 MB, free: 33.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008227/0.02022, allocations: 0.5276 MB / 411.9 MB, free: 33.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006062/0.02083, allocations: 0.5987 MB / 412.5 MB, free: 33.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.02094, allocations: 72 kB / 412.5 MB, free: 33.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007576/0.02171, allocations: 371.7 kB / 412.9 MB, free: 32.67 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0008127/0.02253, allocations: 1.621 MB / 414.5 MB, free: 31.04 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000381/0.02292, allocations: 0.9055 MB / 415.4 MB, free: 30.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.02303, allocations: 131.6 kB / 415.6 MB, free: 29.99 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001479/0.02319, allocations: 47.92 kB / 415.6 MB, free: 29.94 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.002835/0.02603, allocations: 4.655 MB / 420.3 MB, free: 25.13 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.000309/0.02634, allocations: 388.2 kB / 420.6 MB, free: 24.75 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001743/0.02809, allocations: 2.561 MB / 423.2 MB, free: 22.15 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001545/0.02826, allocations: 247.7 kB / 423.5 MB, free: 21.91 MB / 318.1 MB Notification: Performance of Alias: time 0.001606/0.02988, allocations: 1.873 MB / 425.3 MB, free: 19.86 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001624/0.03005, allocations: 227.7 kB / 425.5 MB, free: 19.64 MB / 318.1 MB Notification: Performance of Detect States: time 0.0005762/0.03063, allocations: 0.7476 MB / 426.3 MB, free: 18.87 MB / 318.1 MB Notification: Performance of Events: time 0.0002245/0.03087, allocations: 211.7 kB / 426.5 MB, free: 18.66 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004681/0.03135, allocations: 0.6164 MB / 427.1 MB, free: 18.04 MB / 318.1 MB Notification: Performance of Causalize: time 0.002199/0.03355, allocations: 2.597 MB / 429.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001235/0.0348, allocations: 1.687 MB / 431.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of Inline: time 0.002851/0.03766, allocations: 3.67 MB / 435.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001807/0.03785, allocations: 183.6 kB / 435.3 MB, free: 9.785 MB / 318.1 MB Notification: Performance of Cleanup: time 7.837e-05/0.03793, allocations: 95.91 kB / 435.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of Causalize: time 0.00514/0.04308, allocations: 5.645 MB / 441 MB, free: 3.977 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!