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.0008647/0.0008647, allocations: 83.69 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.0009598/0.0009598, 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.9204/0.9204, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2325/0.2325, allocations: 29.4 MB / 290.1 MB, free: 2.457 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.984e-05, allocations: 6.219 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006118/0.006138, allocations: 6.647 MB / 436.9 MB, free: 6.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.009609, allocations: 2.282 MB / 439.1 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.01006, allocations: 43.62 kB / 439.2 MB, free: 4.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.01106, allocations: 0.5163 MB / 439.7 MB, free: 4.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.01244, allocations: 0.6216 MB / 440.3 MB, free: 3.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000913/0.01335, allocations: 0.5378 MB / 440.9 MB, free: 2.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.01484, allocations: 1.995 MB / 442.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007029/0.01555, allocations: 0.6037 MB / 443.5 MB, free: 300 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1686/0.1842, allocations: 1.069 MB / 444.5 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009855/0.1852, allocations: 0.9187 MB / 445.4 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.1854, allocations: 161.5 kB / 445.6 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008489/0.1862, allocations: 0.6538 MB / 446.3 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.1866, allocations: 0.6812 MB / 446.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.187, allocations: 0.5037 MB / 447.4 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.1886, allocations: 2.24 MB / 449.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1886, allocations: 0 / 449.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1886, allocations: 3.938 kB / 449.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.1886, allocations: 0 / 449.7 MB, free: 44.12 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.002556/0.1912, allocations: 1.82 MB / 451.5 MB, free: 43.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1912, allocations: 16.36 kB / 451.5 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.1914, allocations: 173.5 kB / 451.7 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006051/0.192, allocations: 223.9 kB / 451.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.1931, allocations: 0.8576 MB / 452.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003596/0.1934, allocations: 1.124 MB / 453.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.1936, allocations: 101.1 kB / 454 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.1958, allocations: 2.045 MB / 456 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.1958, allocations: 7.094 kB / 456 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.1959, allocations: 38.03 kB / 456.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.196, allocations: 98 kB / 456.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.1985, allocations: 2.242 MB / 458.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005015/0.2035, allocations: 5.404 MB / 463.8 MB, free: 38.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.2057, allocations: 1.512 MB / 465.3 MB, free: 37.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.2069, allocations: 1.046 MB / 466.4 MB, free: 37.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.846e-05/0.207, allocations: 14.34 kB / 466.4 MB, free: 37.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.2085, allocations: 1.314 MB / 467.7 MB, free: 36.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 3.647e-06/0.2085, allocations: 0 / 467.7 MB, free: 36.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.01397/0.2224, allocations: 8.356 MB / 476.1 MB, free: 34.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.2225, allocations: 105.7 kB / 476.2 MB, free: 34.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.2231, allocations: 0.5249 MB / 476.7 MB, free: 34.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.2232, allocations: 53.3 kB / 476.7 MB, free: 34.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.2234, allocations: 407.6 kB / 477.1 MB, free: 34.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.2236, allocations: 415.5 kB / 477.5 MB, free: 33.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.2239, allocations: 225 kB / 477.8 MB, free: 33.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.224, allocations: 396.1 kB / 478.2 MB, free: 33.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.2253, allocations: 1.021 MB / 479.2 MB, free: 33.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.2269, allocations: 1.207 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.007666/0.2345, allocations: 5.017 MB / 485.4 MB, free: 31.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.2345, allocations: 1.094 kB / 485.4 MB, free: 31.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007581/0.2421, allocations: 4.385 MB / 489.8 MB, free: 30.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.631e-05/0.2422, allocations: 61.98 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.001466/0.2437, allocations: 1.016 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: 2.044738537631929] Failed to read output from testmodel.py, exit status != 0: 0.2501031458377838 0.26196967600000004 0.071620445 Calling exit ...