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.001052/0.001052, allocations: 107.9 kB / 20.43 MB, free: 4.594 MB / 13.93 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.001056/0.001056, allocations: 217.5 kB / 23.73 MB, free: 2.125 MB / 13.93 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.9947/0.9947, allocations: 230.6 MB / 257.5 MB, free: 9.578 MB / 202.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.1413/0.1413, allocations: 38.57 MB / 352.5 MB, free: 11.32 MB / 282.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.89 kB / 493.3 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1109, allocations: 62.48 MB / 0.5427 GB, free: 5.98 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006886/0.1178, allocations: 6.671 MB / 0.5492 GB, free: 15.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.121, allocations: 2.263 MB / 0.5515 GB, free: 13 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003019/0.1213, allocations: 43.62 kB / 0.5515 GB, free: 12.96 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009422/0.1223, allocations: 0.5016 MB / 0.552 GB, free: 12.45 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009131/0.1232, allocations: 0.6145 MB / 0.5526 GB, free: 11.84 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007031/0.1239, allocations: 0.5146 MB / 0.5531 GB, free: 11.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.1253, allocations: 1.996 MB / 0.555 GB, free: 9.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006199/0.1259, allocations: 0.5997 MB / 0.5556 GB, free: 8.707 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008808/0.1268, allocations: 0.8414 MB / 0.5564 GB, free: 7.863 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.1279, allocations: 0.9583 MB / 0.5574 GB, free: 6.902 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.1281, allocations: 159.9 kB / 0.5575 GB, free: 6.746 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000776/0.1289, allocations: 0.6475 MB / 0.5582 GB, free: 6.098 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004403/0.1293, allocations: 0.6625 MB / 0.5588 GB, free: 5.434 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000476/0.1298, allocations: 0.5798 MB / 0.5594 GB, free: 4.852 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.1313, allocations: 2.091 MB / 0.5614 GB, free: 2.754 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1313, allocations: 4 kB / 0.5614 GB, free: 2.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1313, allocations: 0 / 0.5614 GB, free: 2.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.1314, allocations: 0 / 0.5614 GB, free: 2.75 MB / 426.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.002704/0.1341, allocations: 1.835 MB / 0.5632 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1341, allocations: 12.03 kB / 0.5632 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.1343, allocations: 172.7 kB / 0.5634 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005986/0.1349, allocations: 212.1 kB / 0.5636 GB, free: 460 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2097/0.3446, allocations: 0.8589 MB / 0.5644 GB, free: 27.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004238/0.345, allocations: 1.121 MB / 0.5655 GB, free: 26.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.3452, allocations: 107.8 kB / 0.5656 GB, free: 26.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.3476, allocations: 2.048 MB / 0.5676 GB, free: 26.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.3476, allocations: 2.578 kB / 0.5676 GB, free: 26.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.772e-05/0.3477, allocations: 43.09 kB / 0.5677 GB, free: 26.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.3478, allocations: 85.98 kB / 0.5678 GB, free: 26.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.3507, allocations: 2.245 MB / 0.5699 GB, free: 26.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005573/0.3563, allocations: 5.381 MB / 0.5752 GB, free: 23.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.3586, allocations: 1.51 MB / 0.5767 GB, free: 23.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.3601, allocations: 1.044 MB / 0.5777 GB, free: 22.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.725e-05/0.3601, allocations: 12.47 kB / 0.5777 GB, free: 22.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/0.3618, allocations: 1.322 MB / 0.579 GB, free: 22.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=116): time 2.595e-06/0.3618, allocations: 0 / 0.579 GB, free: 22.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=118): time 0.01476/0.3766, allocations: 8.359 MB / 0.5872 GB, free: 19.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3766, allocations: 107 kB / 0.5873 GB, free: 19.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.3771, allocations: 0.5163 MB / 0.5878 GB, free: 19.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.989e-05/0.3771, allocations: 57.56 kB / 0.5878 GB, free: 19.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.3773, allocations: 416.6 kB / 0.5882 GB, free: 19.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.3775, allocations: 409.8 kB / 0.5886 GB, free: 18.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.3778, allocations: 218.2 kB / 0.5888 GB, free: 18.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.3778, allocations: 402.2 kB / 0.5892 GB, free: 18.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.379, allocations: 1.023 MB / 0.5902 GB, free: 17.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.3802, allocations: 1.204 MB / 0.5914 GB, free: 17.02 MB / 426.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.006809/0.3871, allocations: 5.006 MB / 0.5963 GB, free: 14.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3871, allocations: 6.344 kB / 0.5963 GB, free: 14.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006457/0.3935, allocations: 4.384 MB / 0.6006 GB, free: 11.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.3936, allocations: 56.66 kB / 0.6006 GB, free: 11.64 MB / 426.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.001074/0.3946, allocations: 1.019 MB / 0.6016 GB, free: 10.62 MB / 426.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: 2.4290709123015404]