Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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.001198/0.001198, allocations: 115.4 kB / 17.11 MB, free: 5.945 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.001175/0.001175, allocations: 193.5 kB / 18.05 MB, free: 5.02 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.525/1.525, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06183/0.06183, allocations: 14.17 MB / 285.4 MB, free: 13.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.023e-05, allocations: 2.281 kB / 399.2 MB, free: 43.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate): time 0.006158/0.006187, allocations: 5.501 MB / 404.7 MB, free: 38.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00469/0.01089, allocations: 2.952 MB / 407.7 MB, free: 36.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006353/0.01154, allocations: 11.91 kB / 407.7 MB, free: 36.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007536/0.0123, allocations: 267.7 kB / 407.9 MB, free: 36.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.01499, allocations: 1.237 MB / 409.2 MB, free: 35.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009291/0.01592, allocations: 487.4 kB / 409.6 MB, free: 34.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.01772, allocations: 1.629 MB / 411.3 MB, free: 33.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.01793, allocations: 80.48 kB / 411.3 MB, free: 33.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000648/0.01859, allocations: 0.5292 MB / 411.9 MB, free: 33.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.01919, allocations: 0.5928 MB / 412.5 MB, free: 33.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.311e-05/0.01929, allocations: 72 kB / 412.5 MB, free: 33.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007023/0.02, allocations: 343.7 kB / 412.9 MB, free: 32.71 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007316/0.02074, allocations: 1.617 MB / 414.5 MB, free: 31.08 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003324/0.02108, allocations: 0.8978 MB / 415.4 MB, free: 30.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.02121, allocations: 131.6 kB / 415.5 MB, free: 30.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001529/0.02136, allocations: 43.92 kB / 415.6 MB, free: 30 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.002796/0.02417, allocations: 4.647 MB / 420.2 MB, free: 25.19 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003192/0.02449, allocations: 388.1 kB / 420.6 MB, free: 24.81 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001706/0.02621, allocations: 2.436 MB / 423 MB, free: 22.34 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001341/0.02635, allocations: 223.7 kB / 423.2 MB, free: 22.12 MB / 318.1 MB Notification: Performance of Alias: time 0.001553/0.02791, allocations: 1.845 MB / 425.1 MB, free: 20.1 MB / 318.1 MB Notification: Performance of simplify2: time 0.000124/0.02805, allocations: 215.7 kB / 425.3 MB, free: 19.89 MB / 318.1 MB Notification: Performance of Detect States: time 0.0006656/0.02872, allocations: 0.7057 MB / 426 MB, free: 19.16 MB / 318.1 MB Notification: Performance of Events: time 0.0001803/0.02891, allocations: 195.7 kB / 426.2 MB, free: 18.97 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0005153/0.02944, allocations: 0.6203 MB / 426.8 MB, free: 18.34 MB / 318.1 MB Notification: Performance of Causalize: time 0.002426/0.03187, allocations: 2.589 MB / 429.4 MB, free: 15.74 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001326/0.03321, allocations: 1.625 MB / 431 MB, free: 14.08 MB / 318.1 MB Notification: Performance of Inline: time 0.003104/0.03633, allocations: 3.616 MB / 434.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001486/0.03649, allocations: 171.7 kB / 434.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of Cleanup: time 6.3e-05/0.03656, allocations: 107.9 kB / 434.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Causalize: time 0.005075/0.04164, allocations: 5.54 MB / 440.5 MB, free: 4.516 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!