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.0008929/0.000893, allocations: 91.03 kB / 16.65 MB, free: 6.602 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.001129/0.001129, allocations: 175.5 kB / 17.56 MB, free: 6.203 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.398/1.398, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1683/0.1683, allocations: 38.06 MB / 310.1 MB, free: 5.918 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.0005173/0.0005174, allocations: 19.11 kB / 377.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2485, allocations: 56.32 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006027/0.2546, allocations: 7.774 MB / 441.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00434/0.259, allocations: 2.794 MB / 444.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000757/0.2598, allocations: 51.62 kB / 444.2 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005492/0.2603, allocations: 151 kB / 444.4 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.2614, allocations: 0.5526 MB / 444.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000813/0.2622, allocations: 463.4 kB / 445.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.2639, allocations: 2.491 MB / 447.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.2652, allocations: 1.057 MB / 448.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007568/0.266, allocations: 0.6227 MB / 449.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009166/0.2669, allocations: 0.8959 MB / 450.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.2671, allocations: 68 kB / 450.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008798/0.268, allocations: 0.6161 MB / 451.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004246/0.2684, allocations: 0.5494 MB / 451.7 MB, free: 480 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.2691, allocations: 0.6083 MB / 452.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.2713, allocations: 1.935 MB / 454.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2713, allocations: 0 / 454.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2713, allocations: 4 kB / 454.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.2714, allocations: 0 / 454.2 MB, free: 13.9 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.004045/0.2754, allocations: 1.679 MB / 455.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.2755, allocations: 8.031 kB / 455.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002571/0.2757, allocations: 176.7 kB / 456.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007785/0.2765, allocations: 175.5 kB / 456.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.2782, allocations: 0.8892 MB / 457.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006194/0.2788, allocations: 0.5299 MB / 457.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/0.2791, allocations: 103.9 kB / 457.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00399/0.2831, allocations: 2.152 MB / 459.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.2831, allocations: 0 / 459.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.2833, allocations: 39.98 kB / 460 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002111/0.2835, allocations: 85.95 kB / 460 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004903/0.2884, allocations: 2.432 MB / 462.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008851/0.2973, allocations: 5.851 MB / 468.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004269/0.3016, allocations: 1.757 MB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002587/0.3042, allocations: 1.219 MB / 471.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.789e-05/0.3043, allocations: 17 kB / 471.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002795/0.3071, allocations: 1.41 MB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 2.625e-06/0.3071, allocations: 0 / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.02842/0.3355, allocations: 10.33 MB / 483.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.3356, allocations: 102.1 kB / 483.2 MB, free: 408 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000631/0.3363, allocations: 0.5105 MB / 483.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.3364, allocations: 53.69 kB / 483.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.3367, allocations: 404.2 kB / 484.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003318/0.3371, allocations: 390.5 kB / 484.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.3372, allocations: 109.7 kB / 484.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3374, allocations: 402.7 kB / 485 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001958/0.3394, allocations: 1.049 MB / 486 MB, free: 13.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.3415, allocations: 1.24 MB / 487.3 MB, free: 12.17 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.01224/0.3537, allocations: 5.307 MB / 492.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.3538, allocations: 4 kB / 492.6 MB, free: 6.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01422/0.368, allocations: 5.218 MB / 497.8 MB, free: 1.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3682, allocations: 61.61 kB / 497.9 MB, free: 1.484 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.002301/0.3705, allocations: 1.129 MB / 499 MB, free: 356 kB / 366.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated