Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.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) Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,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.SynchronousMachine4WindingsNoLoad") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,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.SynchronousMachine4WindingsNoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001505, allocations: 113.8 kB / 17.1 MB, free: 5.957 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.001426/0.001426, allocations: 196.3 kB / 18.04 MB, free: 5.031 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.52/1.52, 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.06013/0.06013, allocations: 14.17 MB / 285.4 MB, free: 13.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.157e-05, allocations: 2.281 kB / 397.8 MB, free: 43.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.0058/0.005841, allocations: 5.496 MB / 403.3 MB, free: 39.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.01047, allocations: 2.956 MB / 406.3 MB, free: 37.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007354/0.01124, allocations: 11.38 kB / 406.3 MB, free: 37.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008886/0.01214, allocations: 274.9 kB / 406.5 MB, free: 37.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.0151, allocations: 1.232 MB / 407.8 MB, free: 36.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009626/0.01608, allocations: 481.2 kB / 408.2 MB, free: 35.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.01803, allocations: 1.607 MB / 409.8 MB, free: 34.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.01824, allocations: 80.62 kB / 409.9 MB, free: 34.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007165/0.01896, allocations: 0.5126 MB / 410.4 MB, free: 34.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.01955, allocations: 0.5876 MB / 411 MB, free: 34.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.01968, allocations: 67.09 kB / 411.1 MB, free: 34.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.02069, allocations: 345.2 kB / 411.4 MB, free: 34.09 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0008778/0.02158, allocations: 1.61 MB / 413 MB, free: 32.53 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003766/0.02197, allocations: 0.9095 MB / 413.9 MB, free: 31.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.0221, allocations: 127.6 kB / 414.1 MB, free: 31.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002023/0.02231, allocations: 51.92 kB / 414.1 MB, free: 31.43 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.002749/0.02507, allocations: 4.624 MB / 418.7 MB, free: 26.65 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003247/0.0254, allocations: 380.2 kB / 419.1 MB, free: 26.27 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001661/0.02707, allocations: 2.386 MB / 421.5 MB, free: 23.86 MB / 318.1 MB Notification: Performance of simplify1: time 0.000143/0.02723, allocations: 215.7 kB / 421.7 MB, free: 23.64 MB / 318.1 MB Notification: Performance of Alias: time 0.001641/0.02887, allocations: 1.841 MB / 423.5 MB, free: 21.62 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001284/0.02901, allocations: 203.8 kB / 423.7 MB, free: 21.43 MB / 318.1 MB Notification: Performance of Detect States: time 0.000432/0.02945, allocations: 0.6813 MB / 424.4 MB, free: 20.72 MB / 318.1 MB Notification: Performance of Events: time 0.0001687/0.02963, allocations: 195.7 kB / 424.6 MB, free: 20.53 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000469/0.03011, allocations: 0.6164 MB / 425.2 MB, free: 19.91 MB / 318.1 MB Notification: Performance of Causalize: time 0.002303/0.03242, allocations: 2.593 MB / 427.8 MB, free: 17.3 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001241/0.03367, allocations: 1.59 MB / 429.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of Inline: time 0.003363/0.03704, allocations: 3.584 MB / 433 MB, free: 12.04 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001822/0.03724, allocations: 175.6 kB / 433.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of Cleanup: time 8.558e-05/0.03733, allocations: 107.9 kB / 433.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of Causalize: time 0.005427/0.04276, allocations: 5.414 MB / 438.7 MB, free: 6.273 MB / 318.1 MB Error: Internal error NBTearing.minimal failed. (2|2) Discrete Variables ************************** [PRMT] (1) final parameter Real machine.LQ1Pu (fixed = false, start = 0.5, min = 0.001) [PRMT] (1) final parameter Real machine.rQ1Pu (fixed = false, start = 0.01, min = 1e-5) (0|0) Discrete Equations ************************** Error: Internal error NBInitialization.main failed to apply modules!