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.00163/0.00163, 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.001695/0.001695, allocations: 166 kB / 23.94 MB, free: 0.6172 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.9674/0.9674, allocations: 177.1 MB / 204.3 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.2389/0.2389, allocations: 29.43 MB / 290.1 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.503e-06/1.503e-06, allocations: 0 / 431.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.589e-05, allocations: 3.406 kB / 431.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006183/0.006199, allocations: 6.65 MB / 438.5 MB, free: 5.355 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.009378, allocations: 2.29 MB / 440.8 MB, free: 3.059 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.009803, allocations: 39.69 kB / 440.8 MB, free: 3.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009836/0.01079, allocations: 0.513 MB / 441.3 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.01184, allocations: 0.6178 MB / 441.9 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.01271, allocations: 0.5417 MB / 442.5 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1801/0.1928, allocations: 1.998 MB / 444.5 MB, free: 45.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006724/0.1934, allocations: 0.5969 MB / 445.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.1945, allocations: 1.068 MB / 446.1 MB, free: 45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007298/0.1953, allocations: 0.9219 MB / 447 MB, free: 44.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.1954, allocations: 159.3 kB / 447.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006631/0.1961, allocations: 0.6649 MB / 447.9 MB, free: 44.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.1964, allocations: 0.6751 MB / 448.5 MB, free: 44.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.1967, allocations: 0.5028 MB / 449 MB, free: 44.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.1979, allocations: 2.234 MB / 451.3 MB, free: 44.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1979, allocations: 0 / 451.3 MB, free: 44.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1979, allocations: 1.5 kB / 451.3 MB, free: 44.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1979, allocations: 0 / 451.3 MB, free: 44.74 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.002524/0.2004, allocations: 1.832 MB / 453.1 MB, free: 43.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.2005, allocations: 13.64 kB / 453.1 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.2007, allocations: 170.5 kB / 453.3 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006569/0.2013, allocations: 213.9 kB / 453.5 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.2025, allocations: 0.8635 MB / 454.4 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004337/0.2029, allocations: 1.116 MB / 455.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.2032, allocations: 115.1 kB / 455.6 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.2055, allocations: 2.046 MB / 457.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.2055, allocations: 3.344 kB / 457.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.466e-05/0.2056, allocations: 44.17 kB / 457.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/0.2057, allocations: 84.77 kB / 457.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.2085, allocations: 2.251 MB / 460 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005256/0.2138, allocations: 5.401 MB / 465.4 MB, free: 38.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.216, allocations: 1.512 MB / 466.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.2173, allocations: 1.049 MB / 468 MB, free: 37.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.339e-05/0.2173, allocations: 14.5 kB / 468 MB, free: 37.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/0.2189, allocations: 1.315 MB / 469.3 MB, free: 36.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 2.534e-06/0.2189, allocations: 0 / 469.3 MB, free: 36.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.01461/0.2335, allocations: 8.361 MB / 477.7 MB, free: 34.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.2335, allocations: 105.4 kB / 477.8 MB, free: 34.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000561/0.2341, allocations: 0.5256 MB / 478.3 MB, free: 34.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.186e-05/0.2342, allocations: 55.36 kB / 478.4 MB, free: 34.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.2344, allocations: 411.2 kB / 478.8 MB, free: 34.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.2347, allocations: 407.1 kB / 479.2 MB, free: 33.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.235, allocations: 221.9 kB / 479.4 MB, free: 33.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.2351, allocations: 400.6 kB / 479.8 MB, free: 33.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.2364, allocations: 1.022 MB / 480.8 MB, free: 32.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.2379, allocations: 1.203 MB / 482 MB, free: 32.46 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.007849/0.2458, allocations: 5.02 MB / 487 MB, free: 31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2458, allocations: 1.578 kB / 487 MB, free: 31 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.008233/0.254, allocations: 4.383 MB / 491.4 MB, free: 29.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.2541, allocations: 64.66 kB / 491.5 MB, free: 29.93 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.001425/0.2555, allocations: 1.015 MB / 492.5 MB, free: 29.57 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.282865039072931]