Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_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.001417/0.001417, allocations: 107.7 kB / 16.92 MB, free: 5.656 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.001491/0.001491, allocations: 189.6 kB / 17.85 MB, free: 5.176 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.33/1.33, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1781/0.1781, allocations: 38.04 MB / 329.7 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 65.72 kB / 398.9 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1025, allocations: 58.05 MB / 457 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008904/0.1114, allocations: 6.982 MB / 464 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004179/0.1156, allocations: 2.376 MB / 466.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006128/0.1163, allocations: 31.81 kB / 466.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.1179, allocations: 0.5171 MB / 466.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.1195, allocations: 0.5989 MB / 467.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.1209, allocations: 0.5068 MB / 468 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002228/0.1231, allocations: 1.988 MB / 470 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.1246, allocations: 0.9199 MB / 470.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.1261, allocations: 0.7828 MB / 471.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.128, allocations: 0.9351 MB / 472.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005882/0.1286, allocations: 160 kB / 472.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.1302, allocations: 0.6982 MB / 473.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.1313, allocations: 0.647 MB / 474.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.1327, allocations: 0.6808 MB / 474.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003382/0.1361, allocations: 2.041 MB / 476.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1362, allocations: 0 / 476.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1362, allocations: 0 / 476.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.355e-05/0.1363, allocations: 0 / 476.8 MB, free: 4.02 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.006325/0.1426, allocations: 1.885 MB / 478.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1427, allocations: 11.89 kB / 478.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005112/0.1432, allocations: 172.7 kB / 478.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.1444, allocations: 179.5 kB / 479.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.1466, allocations: 0.8853 MB / 480 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007291/0.1473, allocations: 0.5064 MB / 480.5 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004043/0.1478, allocations: 99.98 kB / 480.6 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004477/0.1523, allocations: 2.055 MB / 482.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.1523, allocations: 0 / 482.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.1525, allocations: 35.98 kB / 482.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002458/0.1527, allocations: 89.95 kB / 482.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005516/0.1583, allocations: 2.256 MB / 485 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.1695, allocations: 5.762 MB / 490.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/0.174, allocations: 1.608 MB / 492.4 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.1766, allocations: 1.117 MB / 493.5 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.469e-05/0.1767, allocations: 16.98 kB / 493.5 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003068/0.1798, allocations: 1.323 MB / 494.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 4.077e-06/0.1798, allocations: 0 / 494.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02867/0.2085, allocations: 8.579 MB / 0.4916 GB, free: 8.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.2086, allocations: 110.1 kB / 0.4917 GB, free: 8.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007099/0.2093, allocations: 0.5067 MB / 0.4922 GB, free: 8.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.2096, allocations: 53.69 kB / 0.4923 GB, free: 8.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.2099, allocations: 408.1 kB / 0.4926 GB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004633/0.2104, allocations: 386.5 kB / 0.493 GB, free: 7.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/0.2109, allocations: 222.8 kB / 0.4932 GB, free: 7.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2111, allocations: 390.8 kB / 0.4936 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.2131, allocations: 0.9863 MB / 0.4946 GB, free: 5.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.2152, allocations: 1.165 MB / 0.4957 GB, free: 4.59 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.2177/0.4329, allocations: 5.011 MB / 0.5006 GB, free: 55.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.433, allocations: 1.562 kB / 0.5006 GB, free: 55.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01333/0.4463, allocations: 4.366 MB / 0.5049 GB, free: 55.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.77e-05/0.4464, allocations: 59.72 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.002264/0.4487, allocations: 1.048 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