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.001484/0.001484, allocations: 100.7 kB / 16.94 MB, free: 5.742 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.001394/0.001395, allocations: 192.1 kB / 17.87 MB, free: 5.156 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.409/1.409, allocations: 205.1 MB / 223.7 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06323/0.06323, allocations: 14.18 MB / 285.3 MB, free: 13.93 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.001469/0.001469, allocations: 75.88 kB / 348.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2338, allocations: 50.13 MB / 398.7 MB, free: 48.58 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid): time 0.009193/0.243, allocations: 12.2 MB / 410.9 MB, free: 38.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007475/0.2506, allocations: 5.427 MB / 416.3 MB, free: 33.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.2524, allocations: 31.81 kB / 416.4 MB, free: 33.72 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.2539, allocations: 0.6329 MB / 417 MB, free: 33.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005218/0.2591, allocations: 2.29 MB / 419.3 MB, free: 30.81 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.2607, allocations: 0.8757 MB / 420.2 MB, free: 29.93 MB / 318.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2647:11-2647:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.003664/0.2644, allocations: 3.691 MB / 423.8 MB, free: 26.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.2649, allocations: 248.3 kB / 424.1 MB, free: 25.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.2665, allocations: 1.265 MB / 425.3 MB, free: 24.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.268, allocations: 1.354 MB / 426.7 MB, free: 23.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.2682, allocations: 160 kB / 426.9 MB, free: 23.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.2694, allocations: 0.5661 MB / 427.4 MB, free: 22.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.2696, allocations: 382.3 kB / 427.8 MB, free: 22.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008082/0.2705, allocations: 1.108 MB / 428.9 MB, free: 21.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.2726, allocations: 2.66 MB / 431.6 MB, free: 18.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2726, allocations: 0 / 431.6 MB, free: 18.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2726, allocations: 0 / 431.6 MB, free: 18.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.2726, allocations: 0 / 431.6 MB, free: 18.46 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.008945/0.2816, allocations: 3.064 MB / 434.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2816, allocations: 12.03 kB / 434.6 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.2827, allocations: 278.5 kB / 434.9 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.2845, allocations: 1.186 MB / 436.1 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/0.2846, allocations: 106.9 kB / 436.2 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.2847, allocations: 144.1 kB / 436.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.2863, allocations: 1.272 MB / 437.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.2864, allocations: 0 / 437.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.645e-05/0.2865, allocations: 52 kB / 437.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.2865, allocations: 35.94 kB / 437.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.2882, allocations: 1.29 MB / 439 MB, free: 10.86 MB / 318.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.01028/0.2985, allocations: 9.013 MB / 448 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.3008, allocations: 2.092 MB / 450.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007241/0.3016, allocations: 0.5095 MB / 450.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.573e-05/0.3016, allocations: 25.22 kB / 450.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3017, allocations: 47.88 kB / 450.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=140): time 3.687e-06/0.3017, allocations: 3.938 kB / 450.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=140): time 0.008547/0.3102, allocations: 2.713 MB / 453.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3103, allocations: 64.72 kB / 453.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.3121, allocations: 1.172 MB / 454.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.3122, allocations: 57.64 kB / 454.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.3127, allocations: 0.6789 MB / 455.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005184/0.3133, allocations: 0.493 MB / 455.9 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000496/0.3138, allocations: 359.3 kB / 456.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.3139, allocations: 309.1 kB / 456.5 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009474/0.3148, allocations: 0.5546 MB / 457.1 MB, free: 7.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.3161, allocations: 1.008 MB / 458.1 MB, free: 6.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.3183, allocations: 1.608 MB / 459.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.3183, allocations: 8 kB / 459.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005136/0.3235, allocations: 2.345 MB / 462 MB, free: 2.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.3235, allocations: 12 kB / 462 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.3236, allocations: 12 kB / 462.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006528/0.3301, allocations: 1.158 MB / 463.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/0.3321, allocations: 471.3 kB / 463.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.3457, allocations: 13.56 MB / 477.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.3477, allocations: 170.4 kB / 477.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.3478, allocations: 76 kB / 477.5 MB, free: 1.562 MB / 350.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.0006132/0.3485, allocations: 369.2 kB / 477.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.3488, allocations: 154.1 kB / 478 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/0.3516, allocations: 1.521 MB / 479.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.3517, allocations: 11.97 kB / 479.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3517, allocations: 0 / 479.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006125/0.3523, allocations: 354.8 kB / 479.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.3525, allocations: 28 kB / 479.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009347/0.3535, allocations: 31.98 kB / 479.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.3537, allocations: 109.1 kB / 480 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003735/0.3574, allocations: 1.497 MB / 481.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01122/0.3686, allocations: 7.01 MB / 488.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006425/0.3693, allocations: 422.3 kB / 488.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.3703, allocations: 0.7509 MB / 489.7 MB, free: 5.125 MB / 366.1 MB Notification: Performance of Backend: time 6.31e-07/0.3703, allocations: 0 / 489.7 MB, free: 5.125 MB / 366.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.005566/0.3759, allocations: 2.713 MB / 492.4 MB, free: 2.305 MB / 366.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.007382/0.3833, allocations: 6.095 MB / 498.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of Templates: time 0.2099/0.5932, allocations: 47.45 MB / 0.5332 GB, free: 125.7 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