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.0009767/0.0009767, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.0009693/0.0009693, allocations: 177.9 kB / 23.95 MB, free: 0.5977 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.734 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.1982/0.1982, allocations: 29.41 MB / 290.1 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 431 MB, free: 12.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.268e-05, allocations: 10.22 kB / 431 MB, free: 12.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.005281/0.005293, allocations: 6.652 MB / 437.7 MB, free: 6.113 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.008636, allocations: 2.29 MB / 440 MB, free: 3.816 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.009006, allocations: 39.69 kB / 440 MB, free: 3.777 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008663/0.009872, allocations: 0.5013 MB / 440.5 MB, free: 3.273 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009516/0.01082, allocations: 0.6255 MB / 441.1 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008371/0.01166, allocations: 0.5417 MB / 441.7 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.01299, allocations: 1.991 MB / 443.7 MB, free: 108 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.14/0.153, allocations: 0.5945 MB / 444.3 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.1543, allocations: 1.073 MB / 445.3 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/0.155, allocations: 0.9228 MB / 446.2 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.1552, allocations: 159.1 kB / 446.4 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.1558, allocations: 0.6602 MB / 447.1 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.1562, allocations: 0.674 MB / 447.7 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.1565, allocations: 0.5073 MB / 448.2 MB, free: 44.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.1576, allocations: 2.239 MB / 450.5 MB, free: 44.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1576, allocations: 1.25 kB / 450.5 MB, free: 44.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1576, allocations: 0 / 450.5 MB, free: 44.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.1576, allocations: 0 / 450.5 MB, free: 44.2 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.002136/0.1598, allocations: 1.831 MB / 452.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1598, allocations: 13.7 kB / 452.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.1599, allocations: 175.9 kB / 452.5 MB, free: 43.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005472/0.1605, allocations: 215.3 kB / 452.7 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009914/0.1615, allocations: 0.8603 MB / 453.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.1618, allocations: 1.117 MB / 454.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.162, allocations: 106.8 kB / 454.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.164, allocations: 2.049 MB / 456.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.1641, allocations: 3.375 kB / 456.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.493e-05/0.1641, allocations: 37.38 kB / 456.9 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.1643, allocations: 92.86 kB / 457 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.1668, allocations: 2.244 MB / 459.2 MB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004609/0.1714, allocations: 5.408 MB / 464.6 MB, free: 37.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.1735, allocations: 1.51 MB / 466.1 MB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.1748, allocations: 1.045 MB / 467.2 MB, free: 37.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.767e-05/0.1749, allocations: 14.2 kB / 467.2 MB, free: 37.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/0.1763, allocations: 1.32 MB / 468.5 MB, free: 36.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 2.274e-06/0.1763, allocations: 0 / 468.5 MB, free: 36.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.01337/0.1897, allocations: 8.365 MB / 476.9 MB, free: 34.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1897, allocations: 106.4 kB / 477 MB, free: 34.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.1901, allocations: 0.519 MB / 477.5 MB, free: 34.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/0.1902, allocations: 55.92 kB / 477.6 MB, free: 34.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1904, allocations: 407.9 kB / 478 MB, free: 33.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.1905, allocations: 412.7 kB / 478.4 MB, free: 33.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.1908, allocations: 222.4 kB / 478.6 MB, free: 33.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.1909, allocations: 396.1 kB / 479 MB, free: 33.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.1921, allocations: 1.022 MB / 480 MB, free: 32.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.1934, allocations: 1.211 MB / 481.2 MB, free: 32.22 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.007027/0.2004, allocations: 5.006 MB / 486.2 MB, free: 30.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2004, allocations: 1.062 kB / 486.2 MB, free: 30.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007329/0.2078, allocations: 4.39 MB / 490.6 MB, free: 29.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.2078, allocations: 62.88 kB / 490.7 MB, free: 29.69 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.001251/0.2091, allocations: 1.016 MB / 491.7 MB, free: 29.32 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.964669467881322]