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.001411/0.001411, 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.002345/0.002345, allocations: 209.7 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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.1858/0.1858, allocations: 38.55 MB / 352.5 MB, free: 12.3 MB / 286.1 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: "" <> 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"}) [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.002865/0.002865, allocations: 67.89 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2993, allocations: 62.47 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008941/0.3082, allocations: 6.681 MB / 0.5485 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004478/0.3127, allocations: 2.271 MB / 0.5507 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004294/0.3131, allocations: 43 kB / 0.5507 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.3147, allocations: 0.5086 MB / 0.5512 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.3161, allocations: 0.6124 MB / 0.5518 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.3173, allocations: 0.5148 MB / 0.5523 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.3197, allocations: 1.996 MB / 0.5543 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009178/0.3206, allocations: 0.5908 MB / 0.5549 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.322, allocations: 0.8359 MB / 0.5557 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.3235, allocations: 0.9687 MB / 0.5566 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002689/0.3238, allocations: 160 kB / 0.5568 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.325, allocations: 0.6514 MB / 0.5574 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006995/0.3257, allocations: 0.6509 MB / 0.558 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008158/0.3266, allocations: 0.5837 MB / 0.5586 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.3291, allocations: 2.095 MB / 0.5607 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3291, allocations: 0 / 0.5607 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3291, allocations: 3.938 kB / 0.5607 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.3292, allocations: 4 kB / 0.5607 GB, free: 1.039 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.004573/0.3337, allocations: 1.839 MB / 0.5625 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3338, allocations: 11.98 kB / 0.5625 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002446/0.334, allocations: 172.7 kB / 0.5626 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009944/0.335, allocations: 216.1 kB / 0.5628 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.3373, allocations: 0.8681 MB / 0.5637 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/0.3383, allocations: 1.124 MB / 0.5648 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.3386, allocations: 104 kB / 0.5649 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004326/0.3429, allocations: 2.036 MB / 0.5669 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.343, allocations: 4 kB / 0.5669 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.3431, allocations: 43.97 kB / 0.5669 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002436/0.3433, allocations: 89.95 kB / 0.567 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005501/0.3488, allocations: 2.244 MB / 0.5692 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.3594, allocations: 5.375 MB / 0.5744 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004325/0.3637, allocations: 1.502 MB / 0.5759 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/0.3664, allocations: 1.047 MB / 0.5769 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.838e-05/0.3665, allocations: 13 kB / 0.5769 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002968/0.3694, allocations: 1.314 MB / 0.5782 GB, free: 14.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.226e-06/0.3694, allocations: 0 / 0.5782 GB, free: 14.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02835/0.3978, allocations: 8.368 MB / 0.5864 GB, free: 6.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.3979, allocations: 102.1 kB / 0.5865 GB, free: 5.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.3987, allocations: 0.5183 MB / 0.587 GB, free: 5.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.3989, allocations: 49.7 kB / 0.5871 GB, free: 5.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.3993, allocations: 417.2 kB / 0.5875 GB, free: 4.969 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.3997, allocations: 412.5 kB / 0.5878 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/0.4002, allocations: 226.8 kB / 0.5881 GB, free: 4.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.4004, allocations: 390.8 kB / 0.5884 GB, free: 3.941 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.4026, allocations: 1.027 MB / 0.5894 GB, free: 2.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.4049, allocations: 1.212 MB / 0.5906 GB, free: 1.637 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.01275/0.4177, allocations: 5.01 MB / 0.5955 GB, free: 12.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4177, allocations: 0 / 0.5955 GB, free: 12.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01365/0.4314, allocations: 4.389 MB / 0.5998 GB, free: 8.141 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.4315, allocations: 61.67 kB / 0.5999 GB, free: 8.074 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.002366/0.4338, allocations: 1.015 MB / 0.6008 GB, free: 7.047 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: 2.989554957021028] Failed to read output from testmodel.py, exit status != 0: 0.4426962109282613 0.45722374400000004 0.12484607600000001 Calling exit ...