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.001442/0.001442, allocations: 114.4 kB / 17.69 MB, free: 5.309 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.001688/0.001688, allocations: 191 kB / 18.63 MB, free: 4.375 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.466/1.466, allocations: 205.1 MB / 224.5 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, allocations: 37.99 MB / 309.8 MB, free: 5.984 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.001478/0.001478, allocations: 67.89 kB / 376.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2329, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007642/0.2406, allocations: 6.985 MB / 439 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.2443, allocations: 2.424 MB / 441.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.2447, allocations: 31.75 kB / 441.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.246, allocations: 0.5116 MB / 442 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.247, allocations: 0.6067 MB / 442.6 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008679/0.2479, allocations: 0.5069 MB / 443.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.2493, allocations: 1.984 MB / 445.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009014/0.2502, allocations: 0.9199 MB / 446 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009697/0.2512, allocations: 0.7829 MB / 446.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.2522, allocations: 0.9351 MB / 447.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.2524, allocations: 163.9 kB / 447.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008268/0.2532, allocations: 0.6593 MB / 448.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.2537, allocations: 0.6431 MB / 449.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.2542, allocations: 0.6808 MB / 449.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.2557, allocations: 2.069 MB / 451.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2557, allocations: 0 / 451.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2558, allocations: 0 / 451.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.2558, allocations: 3.938 kB / 451.9 MB, free: 15.52 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.004051/0.2598, allocations: 1.877 MB / 453.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.2599, allocations: 15.89 kB / 453.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.2607, allocations: 175.5 kB / 454 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.2628, allocations: 0.9282 MB / 454.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005784/0.2633, allocations: 0.5028 MB / 455.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/0.2636, allocations: 107.8 kB / 455.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/0.2675, allocations: 2.051 MB / 457.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.2676, allocations: 0 / 457.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.2677, allocations: 36 kB / 457.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002173/0.2679, allocations: 93.94 kB / 457.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004739/0.2727, allocations: 2.256 MB / 460 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009476/0.2822, allocations: 5.742 MB / 465.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/0.2862, allocations: 1.615 MB / 467.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/0.2885, allocations: 1.113 MB / 468.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.619e-05/0.2886, allocations: 16.97 kB / 468.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002683/0.2913, allocations: 1.317 MB / 469.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.867e-06/0.2914, allocations: 0 / 469.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.02567/0.317, allocations: 8.579 MB / 478.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3172, allocations: 102.1 kB / 478.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007174/0.3179, allocations: 0.5104 MB / 479 MB, free: 3.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000206/0.3181, allocations: 57.69 kB / 479 MB, free: 3.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.3185, allocations: 408.2 kB / 479.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004752/0.319, allocations: 390.4 kB / 479.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004863/0.3195, allocations: 218.8 kB / 480 MB, free: 2.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3197, allocations: 398.7 kB / 480.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.3218, allocations: 0.9706 MB / 481.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.3239, allocations: 1.17 MB / 482.5 MB, free: 264 kB / 350.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.01235/0.3362, allocations: 5.014 MB / 487.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.3363, allocations: 0 / 487.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01304/0.3493, allocations: 4.359 MB / 491.9 MB, free: 6.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.512e-05/0.3494, allocations: 61.67 kB / 492 MB, free: 6.723 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.002249/0.3517, allocations: 1.05 MB / 493 MB, free: 5.672 MB / 366.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated