Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 110 kB / 16.51 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 223.3 MB, free: 12.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.166/0.166, allocations: 38 MB / 308.6 MB, free: 6.219 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.91 kB / 374.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2106, allocations: 55.24 MB / 430 MB, free: 19.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007153/0.2178, allocations: 8.222 MB / 438.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.2217, allocations: 2.833 MB / 441 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00075/0.2224, allocations: 55.62 kB / 441.1 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.2239, allocations: 497.3 kB / 441.6 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.2251, allocations: 0.5409 MB / 442.1 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/0.226, allocations: 471.3 kB / 442.6 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.2277, allocations: 2.495 MB / 445.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008369/0.2286, allocations: 0.7838 MB / 445.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006715/0.2293, allocations: 0.6656 MB / 446.5 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/0.2301, allocations: 0.9389 MB / 447.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.2303, allocations: 84 kB / 447.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008427/0.2311, allocations: 0.6356 MB / 448.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003941/0.2315, allocations: 0.569 MB / 448.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005051/0.232, allocations: 0.626 MB / 449.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.2337, allocations: 1.975 MB / 451.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2337, allocations: 0 / 451.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2338, allocations: 4 kB / 451.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.2338, allocations: 0 / 451.3 MB, free: 14.3 MB / 334.1 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.004243/0.238, allocations: 1.877 MB / 453.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.2381, allocations: 8.031 kB / 453.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002569/0.2383, allocations: 180.7 kB / 453.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008919/0.2392, allocations: 175.5 kB / 453.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.241, allocations: 0.8891 MB / 454.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005677/0.2415, allocations: 0.5026 MB / 455 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.2418, allocations: 104 kB / 455.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/0.2456, allocations: 2.047 MB / 457.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.2457, allocations: 0 / 457.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.2458, allocations: 39.98 kB / 457.2 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/0.246, allocations: 89.94 kB / 457.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004516/0.2506, allocations: 2.256 MB / 459.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00845/0.259, allocations: 5.777 MB / 465.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/0.2629, allocations: 1.599 MB / 466.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/0.2652, allocations: 1.117 MB / 468 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.03e-05/0.2653, allocations: 18.23 kB / 468 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002597/0.2679, allocations: 1.312 MB / 469.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 2.615e-06/0.2679, allocations: 4 kB / 469.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.02454/0.2925, allocations: 8.576 MB / 477.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.517e-05/0.2926, allocations: 98.11 kB / 478 MB, free: 3.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000786/0.2934, allocations: 0.5143 MB / 478.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.2936, allocations: 65.67 kB / 478.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/0.294, allocations: 400.2 kB / 479 MB, free: 2.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004618/0.2945, allocations: 398.5 kB / 479.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004739/0.295, allocations: 222.7 kB / 479.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.2952, allocations: 398.7 kB / 480 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.2971, allocations: 0.9706 MB / 480.9 MB, free: 100 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.2991, allocations: 1.158 MB / 482.1 MB, free: 14.89 MB / 366.1 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.01204/0.3111, allocations: 5.014 MB / 487.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.3112, allocations: 7.938 kB / 487.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01232/0.3235, allocations: 4.351 MB / 491.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.3237, allocations: 61.67 kB / 491.5 MB, free: 5.352 MB / 366.1 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.002368/0.326, allocations: 1.059 MB / 492.6 MB, free: 4.289 MB / 366.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated