Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.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.Examples.Tutorial.GridOperation.Static.StaticGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="GEN.DPu|GEN.H|GEN.IStartPu|GEN.LDPu|GEN.LQ1Pu|GEN.LQ2Pu|GEN.LdPu|GEN.LfPu|GEN.LqPu|GEN.MdPu|GEN.MqPu|GEN.PNom|GEN.PStart|GEN.QStart|GEN.SNom|GEN.T1dPu|GEN.T1qPu|GEN.T2dPu|GEN.T2qPu|GEN.T3dPu|GEN.T3qPu|GEN.T4dPu|GEN.T4qPu|GEN.T5dPu|GEN.T5qPu|GEN.T6dPu|GEN.T6qPu|GEN.Tpd|GEN.Tpd0|GEN.Tppd|GEN.Tppd0|GEN.Tppq|GEN.Tppq0|GEN.Tpq|GEN.Tpq0|GEN.UNom|GEN.UPhaseStart|GEN.UStart|GEN.VStartPu|GEN.cosPhiStart|GEN.excitationPuType|GEN.idPuStart|GEN.ifPuStart|GEN.initOpt|GEN.iqPuStart|GEN.kuf|GEN.lambdadPuStart|GEN.lambdaqPuStart|GEN.localInit|GEN.mrcPu|GEN.neglectTransformerTerms|GEN.omega|GEN.omegaBase|GEN.port.IBase|GEN.port.IStart|GEN.port.PStart|GEN.port.QStart|GEN.port.SBase|GEN.port.SNom|GEN.port.UBase|GEN.port.UNom|GEN.port.UPhaseStart|GEN.port.UStart|GEN.port.VBase|GEN.port.VStart|GEN.port.i.im|GEN.port.i.re|GEN.port.iStart.im|GEN.port.iStart.re|GEN.port.portVariablesPhases|GEN.port.v.im|GEN.port.v.re|GEN.port.vStart.im|GEN.port.vStart.re|GEN.portVariablesPhases|GEN.rDPu|GEN.rQ1Pu|GEN.rQ2Pu|GEN.raPu|GEN.referenceGenerator|GEN.rfPu|GEN.sinPhiStart|GEN.thetaStart|GEN.timeConstApprox|GEN.udPuStart|GEN.ufPuInStart|GEN.ufPuStart|GEN.uqPuStart|GEN.xdPu|GEN.xlPu|GEN.xpdPu|GEN.xppdPu|GEN.xppqPu|GEN.xpqPu|GEN.xqPu|GRID.PStart|GRID.QStart|GRID.R_X|GRID.SNom|GRID.SSC|GRID.Ssc.im|GRID.Ssc.re|GRID.UNom|GRID.UPhaseRef|GRID.UPhaseStart|GRID.URef|GRID.UStart|GRID.ZGrid.im|GRID.ZGrid.re|GRID.c|GRID.e.im|GRID.e.re|GRID.eSource.im|GRID.eSource.re|GRID.eStart.im|GRID.eStart.re|GRID.i.im|GRID.i.re|GRID.localInit|GRID.port.IBase|GRID.port.IStart|GRID.port.PStart|GRID.port.QStart|GRID.port.SBase|GRID.port.SNom|GRID.port.UBase|GRID.port.UNom|GRID.port.UPhaseStart|GRID.port.UStart|GRID.port.VBase|GRID.port.VStart|GRID.port.i.im|GRID.port.i.re|GRID.port.iStart.im|GRID.port.iStart.re|GRID.port.portVariablesPhases|GRID.port.v.im|GRID.port.v.re|GRID.port.vStart.im|GRID.port.vStart.re|GRID.portVariablesPhases|GRIDL.PRef|GRIDL.PRefConst|GRIDL.PStart|GRIDL.QRef|GRIDL.QRefConst|GRIDL.QStart|GRIDL.SNom|GRIDL.UNom|GRIDL.UPhaseStart|GRIDL.URef|GRIDL.UStart|GRIDL.i.im|GRIDL.i.re|GRIDL.localInit|GRIDL.port.IBase|GRIDL.port.IStart|GRIDL.port.PStart|GRIDL.port.QStart|GRIDL.port.SBase|GRIDL.port.SNom|GRIDL.port.UBase|GRIDL.port.UNom|GRIDL.port.UPhaseStart|GRIDL.port.UStart|GRIDL.port.VBase|GRIDL.port.VStart|GRIDL.port.i.im|GRIDL.port.i.re|GRIDL.port.iStart.im|GRIDL.port.iStart.re|GRIDL.port.portVariablesPhases|GRIDL.port.v.im|GRIDL.port.v.re|GRIDL.port.vStart.im|GRIDL.port.vStart.re|GRIDL.portVariablesPhases|GRIDL.v.im|GRIDL.v.re|NTHV.PStart|NTHV.QStart|NTHV.SNom|NTHV.UNom|NTHV.UPhaseStart|NTHV.UStart|NTHV.localInit|NTHV.port.IBase|NTHV.port.IStart|NTHV.port.PStart|NTHV.port.QStart|NTHV.port.SBase|NTHV.port.SNom|NTHV.port.UBase|NTHV.port.UNom|NTHV.port.UPhaseStart|NTHV.port.UStart|NTHV.port.VBase|NTHV.port.VStart|NTHV.port.i.im|NTHV.port.i.re|NTHV.port.iStart.im|NTHV.port.iStart.re|NTHV.port.portVariablesPhases|NTHV.port.v.im|NTHV.port.v.re|NTHV.port.vStart.im|NTHV.port.vStart.re|NTHV.portVariablesPhases|NTLV.PStart|NTLV.QStart|NTLV.SNom|NTLV.UNom|NTLV.UPhaseStart|NTLV.UStart|NTLV.localInit|NTLV.port.IBase|NTLV.port.IStart|NTLV.port.PStart|NTLV.port.QStart|NTLV.port.SBase|NTLV.port.SNom|NTLV.port.UBase|NTLV.port.UNom|NTLV.port.UPhaseStart|NTLV.port.UStart|NTLV.port.VBase|NTLV.port.VStart|NTLV.port.i.im|NTLV.port.i.re|NTLV.port.iStart.im|NTLV.port.iStart.re|NTLV.port.portVariablesPhases|NTLV.port.v.im|NTLV.port.v.re|NTLV.port.vStart.im|NTLV.port.vStart.re|NTLV.portVariablesPhases|TGEN.B|TGEN.G|TGEN.PStartA|TGEN.PStartB|TGEN.QStartA|TGEN.QStartB|TGEN.R|TGEN.SNom|TGEN.UNomA|TGEN.UNomB|TGEN.UPhaseStartA|TGEN.UPhaseStartB|TGEN.UStartA|TGEN.UStartB|TGEN.X|TGEN.YB.im|TGEN.YB.re|TGEN.computePowerBalance|TGEN.iA.im|TGEN.iA.re|TGEN.portA.IBase|TGEN.portA.IStart|TGEN.portA.PStart|TGEN.portA.QStart|TGEN.portA.SBase|TGEN.portA.SNom|TGEN.portA.UBase|TGEN.portA.UNom|TGEN.portA.UPhaseStart|TGEN.portA.UStart|TGEN.portA.VBase|TGEN.portA.VStart|TGEN.portA.iStart.im|TGEN.portA.iStart.re|TGEN.portA.portVariablesPhases|TGEN.portA.vStart.im|TGEN.portA.vStart.re|TGEN.portB.IBase|TGEN.portB.IStart|TGEN.portB.PStart|TGEN.portB.QStart|TGEN.portB.SBase|TGEN.portB.SNom|TGEN.portB.UBase|TGEN.portB.UNom|TGEN.portB.UPhaseStart|TGEN.portB.UStart|TGEN.portB.VBase|TGEN.portB.VStart|TGEN.portB.iStart.im|TGEN.portB.iStart.re|TGEN.portB.portVariablesPhases|TGEN.portB.vStart.im|TGEN.portB.vStart.re|TGEN.portVariablesPhases|TGEN.rFixed|TGEN.thetaFixed|TGEN.vA.im|TGEN.vA.re|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="GEN.DPu|GEN.H|GEN.IStartPu|GEN.LDPu|GEN.LQ1Pu|GEN.LQ2Pu|GEN.LdPu|GEN.LfPu|GEN.LqPu|GEN.MdPu|GEN.MqPu|GEN.PNom|GEN.PStart|GEN.QStart|GEN.SNom|GEN.T1dPu|GEN.T1qPu|GEN.T2dPu|GEN.T2qPu|GEN.T3dPu|GEN.T3qPu|GEN.T4dPu|GEN.T4qPu|GEN.T5dPu|GEN.T5qPu|GEN.T6dPu|GEN.T6qPu|GEN.Tpd|GEN.Tpd0|GEN.Tppd|GEN.Tppd0|GEN.Tppq|GEN.Tppq0|GEN.Tpq|GEN.Tpq0|GEN.UNom|GEN.UPhaseStart|GEN.UStart|GEN.VStartPu|GEN.cosPhiStart|GEN.excitationPuType|GEN.idPuStart|GEN.ifPuStart|GEN.initOpt|GEN.iqPuStart|GEN.kuf|GEN.lambdadPuStart|GEN.lambdaqPuStart|GEN.localInit|GEN.mrcPu|GEN.neglectTransformerTerms|GEN.omega|GEN.omegaBase|GEN.port.IBase|GEN.port.IStart|GEN.port.PStart|GEN.port.QStart|GEN.port.SBase|GEN.port.SNom|GEN.port.UBase|GEN.port.UNom|GEN.port.UPhaseStart|GEN.port.UStart|GEN.port.VBase|GEN.port.VStart|GEN.port.i.im|GEN.port.i.re|GEN.port.iStart.im|GEN.port.iStart.re|GEN.port.portVariablesPhases|GEN.port.v.im|GEN.port.v.re|GEN.port.vStart.im|GEN.port.vStart.re|GEN.portVariablesPhases|GEN.rDPu|GEN.rQ1Pu|GEN.rQ2Pu|GEN.raPu|GEN.referenceGenerator|GEN.rfPu|GEN.sinPhiStart|GEN.thetaStart|GEN.timeConstApprox|GEN.udPuStart|GEN.ufPuInStart|GEN.ufPuStart|GEN.uqPuStart|GEN.xdPu|GEN.xlPu|GEN.xpdPu|GEN.xppdPu|GEN.xppqPu|GEN.xpqPu|GEN.xqPu|GRID.PStart|GRID.QStart|GRID.R_X|GRID.SNom|GRID.SSC|GRID.Ssc.im|GRID.Ssc.re|GRID.UNom|GRID.UPhaseRef|GRID.UPhaseStart|GRID.URef|GRID.UStart|GRID.ZGrid.im|GRID.ZGrid.re|GRID.c|GRID.e.im|GRID.e.re|GRID.eSource.im|GRID.eSource.re|GRID.eStart.im|GRID.eStart.re|GRID.i.im|GRID.i.re|GRID.localInit|GRID.port.IBase|GRID.port.IStart|GRID.port.PStart|GRID.port.QStart|GRID.port.SBase|GRID.port.SNom|GRID.port.UBase|GRID.port.UNom|GRID.port.UPhaseStart|GRID.port.UStart|GRID.port.VBase|GRID.port.VStart|GRID.port.i.im|GRID.port.i.re|GRID.port.iStart.im|GRID.port.iStart.re|GRID.port.portVariablesPhases|GRID.port.v.im|GRID.port.v.re|GRID.port.vStart.im|GRID.port.vStart.re|GRID.portVariablesPhases|GRIDL.PRef|GRIDL.PRefConst|GRIDL.PStart|GRIDL.QRef|GRIDL.QRefConst|GRIDL.QStart|GRIDL.SNom|GRIDL.UNom|GRIDL.UPhaseStart|GRIDL.URef|GRIDL.UStart|GRIDL.i.im|GRIDL.i.re|GRIDL.localInit|GRIDL.port.IBase|GRIDL.port.IStart|GRIDL.port.PStart|GRIDL.port.QStart|GRIDL.port.SBase|GRIDL.port.SNom|GRIDL.port.UBase|GRIDL.port.UNom|GRIDL.port.UPhaseStart|GRIDL.port.UStart|GRIDL.port.VBase|GRIDL.port.VStart|GRIDL.port.i.im|GRIDL.port.i.re|GRIDL.port.iStart.im|GRIDL.port.iStart.re|GRIDL.port.portVariablesPhases|GRIDL.port.v.im|GRIDL.port.v.re|GRIDL.port.vStart.im|GRIDL.port.vStart.re|GRIDL.portVariablesPhases|GRIDL.v.im|GRIDL.v.re|NTHV.PStart|NTHV.QStart|NTHV.SNom|NTHV.UNom|NTHV.UPhaseStart|NTHV.UStart|NTHV.localInit|NTHV.port.IBase|NTHV.port.IStart|NTHV.port.PStart|NTHV.port.QStart|NTHV.port.SBase|NTHV.port.SNom|NTHV.port.UBase|NTHV.port.UNom|NTHV.port.UPhaseStart|NTHV.port.UStart|NTHV.port.VBase|NTHV.port.VStart|NTHV.port.i.im|NTHV.port.i.re|NTHV.port.iStart.im|NTHV.port.iStart.re|NTHV.port.portVariablesPhases|NTHV.port.v.im|NTHV.port.v.re|NTHV.port.vStart.im|NTHV.port.vStart.re|NTHV.portVariablesPhases|NTLV.PStart|NTLV.QStart|NTLV.SNom|NTLV.UNom|NTLV.UPhaseStart|NTLV.UStart|NTLV.localInit|NTLV.port.IBase|NTLV.port.IStart|NTLV.port.PStart|NTLV.port.QStart|NTLV.port.SBase|NTLV.port.SNom|NTLV.port.UBase|NTLV.port.UNom|NTLV.port.UPhaseStart|NTLV.port.UStart|NTLV.port.VBase|NTLV.port.VStart|NTLV.port.i.im|NTLV.port.i.re|NTLV.port.iStart.im|NTLV.port.iStart.re|NTLV.port.portVariablesPhases|NTLV.port.v.im|NTLV.port.v.re|NTLV.port.vStart.im|NTLV.port.vStart.re|NTLV.portVariablesPhases|TGEN.B|TGEN.G|TGEN.PStartA|TGEN.PStartB|TGEN.QStartA|TGEN.QStartB|TGEN.R|TGEN.SNom|TGEN.UNomA|TGEN.UNomB|TGEN.UPhaseStartA|TGEN.UPhaseStartB|TGEN.UStartA|TGEN.UStartB|TGEN.X|TGEN.YB.im|TGEN.YB.re|TGEN.computePowerBalance|TGEN.iA.im|TGEN.iA.re|TGEN.portA.IBase|TGEN.portA.IStart|TGEN.portA.PStart|TGEN.portA.QStart|TGEN.portA.SBase|TGEN.portA.SNom|TGEN.portA.UBase|TGEN.portA.UNom|TGEN.portA.UPhaseStart|TGEN.portA.UStart|TGEN.portA.VBase|TGEN.portA.VStart|TGEN.portA.iStart.im|TGEN.portA.iStart.re|TGEN.portA.portVariablesPhases|TGEN.portA.vStart.im|TGEN.portA.vStart.re|TGEN.portB.IBase|TGEN.portB.IStart|TGEN.portB.PStart|TGEN.portB.QStart|TGEN.portB.SBase|TGEN.portB.SNom|TGEN.portB.UBase|TGEN.portB.UNom|TGEN.portB.UPhaseStart|TGEN.portB.UStart|TGEN.portB.VBase|TGEN.portB.VStart|TGEN.portB.iStart.im|TGEN.portB.iStart.re|TGEN.portB.portVariablesPhases|TGEN.portB.vStart.im|TGEN.portB.vStart.re|TGEN.portVariablesPhases|TGEN.rFixed|TGEN.thetaFixed|TGEN.vA.im|TGEN.vA.re|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 116.1 kB / 17.09 MB, free: 5.984 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.001267/0.001267, allocations: 191.8 kB / 18.03 MB, free: 5.062 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.433/1.433, 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.06699/0.06699, allocations: 14.16 MB / 285.4 MB, free: 13.85 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 62.78 kB / 400 MB, free: 42.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.107, allocations: 50.13 MB / 450.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid): time 0.01388/0.121, allocations: 12.22 MB / 462.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.1317, allocations: 5.424 MB / 467.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.1341, allocations: 31.88 kB / 467.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.1365, allocations: 0.6329 MB / 468.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007004/0.1435, allocations: 2.277 MB / 470.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.1458, allocations: 0.8758 MB / 471.6 MB, free: 5.984 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2652:11-2652:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.006347/0.1522, allocations: 3.711 MB / 475.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007282/0.153, allocations: 253.5 kB / 475.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.1556, allocations: 1.285 MB / 476.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.1585, allocations: 1.366 MB / 478.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007671/0.1593, allocations: 164 kB / 478.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.1617, allocations: 0.5699 MB / 478.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006861/0.1624, allocations: 378.4 kB / 479.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.165, allocations: 1.1 MB / 480.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005437/0.1704, allocations: 2.792 MB / 483.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1704, allocations: 0 / 483.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1705, allocations: 0 / 483.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.508e-05/0.1706, allocations: 0 / 483.2 MB, free: 10.32 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.0123/0.1829, allocations: 3.025 MB / 486.2 MB, free: 7.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.1829, allocations: 16.02 kB / 486.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.1848, allocations: 274.5 kB / 486.5 MB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/0.1883, allocations: 1.217 MB / 487.7 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.1884, allocations: 102.9 kB / 487.8 MB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004426/0.1889, allocations: 148.1 kB / 487.9 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/0.1918, allocations: 1.268 MB / 489.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.1918, allocations: 0 / 489.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.192, allocations: 52 kB / 489.3 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.1921, allocations: 35.94 kB / 489.3 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.1946, allocations: 1.294 MB / 490.6 MB, free: 2.73 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.2114, allocations: 8.958 MB / 499.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/0.2147, allocations: 2.112 MB / 0.4899 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008352/0.2155, allocations: 0.5056 MB / 0.4904 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.39e-05/0.2156, allocations: 21.44 kB / 0.4904 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.2157, allocations: 51.81 kB / 0.4905 GB, free: 5.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=140): time 3.938e-06/0.2157, allocations: 0 / 0.4905 GB, free: 5.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.008733/0.2245, allocations: 2.703 MB / 0.4931 GB, free: 3.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.2246, allocations: 72.72 kB / 0.4932 GB, free: 3.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.2271, allocations: 1.172 MB / 0.4943 GB, free: 1.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.2272, allocations: 61.69 kB / 0.4944 GB, free: 1.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006825/0.2279, allocations: 0.6673 MB / 0.495 GB, free: 1.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000616/0.2286, allocations: 0.4967 MB / 0.4955 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006414/0.2292, allocations: 367.3 kB / 0.4959 GB, free: 312 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2293, allocations: 301.1 kB / 0.4962 GB, free: 8 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.2304, allocations: 0.5546 MB / 0.4967 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.2319, allocations: 1.016 MB / 0.4977 GB, free: 14.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.2343, allocations: 1.608 MB / 0.4993 GB, free: 12.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/0.2344, allocations: 4 kB / 0.4993 GB, free: 12.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.006111/0.2405, allocations: 2.333 MB / 0.5015 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.2406, allocations: 12 kB / 0.5016 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.2406, allocations: 12 kB / 0.5016 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006617/0.2472, allocations: 1.162 MB / 0.5027 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.2493, allocations: 463.4 kB / 0.5031 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/0.265, allocations: 13.54 MB / 0.5164 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.2675, allocations: 170.4 kB / 0.5165 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004476/0.2679, allocations: 79.98 kB / 0.5166 GB, free: 9.488 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 225 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(23,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001034/0.269, allocations: 353.2 kB / 0.5169 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006168/0.2696, allocations: 158.1 kB / 0.5171 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.2729, allocations: 1.525 MB / 0.5186 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.273, allocations: 3.984 kB / 0.5186 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.273, allocations: 0 / 0.5186 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009722/0.274, allocations: 366.8 kB / 0.5189 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/0.2744, allocations: 31.94 kB / 0.519 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.2756, allocations: 31.91 kB / 0.519 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.2758, allocations: 113.1 kB / 0.5191 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003883/0.2797, allocations: 1.478 MB / 0.5205 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2885/0.5682, allocations: 7.011 MB / 0.5274 GB, free: 78.3 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007587/0.5691, allocations: 420.8 kB / 0.5278 GB, free: 78.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.5703, allocations: 0.7553 MB / 0.5285 GB, free: 78.19 MB / 414.1 MB Notification: Performance of Backend: time 2.024e-06/0.5703, allocations: 0 / 0.5285 GB, free: 78.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005983/0.5763, allocations: 2.705 MB / 0.5312 GB, free: 77.11 MB / 414.1 MB Notification: Performance of SimCode: time 0.008908/0.5852, allocations: 6.042 MB / 0.5371 GB, free: 73.7 MB / 414.1 MB Notification: Performance of Templates: time 0.05349/0.6388, allocations: 47.67 MB / 0.5836 GB, free: 37.24 MB / 414.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridCalcHelperMain.cpp In file included from OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridCalcHelperMain.cpp:31: ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridJacobian.cpp:507:19: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(40) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(1)) + (_GEN_P_rfPu_ * (_Ajac_x(34) * _GEN_P_omegaBase_))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridJacobian.cpp:508:50: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(39) = ((_GEN_P_rDPu_ * _Ajac_x(35)) + (_omcQ_24DAE_5FCJ_ * division(_Ajac_x(2),_GEN_P_omegaBase_,!_initial,"GEN.omegaBase"))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridJacobian.cpp:509:51: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(38) = ((_GEN_P_rQ1Pu_ * _Ajac_x(38)) + (_omcQ_24DAE_5FCJ_ * division(_Ajac_x(3),_GEN_P_omegaBase_,!_initial,"GEN.omegaBase"))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridJacobian.cpp:510:51: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(37) = ((_GEN_P_rQ2Pu_ * _Ajac_x(39)) + (_omcQ_24DAE_5FCJ_ * division(_Ajac_x(4),_GEN_P_omegaBase_,!_initial,"GEN.omegaBase"))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridJacobian.cpp:543:53: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(0) = ((_Ajac_x(0) * _GEN_P_omegaBase_) - (_omcQ_24DAE_5FCJ_ * _Ajac_x(5))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridJacobian.cpp:545:56: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(41) = (_Ajac_tmp(7) + ((-2.0 * (_GEN_P_H_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(0)))) + ((-_Ajac_tmp(35)) - (_GEN_P_DPu_ * _Ajac_x(0))))); ^ 6 errors generated. make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridCalcHelperMain.o] Error 1