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.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/PowerSystems 2.0.0/package.mo", uses=false) 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.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) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001891/0.001891, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.367/1.367, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1857/0.1857, allocations: 38.03 MB / 329.7 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 60.55 kB / 398.9 MB, free: 33.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.09232, allocations: 58.07 MB / 457 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007957/0.1003, allocations: 6.985 MB / 464 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004121/0.1045, allocations: 2.368 MB / 466.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005228/0.105, allocations: 27.88 kB / 466.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.1069, allocations: 0.521 MB / 466.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.109, allocations: 0.5989 MB / 467.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.1109, allocations: 0.503 MB / 468 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003581/0.1145, allocations: 1.996 MB / 470 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002175/0.1167, allocations: 0.9198 MB / 470.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.1186, allocations: 0.779 MB / 471.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002471/0.1211, allocations: 0.9389 MB / 472.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005497/0.1217, allocations: 156 kB / 472.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.124, allocations: 0.6904 MB / 473.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.1253, allocations: 0.647 MB / 474.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.127, allocations: 0.6964 MB / 474.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003485/0.1305, allocations: 2.034 MB / 476.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1305, allocations: 0 / 476.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.069e-06/0.1305, allocations: 0 / 476.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.06e-05/0.1306, allocations: 3.938 kB / 476.8 MB, free: 3.988 MB / 350.1 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.007448/0.138, allocations: 1.881 MB / 478.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.1381, allocations: 15.89 kB / 478.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004058/0.1385, allocations: 172.7 kB / 478.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.14, allocations: 175.5 kB / 479.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.1431, allocations: 0.8891 MB / 480 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001169/0.1443, allocations: 0.5064 MB / 480.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006129/0.145, allocations: 99.98 kB / 480.6 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008262/0.1532, allocations: 2.051 MB / 482.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/0.1533, allocations: 7.938 kB / 482.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/0.1536, allocations: 32 kB / 482.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004064/0.1541, allocations: 97.94 kB / 482.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009305/0.1634, allocations: 2.248 MB / 485 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.18, allocations: 5.766 MB / 490.8 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00755/0.1876, allocations: 1.604 MB / 492.4 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004837/0.1925, allocations: 1.121 MB / 493.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.1927, allocations: 16.98 kB / 493.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005254/0.1979, allocations: 1.32 MB / 494.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 5.591e-06/0.198, allocations: 0 / 494.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.04862/0.2466, allocations: 8.568 MB / 0.4916 GB, free: 8.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.2468, allocations: 110 kB / 0.4917 GB, free: 8.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.248, allocations: 0.5106 MB / 0.4922 GB, free: 8.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003333/0.2483, allocations: 53.7 kB / 0.4922 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005247/0.2489, allocations: 412.1 kB / 0.4926 GB, free: 7.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006956/0.2496, allocations: 386.5 kB / 0.493 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007702/0.2503, allocations: 218.8 kB / 0.4932 GB, free: 7.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002871/0.2507, allocations: 394.8 kB / 0.4936 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003528/0.2542, allocations: 0.9745 MB / 0.4945 GB, free: 5.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003568/0.2578, allocations: 1.166 MB / 0.4957 GB, free: 4.566 MB / 382.1 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.206/0.4638, allocations: 5.011 MB / 0.5006 GB, free: 55.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.4638, allocations: 3.266 kB / 0.5006 GB, free: 55.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01355/0.4774, allocations: 4.363 MB / 0.5048 GB, free: 55.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.949e-05/0.4775, allocations: 65.77 kB / 0.5049 GB, free: 55.46 MB / 382.1 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.002089/0.4796, allocations: 1.051 MB / 0.5059 GB, free: 55.09 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated