Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.001565, allocations: 185.5 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.4 MB / 221.9 MB, free: 13.79 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 102.9 kB / 270.2 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2545/0.2545, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004553, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 56.34 MB / 479.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01159/0.1214, allocations: 7.027 MB / 486.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006976/0.1284, allocations: 2.687 MB / 488.9 MB, free: 8.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009205/0.1294, allocations: 47.69 kB / 488.9 MB, free: 8.133 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007395/0.1302, allocations: 178.9 kB / 489.1 MB, free: 7.957 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.1324, allocations: 0.5062 MB / 489.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.1343, allocations: 451.2 kB / 490 MB, free: 7.008 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.1365, allocations: 1.045 MB / 491.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.1387, allocations: 0.9336 MB / 492 MB, free: 4.992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.1401, allocations: 0.5765 MB / 492.6 MB, free: 4.414 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.1416, allocations: 0.6858 MB / 493.3 MB, free: 3.727 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.1419, allocations: 68 kB / 493.3 MB, free: 3.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.1434, allocations: 0.5149 MB / 493.8 MB, free: 3.145 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008922/0.1443, allocations: 0.5106 MB / 494.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004848/0.1448, allocations: 241.1 kB / 494.6 MB, free: 2.391 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.1475, allocations: 1.547 MB / 496.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1475, allocations: 0 / 496.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1475, allocations: 0 / 496.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.088e-05/0.1475, allocations: 0 / 496.1 MB, free: 0.8398 MB / 330.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.006685/0.1542, allocations: 1.702 MB / 497.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1543, allocations: 8.031 kB / 497.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005773/0.1549, allocations: 172.5 kB / 498 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.1562, allocations: 178.5 kB / 498.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/0.1594, allocations: 0.8804 MB / 499.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001062/0.1605, allocations: 0.5179 MB / 499.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004957/0.161, allocations: 111.8 kB / 499.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007614/0.1687, allocations: 2.126 MB / 0.4901 GB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.125e-05/0.1688, allocations: 15.86 kB / 0.4901 GB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/0.169, allocations: 39.98 kB / 0.4901 GB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000396/0.1694, allocations: 93.94 kB / 0.4902 GB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.1795, allocations: 2.404 MB / 0.4926 GB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0169/0.1964, allocations: 5.851 MB / 0.4983 GB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007971/0.2044, allocations: 1.747 MB / 0.5 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.2046, allocations: 14.3 kB / 0.5 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005414/0.2101, allocations: 1.406 MB / 0.5014 GB, free: 15.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=116): time 4.819e-06/0.2101, allocations: 0 / 0.5014 GB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=118): time 0.05644/0.2665, allocations: 10.53 MB / 0.5116 GB, free: 4.461 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.2667, allocations: 102.1 kB / 0.5117 GB, free: 4.344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.2677, allocations: 0.5144 MB / 0.5122 GB, free: 3.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003501/0.2681, allocations: 61.67 kB / 0.5123 GB, free: 3.754 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.2685, allocations: 430.7 kB / 0.5127 GB, free: 3.328 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005774/0.2691, allocations: 394.4 kB / 0.5131 GB, free: 2.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.2693, allocations: 27.94 kB / 0.5131 GB, free: 2.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.2695, allocations: 358.8 kB / 0.5135 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003816/0.2733, allocations: 1.033 MB / 0.5145 GB, free: 1.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004/0.2773, allocations: 1.209 MB / 0.5156 GB, free: 256 kB / 362.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2449:7-2449:76:writable] Error: Internal error function solveEquation failed 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.314/0.5913, allocations: 4.594 MB / 0.5201 GB, free: 51.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.5914, allocations: 2.25 kB / 0.5201 GB, free: 51.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.02607/0.6174, allocations: 5.138 MB / 0.5251 GB, free: 50.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.6176, allocations: 62.47 kB / 0.5252 GB, free: 50.84 MB / 362.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.003911/0.6215, allocations: 1.106 MB / 0.5263 GB, free: 50.46 MB / 362.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated