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.000731/0.000731, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001762, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 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.001394/0.001394, allocations: 149.9 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001506/0.0029, allocations: 476.2 kB / 11.66 MB, free: 2.512 MB / 13.93 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.9035/0.9035, allocations: 177.1 MB / 189.5 MB, free: 3.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.157/1.06, allocations: 53.65 MB / 243.2 MB, free: 2.32 MB / 234.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.1178/0.1178, allocations: 29.43 MB / 273.4 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01381/0.1317, allocations: 9.535 MB / 282.9 MB, free: 10.74 MB / 282.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+3.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 284.1 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.664e-05, allocations: 2.312 kB / 284.1 MB, free: 9.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008191/0.008207, allocations: 6.169 MB / 290.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.01278, allocations: 2.379 MB / 292.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.01319, allocations: 39.69 kB / 292.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.01436, allocations: 457.6 kB / 293.2 MB, free: 432 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.01562, allocations: 0.6254 MB / 293.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.01676, allocations: 0.53 MB / 294.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.01873, allocations: 2.038 MB / 296.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009382/0.01967, allocations: 0.6703 MB / 297 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.02118, allocations: 1.166 MB / 298.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.02257, allocations: 0.8652 MB / 299.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.02275, allocations: 144 kB / 299.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009077/0.02366, allocations: 0.6512 MB / 299.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004851/0.02414, allocations: 0.5652 MB / 300.4 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004557/0.0246, allocations: 379.4 kB / 300.8 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.02577, allocations: 1.301 MB / 302.1 MB, free: 7.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.02578, allocations: 0 / 302.1 MB, free: 7.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.02578, allocations: 4 kB / 302.1 MB, free: 7.457 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.02579, allocations: 0 / 302.1 MB, free: 7.457 MB / 298.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.001915/0.0277, allocations: 1.603 MB / 303.7 MB, free: 5.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.02773, allocations: 12.03 kB / 303.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.02788, allocations: 172.6 kB / 303.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006422/0.02852, allocations: 365.6 kB / 304.2 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006749/0.0292, allocations: 0.6548 MB / 304.9 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006938/0.02989, allocations: 1.097 MB / 306 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.03005, allocations: 112.4 kB / 306.1 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.03111, allocations: 1.029 MB / 307.1 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.03113, allocations: 7.938 kB / 307.1 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/0.03121, allocations: 35.98 kB / 307.2 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.03132, allocations: 85.97 kB / 307.3 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/0.03206, allocations: 0.5395 MB / 307.8 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/0.03576, allocations: 3.708 MB / 311.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/0.03649, allocations: 0.5433 MB / 312 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.03684, allocations: 279.4 kB / 312.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.124e-05/0.0369, allocations: 24.98 kB / 312.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008289/0.03773, allocations: 0.5772 MB / 312.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 3.126e-06/0.03773, allocations: 0 / 312.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.0063/0.04403, allocations: 3.448 MB / 316.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.04408, allocations: 102 kB / 316.5 MB, free: 8.465 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.04434, allocations: 451 kB / 316.9 MB, free: 8.012 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-05/0.04442, allocations: 53.69 kB / 317 MB, free: 7.953 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.04457, allocations: 350.5 kB / 317.3 MB, free: 7.605 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.04477, allocations: 408.5 kB / 317.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.04501, allocations: 198.7 kB / 317.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.04512, allocations: 402.6 kB / 318.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.04544, allocations: 283.1 kB / 318.6 MB, free: 6.316 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.04581, allocations: 459.9 kB / 319 MB, free: 5.809 MB / 314.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.001217/0.04702, allocations: 1.057 MB / 320.1 MB, free: 4.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.04703, allocations: 4 kB / 320.1 MB, free: 4.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003162/0.05019, allocations: 1.969 MB / 322 MB, free: 2.684 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.05024, allocations: 61.61 kB / 322.1 MB, free: 2.617 MB / 314.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.0004051/0.05064, allocations: 367.3 kB / 322.5 MB, free: 2.254 MB / 314.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.6045067589730024]