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.00092/0.0009201, allocations: 170.9 kB / 16.07 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.4 MB / 222.2 MB, free: 9.023 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.0007729/0.0007731, allocations: 94.28 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1874/0.1874, allocations: 38.07 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 8 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2571, allocations: 56.33 MB / 479.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007062/0.2642, allocations: 7.389 MB / 487.1 MB, free: 4.227 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.2686, allocations: 2.655 MB / 489.8 MB, free: 2.363 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007461/0.2694, allocations: 48.56 kB / 489.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.27, allocations: 191.6 kB / 490 MB, free: 2.246 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.2718, allocations: 0.6276 MB / 490.6 MB, free: 1.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.2731, allocations: 475.2 kB / 491.1 MB, free: 1.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002683/0.2758, allocations: 2.056 MB / 493.2 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.2776, allocations: 1.038 MB / 494.2 MB, free: 428 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.2789, allocations: 0.6372 MB / 494.8 MB, free: 212 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.2806, allocations: 0.8994 MB / 495.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.2808, allocations: 66.5 kB / 495.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.2823, allocations: 0.618 MB / 496.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008004/0.2831, allocations: 0.5504 MB / 497 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009013/0.284, allocations: 0.5886 MB / 497.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.2858, allocations: 1.554 MB / 499.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.2858, allocations: 9.062 kB / 499.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2858, allocations: 0 / 499.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.568e-05/0.2859, allocations: 0 / 499.1 MB, free: 14.38 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.004503/0.2904, allocations: 1.685 MB / 0.4891 GB, free: 13.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2904, allocations: 8.906 kB / 0.4891 GB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003227/0.2908, allocations: 172.2 kB / 0.4892 GB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008696/0.2916, allocations: 176.6 kB / 0.4894 GB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.2935, allocations: 0.8956 MB / 0.4903 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006411/0.2942, allocations: 0.5227 MB / 0.4908 GB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/0.2944, allocations: 107.8 kB / 0.4909 GB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00443/0.2989, allocations: 2.132 MB / 0.493 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.2989, allocations: 9.188 kB / 0.493 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.2991, allocations: 41 kB / 0.493 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002492/0.2993, allocations: 88.64 kB / 0.4931 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005208/0.3046, allocations: 2.416 MB / 0.4955 GB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.3146, allocations: 5.855 MB / 0.5012 GB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/0.3188, allocations: 1.744 MB / 0.5029 GB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/0.3214, allocations: 1.215 MB / 0.5041 GB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.476e-05/0.3216, allocations: 10.25 kB / 0.5041 GB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002862/0.3244, allocations: 1.414 MB / 0.5055 GB, free: 20 kB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 3.827e-06/0.3244, allocations: 0 / 0.5055 GB, free: 20 kB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.02867/0.3531, allocations: 10.31 MB / 0.5155 GB, free: 5.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/0.3533, allocations: 102.1 kB / 0.5156 GB, free: 5.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006896/0.354, allocations: 0.5144 MB / 0.5161 GB, free: 4.973 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003473/0.3543, allocations: 57.69 kB / 0.5162 GB, free: 4.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.3546, allocations: 400.2 kB / 0.5166 GB, free: 4.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004335/0.3551, allocations: 394.4 kB / 0.5169 GB, free: 4.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.3552, allocations: 20 kB / 0.517 GB, free: 4.102 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3554, allocations: 398.7 kB / 0.5173 GB, free: 3.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.3573, allocations: 1.049 MB / 0.5184 GB, free: 2.656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.3595, allocations: 1.224 MB / 0.5196 GB, free: 1.375 MB / 346.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.0124/0.3719, allocations: 5.3 MB / 0.5247 GB, free: 12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.3719, allocations: 4 kB / 0.5247 GB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01355/0.3855, allocations: 5.191 MB / 0.5298 GB, free: 6.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.3856, allocations: 61.67 kB / 0.5299 GB, free: 6.723 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.002368/0.388, allocations: 1.117 MB / 0.531 GB, free: 5.598 MB / 362.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated