Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_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.00146/0.00146, allocations: 114 kB / 17.06 MB, free: 5.996 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.00165/0.00165, allocations: 200 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2033/0.2033, allocations: 38.04 MB / 329.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 457.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3354, allocations: 58.06 MB / 0.5036 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007003/0.3424, allocations: 6.989 MB / 0.5104 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.3462, allocations: 2.369 MB / 0.5128 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005521/0.3468, allocations: 26.28 kB / 0.5128 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.3482, allocations: 0.5214 MB / 0.5133 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.3498, allocations: 0.6032 MB / 0.5139 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.3513, allocations: 0.5039 MB / 0.5144 GB, free: 416 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.3538, allocations: 1.999 MB / 0.5163 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.3553, allocations: 0.9142 MB / 0.5172 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.3571, allocations: 0.8034 MB / 0.518 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.3586, allocations: 0.9415 MB / 0.5189 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003014/0.3589, allocations: 159.7 kB / 0.5191 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.3602, allocations: 0.6546 MB / 0.5197 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008794/0.3611, allocations: 0.6435 MB / 0.5203 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.3622, allocations: 0.6916 MB / 0.521 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003024/0.3652, allocations: 2.067 MB / 0.523 GB, free: 12.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3652, allocations: 1.984 kB / 0.523 GB, free: 12.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3652, allocations: 0 / 0.523 GB, free: 12.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.051e-05/0.3653, allocations: 0 / 0.523 GB, free: 12.93 MB / 398.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.004853/0.3701, allocations: 1.882 MB / 0.5249 GB, free: 11.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3702, allocations: 16.11 kB / 0.5249 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002842/0.3705, allocations: 174.2 kB / 0.5251 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009093/0.3714, allocations: 174.6 kB / 0.5252 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.3734, allocations: 0.9343 MB / 0.5261 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006296/0.3741, allocations: 0.5019 MB / 0.5266 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.3744, allocations: 104 kB / 0.5267 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004194/0.3786, allocations: 2.048 MB / 0.5287 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.3786, allocations: 0 / 0.5287 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.3788, allocations: 32.97 kB / 0.5288 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002258/0.379, allocations: 97.12 kB / 0.5289 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004875/0.3839, allocations: 2.253 MB / 0.5311 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009565/0.3935, allocations: 5.747 MB / 0.5367 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/0.3977, allocations: 1.61 MB / 0.5382 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/0.4002, allocations: 1.117 MB / 0.5393 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.4004, allocations: 14.48 kB / 0.5393 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002859/0.4032, allocations: 1.311 MB / 0.5406 GB, free: 2.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 5.27e-06/0.4032, allocations: 0 / 0.5406 GB, free: 2.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02586/0.4291, allocations: 8.589 MB / 0.549 GB, free: 9.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.4292, allocations: 106 kB / 0.5491 GB, free: 9.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007178/0.43, allocations: 0.5104 MB / 0.5496 GB, free: 9.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.4302, allocations: 53.7 kB / 0.5497 GB, free: 9.117 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.4306, allocations: 408.2 kB / 0.55 GB, free: 8.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/0.4311, allocations: 390.5 kB / 0.5504 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004996/0.4316, allocations: 226.8 kB / 0.5506 GB, free: 8.094 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.4318, allocations: 390.8 kB / 0.551 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.4338, allocations: 0.9745 MB / 0.552 GB, free: 6.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.4358, allocations: 1.168 MB / 0.5531 GB, free: 5.508 MB / 414.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.01242/0.4482, allocations: 5.014 MB / 0.558 GB, free: 428 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.4483, allocations: 0 / 0.558 GB, free: 428 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01249/0.4608, allocations: 4.355 MB / 0.5623 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.4609, allocations: 61.67 kB / 0.5623 GB, free: 11.97 MB / 430.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.002395/0.4633, allocations: 1.046 MB / 0.5633 GB, free: 10.92 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated