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.001335/0.001335, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001589/0.001589, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.563/1.563, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1875/0.1875, allocations: 38.56 MB / 352.5 MB, free: 12.29 MB / 286.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="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"}) [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.002441/0.002441, allocations: 63.91 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2886, allocations: 62.46 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009631/0.2982, allocations: 6.684 MB / 0.5485 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004582/0.3028, allocations: 2.272 MB / 0.5507 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.3033, allocations: 37.81 kB / 0.5507 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.3049, allocations: 0.5094 MB / 0.5512 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.3063, allocations: 0.6092 MB / 0.5518 GB, free: 8.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.3075, allocations: 0.5133 MB / 0.5523 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.3098, allocations: 1.993 MB / 0.5543 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000878/0.3107, allocations: 0.6019 MB / 0.5549 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.3121, allocations: 0.8327 MB / 0.5557 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.3135, allocations: 0.9669 MB / 0.5566 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.3137, allocations: 160 kB / 0.5568 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.3149, allocations: 0.6475 MB / 0.5574 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006854/0.3156, allocations: 0.6548 MB / 0.558 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007101/0.3163, allocations: 0.5876 MB / 0.5586 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.3187, allocations: 2.091 MB / 0.5607 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3187, allocations: 0 / 0.5607 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3187, allocations: 3.938 kB / 0.5607 GB, free: 1.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.3187, allocations: 0 / 0.5607 GB, free: 1.051 MB / 398.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.004493/0.3232, allocations: 1.839 MB / 0.5625 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3232, allocations: 19.97 kB / 0.5625 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002482/0.3235, allocations: 172.7 kB / 0.5626 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009828/0.3244, allocations: 212.1 kB / 0.5628 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.3268, allocations: 0.8642 MB / 0.5637 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/0.3278, allocations: 1.124 MB / 0.5648 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/0.3281, allocations: 108 kB / 0.5649 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00433/0.3324, allocations: 2.04 MB / 0.5669 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.3325, allocations: 0 / 0.5669 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.3326, allocations: 43.97 kB / 0.5669 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002384/0.3328, allocations: 93.89 kB / 0.567 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005302/0.3381, allocations: 2.24 MB / 0.5692 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.3483, allocations: 5.375 MB / 0.5744 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004388/0.3527, allocations: 1.51 MB / 0.5759 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002677/0.3554, allocations: 1.047 MB / 0.5769 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-05/0.3554, allocations: 9 kB / 0.577 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002969/0.3584, allocations: 1.316 MB / 0.5782 GB, free: 14.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.156e-06/0.3584, allocations: 4 kB / 0.5782 GB, free: 14.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02878/0.3872, allocations: 8.365 MB / 0.5864 GB, free: 6.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/0.3873, allocations: 102.1 kB / 0.5865 GB, free: 5.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.388, allocations: 0.5222 MB / 0.587 GB, free: 5.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.3882, allocations: 53.7 kB / 0.5871 GB, free: 5.375 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.3886, allocations: 413.2 kB / 0.5875 GB, free: 4.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/0.389, allocations: 416.5 kB / 0.5879 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004554/0.3895, allocations: 222.8 kB / 0.5881 GB, free: 4.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.3897, allocations: 394.8 kB / 0.5884 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.3919, allocations: 1.023 MB / 0.5894 GB, free: 2.906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.3943, allocations: 1.202 MB / 0.5906 GB, free: 1.641 MB / 430.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.01302/0.4073, allocations: 5.011 MB / 0.5955 GB, free: 12.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4073, allocations: 0 / 0.5955 GB, free: 12.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01376/0.4211, allocations: 4.389 MB / 0.5998 GB, free: 8.145 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.4212, allocations: 57.67 kB / 0.5999 GB, free: 8.082 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.002234/0.4234, allocations: 1.019 MB / 0.6008 GB, free: 7.051 MB / 446.1 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: 3.0769016528502107] Failed to read output from testmodel.py, exit status != 0: 0.4311185139231384 0.447285958 0.12508826999999995 Calling exit ...