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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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: "" <> 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.001114/0.001114, allocations: 105 kB / 17.06 MB, free: 6.027 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.001179/0.001179, allocations: 196 kB / 18 MB, free: 5.105 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.353/1.353, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1888/0.1888, allocations: 37.99 MB / 309.2 MB, free: 5.953 MB / 254.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.001384/0.001384, allocations: 63.91 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09548, allocations: 55.24 MB / 486.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008088/0.1036, allocations: 6.975 MB / 493.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003877/0.1075, allocations: 2.412 MB / 496 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005045/0.108, allocations: 27.88 kB / 496 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.1096, allocations: 0.5287 MB / 496.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.111, allocations: 0.6027 MB / 497.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.112, allocations: 0.503 MB / 497.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001933/0.114, allocations: 1.992 MB / 499.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.1151, allocations: 0.916 MB / 0.4888 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.1162, allocations: 0.8062 MB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.1175, allocations: 0.9389 MB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002993/0.1178, allocations: 160 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.1189, allocations: 0.6554 MB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007141/0.1197, allocations: 0.6431 MB / 0.492 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008866/0.1206, allocations: 0.6924 MB / 0.4926 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.1227, allocations: 2.061 MB / 0.4947 GB, free: 4.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1227, allocations: 0 / 0.4947 GB, free: 4.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1227, allocations: 0 / 0.4947 GB, free: 4.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.484e-05/0.1227, allocations: 4 kB / 0.4947 GB, free: 4.844 MB / 382.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.004568/0.1273, allocations: 1.881 MB / 0.4965 GB, free: 2.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1274, allocations: 11.89 kB / 0.4965 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002875/0.1277, allocations: 172.7 kB / 0.4967 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.1285, allocations: 183.4 kB / 0.4968 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.1307, allocations: 0.9282 MB / 0.4978 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006364/0.1314, allocations: 0.4987 MB / 0.4982 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.1317, allocations: 108 kB / 0.4983 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004093/0.1358, allocations: 2.047 MB / 0.5003 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.1358, allocations: 3.984 kB / 0.5003 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.136, allocations: 40 kB / 0.5004 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002181/0.1362, allocations: 85.89 kB / 0.5005 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005182/0.1414, allocations: 2.256 MB / 0.5027 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.152, allocations: 5.746 MB / 0.5083 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/0.1564, allocations: 1.608 MB / 0.5098 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.159, allocations: 1.117 MB / 0.5109 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.1591, allocations: 20.97 kB / 0.511 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002887/0.162, allocations: 1.308 MB / 0.5122 GB, free: 2.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 4.278e-06/0.162, allocations: 0 / 0.5122 GB, free: 2.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02842/0.1904, allocations: 8.583 MB / 0.5206 GB, free: 9.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.1906, allocations: 106.1 kB / 0.5207 GB, free: 9.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/0.1913, allocations: 0.5105 MB / 0.5212 GB, free: 9.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.1915, allocations: 57.69 kB / 0.5213 GB, free: 9.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.1918, allocations: 404.1 kB / 0.5217 GB, free: 8.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003924/0.1922, allocations: 386.5 kB / 0.522 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/0.1927, allocations: 222.8 kB / 0.5222 GB, free: 7.996 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1929, allocations: 398.7 kB / 0.5226 GB, free: 7.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.195, allocations: 0.9706 MB / 0.5236 GB, free: 6.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.197, allocations: 1.17 MB / 0.5247 GB, free: 5.402 MB / 414.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.0123/0.2094, allocations: 5.014 MB / 0.5296 GB, free: 324 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.2094, allocations: 4 kB / 0.5296 GB, free: 320 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.2483/0.4577, allocations: 4.353 MB / 0.5339 GB, free: 51.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.14e-05/0.4578, allocations: 60.78 kB / 0.5339 GB, free: 51.38 MB / 414.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.002229/0.4601, allocations: 1.052 MB / 0.5349 GB, free: 51.2 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated