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.0008914/0.0008914, allocations: 79.7 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009658/0.0009658, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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.8834/0.8834, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.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.2207/0.2207, allocations: 29.41 MB / 290.1 MB, free: 2.441 MB / 266.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: "" <> 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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.385e-05, allocations: 4.391 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.005674/0.005688, allocations: 6.644 MB / 436.9 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.008913, allocations: 2.278 MB / 439.1 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.009252, allocations: 43.62 kB / 439.2 MB, free: 4.609 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009899/0.01024, allocations: 0.5158 MB / 439.7 MB, free: 4.094 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.01138, allocations: 0.6138 MB / 440.3 MB, free: 3.477 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009098/0.01229, allocations: 0.5494 MB / 440.9 MB, free: 2.926 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.01346, allocations: 1.999 MB / 442.8 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005327/0.01399, allocations: 0.5959 MB / 443.4 MB, free: 320 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.175/0.189, allocations: 1.072 MB / 444.5 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008612/0.1898, allocations: 0.9195 MB / 445.4 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.19, allocations: 158.7 kB / 445.6 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007398/0.1907, allocations: 0.6642 MB / 446.3 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003421/0.191, allocations: 0.6774 MB / 446.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003353/0.1914, allocations: 0.5044 MB / 447.4 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.1926, allocations: 2.237 MB / 449.7 MB, free: 44.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1926, allocations: 0 / 449.7 MB, free: 44.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1926, allocations: 0 / 449.7 MB, free: 44.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.1926, allocations: 0.5 kB / 449.7 MB, free: 44.13 MB / 410.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.002221/0.1949, allocations: 1.83 MB / 451.5 MB, free: 43.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1949, allocations: 14.92 kB / 451.5 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.1951, allocations: 170 kB / 451.7 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005392/0.1956, allocations: 219.9 kB / 451.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.1966, allocations: 0.8596 MB / 452.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/0.1969, allocations: 1.122 MB / 453.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.1971, allocations: 105.5 kB / 454 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.1992, allocations: 2.055 MB / 456 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.1992, allocations: 0 / 456 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-05/0.1993, allocations: 33.59 kB / 456.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.1994, allocations: 90.86 kB / 456.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.2019, allocations: 2.243 MB / 458.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004541/0.2064, allocations: 5.409 MB / 463.8 MB, free: 38.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.2085, allocations: 1.508 MB / 465.3 MB, free: 37.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.2098, allocations: 1.048 MB / 466.4 MB, free: 37.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.411e-05/0.2098, allocations: 10.53 kB / 466.4 MB, free: 37.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001444/0.2113, allocations: 1.313 MB / 467.7 MB, free: 36.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 2.625e-06/0.2113, allocations: 2.906 kB / 467.7 MB, free: 36.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.01346/0.2247, allocations: 8.363 MB / 476.1 MB, free: 34.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.2248, allocations: 108.4 kB / 476.2 MB, free: 34.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.2252, allocations: 0.524 MB / 476.7 MB, free: 34.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.733e-05/0.2253, allocations: 56.08 kB / 476.7 MB, free: 34.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.2254, allocations: 410.5 kB / 477.1 MB, free: 34.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.2256, allocations: 406.6 kB / 477.5 MB, free: 33.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.2259, allocations: 228 kB / 477.8 MB, free: 33.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.226, allocations: 393.4 kB / 478.1 MB, free: 33.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.2272, allocations: 1.028 MB / 479.2 MB, free: 33.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.2285, allocations: 1.203 MB / 480.4 MB, free: 32.5 MB / 410.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.00695/0.2355, allocations: 5.011 MB / 485.4 MB, free: 31.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2355, allocations: 1.344 kB / 485.4 MB, free: 31.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007319/0.2428, allocations: 4.387 MB / 489.8 MB, free: 30.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.2429, allocations: 66.48 kB / 489.8 MB, free: 29.98 MB / 410.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.001422/0.2443, allocations: 1.02 MB / 490.9 MB, free: 29.61 MB / 410.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: 1.9054000591859221] Failed to read output from testmodel.py, exit status != 0: 0.24935877695679665 0.25761006 0.06339986 Calling exit ...