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: 113.2 kB / 20.43 MB, free: 1.449 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.002222/0.002222, allocations: 213.8 kB / 23.74 MB, free: 4.656 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.1872/0.1872, allocations: 38.53 MB / 352.4 MB, free: 12.55 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.001938/0.001938, allocations: 67.89 kB / 492.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3258, allocations: 62.45 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009323/0.3351, allocations: 7.206 MB / 0.549 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005159/0.3403, allocations: 2.441 MB / 0.5514 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.3409, allocations: 42.31 kB / 0.5515 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.3425, allocations: 0.5354 MB / 0.552 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.3442, allocations: 0.6047 MB / 0.5526 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.3454, allocations: 0.5164 MB / 0.5531 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.3478, allocations: 1.999 MB / 0.555 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009249/0.3488, allocations: 0.6056 MB / 0.5556 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.3504, allocations: 0.8249 MB / 0.5564 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.352, allocations: 1.008 MB / 0.5574 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.3522, allocations: 156 kB / 0.5576 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.3535, allocations: 0.6904 MB / 0.5582 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007195/0.3543, allocations: 0.6509 MB / 0.5589 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008283/0.3551, allocations: 0.6885 MB / 0.5595 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.3575, allocations: 2.083 MB / 0.5616 GB, free: 460 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3575, allocations: 7.938 kB / 0.5616 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3575, allocations: 0 / 0.5616 GB, free: 452 kB / 398.1 MB Notification: Performance of Transformations before backend: time 2.818e-05/0.3575, allocations: 0 / 0.5616 GB, free: 452 kB / 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.004598/0.3621, allocations: 1.846 MB / 0.5634 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3622, allocations: 15.98 kB / 0.5634 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002352/0.3624, allocations: 172.7 kB / 0.5636 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009701/0.3634, allocations: 212.1 kB / 0.5638 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.3655, allocations: 0.8565 MB / 0.5646 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001062/0.3666, allocations: 1.128 MB / 0.5657 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.3668, allocations: 107.9 kB / 0.5658 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004166/0.371, allocations: 2.044 MB / 0.5678 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.371, allocations: 0 / 0.5678 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.3712, allocations: 35.98 kB / 0.5678 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002426/0.3714, allocations: 89.95 kB / 0.5679 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005047/0.3765, allocations: 2.256 MB / 0.5701 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.3868, allocations: 5.691 MB / 0.5757 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004227/0.391, allocations: 1.513 MB / 0.5772 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/0.3936, allocations: 1.043 MB / 0.5782 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.3937, allocations: 20.94 kB / 0.5782 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002869/0.3966, allocations: 1.314 MB / 0.5795 GB, free: 13.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 2.805e-06/0.3966, allocations: 0 / 0.5795 GB, free: 13.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.0268/0.4234, allocations: 8.376 MB / 0.5877 GB, free: 5.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.4235, allocations: 102.1 kB / 0.5878 GB, free: 5.016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006854/0.4242, allocations: 0.5144 MB / 0.5883 GB, free: 4.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.4244, allocations: 53.7 kB / 0.5883 GB, free: 4.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.4248, allocations: 413.2 kB / 0.5887 GB, free: 4.023 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000427/0.4252, allocations: 416.5 kB / 0.5891 GB, free: 3.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004287/0.4256, allocations: 222.8 kB / 0.5893 GB, free: 3.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002691/0.4259, allocations: 394.8 kB / 0.5897 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.4279, allocations: 0.9745 MB / 0.5906 GB, free: 2.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.4301, allocations: 1.162 MB / 0.5918 GB, free: 0.8008 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.01307/0.4432, allocations: 5.022 MB / 0.5967 GB, free: 11.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.4432, allocations: 4 kB / 0.5967 GB, free: 11.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01322/0.4564, allocations: 4.34 MB / 0.6009 GB, free: 7.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.4565, allocations: 61.67 kB / 0.601 GB, free: 7.277 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.002434/0.4589, allocations: 1.046 MB / 0.602 GB, free: 6.219 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.1180185189004987] Failed to read output from testmodel.py, exit status != 0: 0.46689522615633905 0.482557144 0.12178965400000001 Calling exit ...