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: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009963/0.001002, allocations: 92.22 kB / 17.31 MB, free: 6.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.001263/0.001263, allocations: 175.1 kB / 18.21 MB, free: 5.684 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.846/1.846, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2022/0.2022, allocations: 38.06 MB / 310.7 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.0006042/0.0006048, allocations: 20 kB / 377.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2993, allocations: 56.34 MB / 434.2 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007671/0.307, allocations: 7.769 MB / 441.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005486/0.3126, allocations: 2.79 MB / 444.7 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007796/0.3134, allocations: 51.69 kB / 444.8 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.314, allocations: 162.9 kB / 444.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.3152, allocations: 0.5526 MB / 445.5 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3163, allocations: 455.4 kB / 445.9 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.318, allocations: 2.499 MB / 448.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.3193, allocations: 1.046 MB / 449.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000831/0.3202, allocations: 0.6228 MB / 450.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.3212, allocations: 0.892 MB / 451 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.3214, allocations: 72 kB / 451 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.3224, allocations: 0.6161 MB / 451.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004923/0.3229, allocations: 0.5378 MB / 452.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006306/0.3236, allocations: 0.6162 MB / 452.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.3253, allocations: 1.555 MB / 454.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3253, allocations: 0 / 454.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.3253, allocations: 0 / 454.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.3254, allocations: 3.938 kB / 454.4 MB, free: 14.34 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.004141/0.3295, allocations: 1.683 MB / 456.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3296, allocations: 8.031 kB / 456.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008543/0.3304, allocations: 179.5 kB / 456.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.3323, allocations: 0.8931 MB / 457.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007446/0.333, allocations: 0.5223 MB / 457.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.3334, allocations: 107.8 kB / 457.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004495/0.3379, allocations: 2.153 MB / 459.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.3379, allocations: 3.938 kB / 459.9 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.3381, allocations: 32 kB / 460 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002261/0.3383, allocations: 93.94 kB / 460 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005417/0.3437, allocations: 2.424 MB / 462.5 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009804/0.3535, allocations: 5.847 MB / 468.3 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/0.3581, allocations: 1.767 MB / 470.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00277/0.3609, allocations: 1.207 MB / 471.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.61e-05/0.361, allocations: 16.98 kB / 471.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003271/0.3642, allocations: 1.411 MB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 4.298e-06/0.3643, allocations: 0 / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.03258/0.3969, allocations: 10.33 MB / 483 MB, free: 1.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.3971, allocations: 102.1 kB / 483.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009248/0.398, allocations: 0.5144 MB / 483.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003456/0.3984, allocations: 53.69 kB / 483.7 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/0.3988, allocations: 408.2 kB / 484.1 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/0.3994, allocations: 394.5 kB / 484.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.3996, allocations: 109.7 kB / 484.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002446/0.3998, allocations: 398.7 kB / 485 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/0.4023, allocations: 1.053 MB / 486 MB, free: 14.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/0.4047, allocations: 1.228 MB / 487.3 MB, free: 12.79 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.01377/0.4186, allocations: 5.323 MB / 492.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.4187, allocations: 4 kB / 492.6 MB, free: 7.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01473/0.4334, allocations: 5.215 MB / 497.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.4336, allocations: 61.67 kB / 497.9 MB, free: 2.094 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.002516/0.4361, allocations: 1.125 MB / 499 MB, free: 0.9609 MB / 366.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated