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.0009774/0.0009775, allocations: 92.53 kB / 16.3 MB, free: 5.535 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.001012/0.001013, allocations: 185 kB / 17.2 MB, free: 5.469 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.539/1.539, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1945/0.1945, allocations: 38.03 MB / 309.7 MB, free: 6.145 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.0005487/0.0005488, allocations: 16 kB / 376.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2788, allocations: 56.32 MB / 432.9 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006011/0.2848, allocations: 7.027 MB / 439.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004089/0.289, allocations: 2.683 MB / 442.6 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007463/0.2898, allocations: 51.62 kB / 442.7 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.2903, allocations: 178.9 kB / 442.8 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.2916, allocations: 0.5101 MB / 443.4 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.2927, allocations: 447.2 kB / 443.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009896/0.2937, allocations: 1.053 MB / 444.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.2948, allocations: 0.9219 MB / 445.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.2955, allocations: 0.5804 MB / 446.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007229/0.2962, allocations: 0.6897 MB / 447 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.2964, allocations: 68 kB / 447.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007773/0.2971, allocations: 0.5149 MB / 447.6 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.2976, allocations: 0.5261 MB / 448.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.2978, allocations: 229.2 kB / 448.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.2988, allocations: 1.555 MB / 449.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.2988, allocations: 0 / 449.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2988, allocations: 0 / 449.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.2988, allocations: 0 / 449.9 MB, free: 1.734 MB / 318.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.003381/0.3022, allocations: 1.698 MB / 451.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3023, allocations: 8.031 kB / 451.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/0.3025, allocations: 172.5 kB / 451.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008171/0.3034, allocations: 186.5 kB / 452 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.3052, allocations: 0.8727 MB / 452.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006188/0.3059, allocations: 0.5218 MB / 453.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.3061, allocations: 111.8 kB / 453.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003961/0.3101, allocations: 2.129 MB / 455.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.3101, allocations: 3.938 kB / 455.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.3103, allocations: 36 kB / 455.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002223/0.3105, allocations: 89.94 kB / 455.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004911/0.3154, allocations: 2.416 MB / 458.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009747/0.3252, allocations: 5.84 MB / 464 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/0.3294, allocations: 1.749 MB / 465.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.23e-05/0.3295, allocations: 21.19 kB / 465.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002766/0.3323, allocations: 1.405 MB / 467.2 MB, free: 40 kB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 2.795e-06/0.3323, allocations: 4 kB / 467.2 MB, free: 36 kB / 334.1 MB Notification: Performance of matching and sorting (n=118): time 0.02879/0.3611, allocations: 10.52 MB / 477.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.565e-05/0.3612, allocations: 106.1 kB / 477.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006971/0.3619, allocations: 0.5143 MB / 478.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.3622, allocations: 57.69 kB / 478.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.3625, allocations: 396.2 kB / 478.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003778/0.3629, allocations: 398.4 kB / 479.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.363, allocations: 20 kB / 479.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3632, allocations: 398.7 kB / 479.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.3652, allocations: 1.033 MB / 480.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/0.3674, allocations: 1.209 MB / 481.8 MB, free: 1.148 MB / 350.1 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.01103/0.3784, allocations: 4.607 MB / 486.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.3784, allocations: 4 kB / 486.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01353/0.392, allocations: 5.172 MB / 491.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.3921, allocations: 57.69 kB / 491.6 MB, free: 7.246 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.002396/0.3945, allocations: 1.108 MB / 492.7 MB, free: 6.129 MB / 366.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated