Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.872/0.872, allocations: 177.1 MB / 204.2 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2169/0.2169, allocations: 29.4 MB / 290.1 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 431 MB, free: 12.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.48e-05, allocations: 6.281 kB / 431 MB, free: 12.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.005301/0.005316, allocations: 6.649 MB / 437.6 MB, free: 6.148 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.008135, allocations: 2.29 MB / 439.9 MB, free: 3.852 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.008435, allocations: 39.62 kB / 440 MB, free: 3.812 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008737/0.009309, allocations: 0.5014 MB / 440.5 MB, free: 3.309 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008753/0.01018, allocations: 0.6255 MB / 441.1 MB, free: 2.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.01092, allocations: 0.5417 MB / 441.6 MB, free: 2.137 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.0123, allocations: 1.995 MB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1555/0.1678, allocations: 0.6014 MB / 444.2 MB, free: 44.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.169, allocations: 1.068 MB / 445.3 MB, free: 44.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007928/0.1698, allocations: 0.9233 MB / 446.2 MB, free: 44.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.17, allocations: 163.1 kB / 446.4 MB, free: 44.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006809/0.1706, allocations: 0.6498 MB / 447 MB, free: 44.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.171, allocations: 0.6793 MB / 447.7 MB, free: 44.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.1713, allocations: 0.5043 MB / 448.2 MB, free: 44.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.1726, allocations: 2.242 MB / 450.4 MB, free: 44.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1726, allocations: 0 / 450.4 MB, free: 44.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1726, allocations: 0 / 450.4 MB, free: 44.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.1727, allocations: 0 / 450.4 MB, free: 44.29 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002324/0.175, allocations: 1.824 MB / 452.3 MB, free: 43.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.175, allocations: 17.27 kB / 452.3 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.1752, allocations: 175.2 kB / 452.5 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005539/0.1757, allocations: 212 kB / 452.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.1767, allocations: 0.8676 MB / 453.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004219/0.1771, allocations: 1.125 MB / 454.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.1773, allocations: 103.3 kB / 454.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.1794, allocations: 2.047 MB / 456.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.1794, allocations: 3.75 kB / 456.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.1795, allocations: 40.14 kB / 456.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.1796, allocations: 92.17 kB / 456.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.1822, allocations: 2.242 MB / 459.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004863/0.1871, allocations: 5.405 MB / 464.6 MB, free: 37.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/0.1899, allocations: 1.509 MB / 466.1 MB, free: 37.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.1917, allocations: 1.043 MB / 467.1 MB, free: 37.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.678e-05/0.1918, allocations: 15.36 kB / 467.2 MB, free: 37.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/0.1933, allocations: 1.314 MB / 468.5 MB, free: 36.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 2.345e-06/0.1933, allocations: 0 / 468.5 MB, free: 36.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.01365/0.2069, allocations: 8.359 MB / 476.8 MB, free: 34.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.207, allocations: 109.8 kB / 476.9 MB, free: 34.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.2074, allocations: 0.5202 MB / 477.5 MB, free: 34.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/0.2075, allocations: 59.12 kB / 477.5 MB, free: 34.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.2076, allocations: 407.9 kB / 477.9 MB, free: 33.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.2078, allocations: 412.2 kB / 478.3 MB, free: 33.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.2081, allocations: 219.2 kB / 478.5 MB, free: 33.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.2082, allocations: 396.5 kB / 478.9 MB, free: 33.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.2094, allocations: 1.021 MB / 479.9 MB, free: 32.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.2108, allocations: 1.208 MB / 481.1 MB, free: 32.34 MB / 410.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.006978/0.2178, allocations: 5.01 MB / 486.2 MB, free: 30.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2178, allocations: 1.188 kB / 486.2 MB, free: 30.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007738/0.2255, allocations: 4.382 MB / 490.5 MB, free: 29.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.2256, allocations: 71.7 kB / 490.6 MB, free: 29.81 MB / 410.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00132/0.2269, allocations: 1.019 MB / 491.6 MB, free: 29.44 MB / 410.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.958515653386712]