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.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.001812/0.001812, allocations: 116.2 kB / 18.49 MB, free: 4.559 MB / 14.72 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.001894/0.001894, allocations: 218.9 kB / 21.46 MB, free: 1.605 MB / 14.72 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 1.526/1.526, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1914/0.1914, allocations: 38.51 MB / 349.4 MB, free: 2.609 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="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.001939/0.001939, allocations: 63.91 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1205, allocations: 62.41 MB / 0.5374 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009711/0.1302, allocations: 7.073 MB / 0.5443 GB, free: 480 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004726/0.1349, allocations: 2.43 MB / 0.5466 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005516/0.1354, allocations: 43.69 kB / 0.5467 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.137, allocations: 0.521 MB / 0.5472 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.1386, allocations: 0.6028 MB / 0.5478 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.1398, allocations: 0.5068 MB / 0.5483 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002574/0.1424, allocations: 1.992 MB / 0.5502 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.1435, allocations: 0.7716 MB / 0.551 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.1449, allocations: 0.8219 MB / 0.5518 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.1464, allocations: 0.9935 MB / 0.5527 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002954/0.1467, allocations: 159.9 kB / 0.5529 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.148, allocations: 0.6904 MB / 0.5536 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007691/0.1488, allocations: 0.6508 MB / 0.5542 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008995/0.1497, allocations: 0.6808 MB / 0.5549 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.1524, allocations: 2.079 MB / 0.5569 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1524, allocations: 0 / 0.5569 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1524, allocations: 0 / 0.5569 GB, free: 3.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.046e-05/0.1524, allocations: 0 / 0.5569 GB, free: 3.477 MB / 414.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.004904/0.1573, allocations: 1.915 MB / 0.5588 GB, free: 1.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1574, allocations: 8.031 kB / 0.5588 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.088e-05/0.1574, allocations: 30.19 kB / 0.5588 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002697/0.1577, allocations: 176.7 kB / 0.559 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.1588, allocations: 212.1 kB / 0.5592 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.1609, allocations: 0.9247 MB / 0.5601 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006794/0.1616, allocations: 0.5141 MB / 0.5606 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.1619, allocations: 103.9 kB / 0.5607 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004646/0.1665, allocations: 2.044 MB / 0.5627 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.1666, allocations: 11.94 kB / 0.5627 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.1667, allocations: 39.98 kB / 0.5627 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002579/0.167, allocations: 89.95 kB / 0.5628 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00567/0.1726, allocations: 2.248 MB / 0.565 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.1836, allocations: 5.766 MB / 0.5706 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004531/0.1881, allocations: 1.518 MB / 0.5721 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/0.1909, allocations: 1.043 MB / 0.5731 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-05/0.1909, allocations: 9 kB / 0.5732 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003108/0.1941, allocations: 1.316 MB / 0.5744 GB, free: 1.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.426e-06/0.1941, allocations: 3.938 kB / 0.5744 GB, free: 1.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02999/0.224, allocations: 8.598 MB / 0.5828 GB, free: 8.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.2241, allocations: 94.11 kB / 0.5829 GB, free: 8.262 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/0.2249, allocations: 0.5144 MB / 0.5834 GB, free: 7.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002116/0.2251, allocations: 57.69 kB / 0.5835 GB, free: 7.676 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.2254, allocations: 413.2 kB / 0.5839 GB, free: 7.266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004584/0.2259, allocations: 420.5 kB / 0.5843 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/0.2263, allocations: 222.8 kB / 0.5845 GB, free: 6.625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.2265, allocations: 394.7 kB / 0.5849 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.2287, allocations: 0.9745 MB / 0.5858 GB, free: 5.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.231, allocations: 1.158 MB / 0.587 GB, free: 4.043 MB / 446.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.2579/0.4889, allocations: 5.014 MB / 0.5918 GB, free: 49.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.4889, allocations: 1.938 kB / 0.5919 GB, free: 49.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01411/0.503, allocations: 4.348 MB / 0.5961 GB, free: 49.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.882e-05/0.5031, allocations: 61.67 kB / 0.5962 GB, free: 49.26 MB / 446.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.002329/0.5054, allocations: 1.044 MB / 0.5972 GB, free: 48.89 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.265936323965434] Failed to read output from testmodel.py, exit status != 0: 0.5113423229777254 0.523943133 0.36887084699999995 Calling exit ...