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.001071/0.001071, allocations: 107.1 kB / 16.92 MB, free: 5.852 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.001142/0.001142, allocations: 191.3 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.349/1.349, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1806/0.1806, allocations: 38.02 MB / 329.7 MB, free: 8.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 60.11 kB / 398.9 MB, free: 33.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09739, allocations: 58.06 MB / 457 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008402/0.1058, allocations: 6.982 MB / 463.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004089/0.1099, allocations: 2.376 MB / 466.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006831/0.1107, allocations: 27.88 kB / 466.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.1124, allocations: 0.5209 MB / 466.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.114, allocations: 0.595 MB / 467.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1153, allocations: 0.5069 MB / 468 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.1177, allocations: 1.988 MB / 470 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.1191, allocations: 0.9199 MB / 470.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.1205, allocations: 0.779 MB / 471.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.1221, allocations: 0.9428 MB / 472.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004978/0.1226, allocations: 160 kB / 472.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.1244, allocations: 0.6982 MB / 473.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.1254, allocations: 0.6393 MB / 474.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.1268, allocations: 0.6846 MB / 474.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.1296, allocations: 2.045 MB / 476.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1296, allocations: 0 / 476.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1296, allocations: 0 / 476.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.765e-05/0.1297, allocations: 0 / 476.8 MB, free: 4.016 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.005708/0.1354, allocations: 1.877 MB / 478.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1355, allocations: 11.89 kB / 478.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005165/0.136, allocations: 176.7 kB / 478.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.1371, allocations: 175.5 kB / 479.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.1391, allocations: 0.893 MB / 480 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006232/0.1397, allocations: 0.5025 MB / 480.5 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003087/0.1401, allocations: 108 kB / 480.6 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004064/0.1441, allocations: 2.044 MB / 482.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.1442, allocations: 3.938 kB / 482.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.1443, allocations: 39.98 kB / 482.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002175/0.1446, allocations: 85.95 kB / 482.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004819/0.1494, allocations: 2.256 MB / 485 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009082/0.1585, allocations: 5.77 MB / 490.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004163/0.1627, allocations: 1.596 MB / 492.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/0.1652, allocations: 1.12 MB / 493.5 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-05/0.1654, allocations: 25.28 kB / 493.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002775/0.1681, allocations: 1.316 MB / 494.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.116e-06/0.1682, allocations: 0 / 494.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02711/0.1953, allocations: 8.579 MB / 0.4916 GB, free: 8.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.1954, allocations: 114 kB / 0.4917 GB, free: 8.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.196, allocations: 0.5067 MB / 0.4922 GB, free: 8.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.1962, allocations: 53.69 kB / 0.4922 GB, free: 8.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.1965, allocations: 408.1 kB / 0.4926 GB, free: 7.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/0.1969, allocations: 386.5 kB / 0.493 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004433/0.1974, allocations: 226.8 kB / 0.4932 GB, free: 7.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1976, allocations: 394.7 kB / 0.4936 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/0.1995, allocations: 0.9785 MB / 0.4946 GB, free: 5.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.2017, allocations: 1.157 MB / 0.4957 GB, free: 4.594 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.1954/0.3971, allocations: 5.013 MB / 0.5006 GB, free: 56.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3972, allocations: 2.719 kB / 0.5006 GB, free: 56.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01299/0.4102, allocations: 4.363 MB / 0.5048 GB, free: 55.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.281e-05/0.4103, allocations: 63.05 kB / 0.5049 GB, free: 55.69 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.002347/0.4126, allocations: 1.046 MB / 0.5059 GB, free: 55.32 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated