Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SynchronousMachine4WindingsNoLoadExact,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_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact,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_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 107.2 kB / 16.42 MB, free: 6.48 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.002024/0.002024, allocations: 190 kB / 17.36 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0747/0.0747, allocations: 16.78 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.1e-05, allocations: 2.281 kB / 428.7 MB, free: 9.176 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter bus.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter bus.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter machine.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter machine.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact): time 0.01523/0.01527, allocations: 14.94 MB / 443.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009119/0.02441, allocations: 4.441 MB / 448 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/0.02714, allocations: 27.88 kB / 448.1 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.02912, allocations: 373.7 kB / 448.4 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004126/0.03327, allocations: 1.295 MB / 449.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.03559, allocations: 0.74 MB / 450.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003051/0.03865, allocations: 1.918 MB / 452.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008874/0.03955, allocations: 321.8 kB / 452.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.04084, allocations: 0.6227 MB / 453.3 MB, free: 420 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.04223, allocations: 0.6965 MB / 454 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.04262, allocations: 84 kB / 454.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.04407, allocations: 375.7 kB / 454.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.002436/0.04652, allocations: 1.976 MB / 456.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001331/0.04787, allocations: 1.152 MB / 457.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005585/0.04844, allocations: 163.4 kB / 457.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002777/0.04872, allocations: 27.88 kB / 457.8 MB, free: 11.91 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 (110) * Number of variables: 135 (135) Notification: Performance of Bindings: time 0.00526/0.05399, allocations: 5.521 MB / 463.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0004495/0.05445, allocations: 426.9 kB / 463.7 MB, free: 5.793 MB / 334.1 MB Notification: Performance of Early Inline: time 0.002717/0.05717, allocations: 2.799 MB / 466.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simplify1: time 0.0002732/0.05746, allocations: 263.7 kB / 466.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of Alias: time 0.002999/0.06046, allocations: 2.46 MB / 469.2 MB, free: 8 kB / 334.1 MB Notification: Performance of simplify2: time 0.0002721/0.06075, allocations: 243.7 kB / 469.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Detect States: time 0.0007916/0.06155, allocations: 0.806 MB / 470.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of Events: time 0.0003719/0.06193, allocations: 270.2 kB / 470.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of DAE-Mode: time 1.591e-05/0.06196, allocations: 3.938 kB / 470.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0009448/0.06291, allocations: 0.7936 MB / 471.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Causalize: time 0.003553/0.06647, allocations: 2.959 MB / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.002014/0.0685, allocations: 1.835 MB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of Inline: time 0.004474/0.07298, allocations: 4.044 MB / 480.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002649/0.07326, allocations: 207.6 kB / 480.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0001254/0.07339, allocations: 111.8 kB / 480.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of Causalize: time 0.008232/0.08163, allocations: 6.297 MB / 486.8 MB, free: 14.06 MB / 366.1 MB Error: Internal error NBTearing.minimal failed. (10|10) Discrete Variables **************************** [PRMT] (1) final parameter Real machine.rDPu (fixed = false, start = 0.01, min = 1e-4) [PRMT] (1) final parameter Real machine.T5dPu (fixed = false, start = 100.0, min = 0.0) [PRMT] (1) final parameter Real machine.T4dPu (fixed = false, start = 1000.0, min = 0.0) [PRMT] (1) final parameter Real machine.T6dPu (fixed = false, start = 10.0, min = 0.0) [PRMT] (1) final parameter Real machine.LDPu (fixed = false, start = 0.2, min = 0.001) [PRMT] (1) final parameter Real machine.T2dPu (fixed = false, start = 100.0, min = 0.0) [PRMT] (1) final parameter Real machine.T3dPu (fixed = false, start = 10.0, min = 0.0) [PRMT] (1) final parameter Real machine.T1dPu (fixed = false, start = 1000.0, min = 0.0) [PRMT] (1) final parameter Real machine.rfPu (fixed = false, start = 0.001, min = 1e-5) [PRMT] (1) final parameter Real machine.LfPu (fixed = false, start = 0.1, min = 0.001) (0|0) Discrete Equations ************************** Error: Internal error NBInitialization.main failed to apply modules!