Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.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: translateModel(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm|meter32.alpha_v|meter32.p.1.|meter32.p.2.|meter32.p.3.|meter32.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts") translateModel(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm|meter32.alpha_v|meter32.p.1.|meter32.p.2.|meter32.p.3.|meter32.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008174/0.0008236, allocations: 95.89 kB / 16.95 MB, free: 6.41 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.0008054/0.0008054, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.32/1.32, allocations: 223.3 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1742/0.1742, allocations: 38.09 MB / 331 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003359, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 59.17 MB / 459.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01454/0.1274, allocations: 12.15 MB / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.1397, allocations: 4.653 MB / 476.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.1423, allocations: 79.44 kB / 476.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.1446, allocations: 476.7 kB / 477.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.1504, allocations: 1.529 MB / 478.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.1538, allocations: 0.8266 MB / 479.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00737/0.1612, allocations: 4.324 MB / 483.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004117/0.1654, allocations: 1.444 MB / 485.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.1687, allocations: 1.14 MB / 486.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/0.1725, allocations: 1.94 MB / 488.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006137/0.1731, allocations: 88 kB / 488.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.1749, allocations: 0.5148 MB / 489 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00188/0.1768, allocations: 1.228 MB / 490.2 MB, free: 8.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009893/0.1778, allocations: 436.5 kB / 490.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.1808, allocations: 2.369 MB / 493 MB, free: 6.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1808, allocations: 7.875 kB / 493.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1808, allocations: 0 / 493.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001277/0.1809, allocations: 4 kB / 493.1 MB, free: 6.086 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 576 * Number of variables: 576 Notification: Performance of Generate backend data structure: time 0.004019/0.185, allocations: 2.13 MB / 495.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.185, allocations: 12.03 kB / 495.2 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.1871, allocations: 468.6 kB / 495.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.1893, allocations: 1.304 MB / 497 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.1894, allocations: 143.7 kB / 497.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004023/0.1898, allocations: 215.9 kB / 497.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004384/0.1942, allocations: 3.132 MB / 0.4887 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.618e-05/0.1943, allocations: 15.84 kB / 0.4887 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.1945, allocations: 83.95 kB / 0.4888 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006804/0.1952, allocations: 327.8 kB / 0.4891 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004054/0.1992, allocations: 2.553 MB / 0.4916 GB, free: 11.39 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2355/0.4347, allocations: 13.61 MB / 0.5049 GB, free: 48.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/0.437, allocations: 1.472 MB / 0.5063 GB, free: 48.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.4381, allocations: 0.6441 MB / 0.507 GB, free: 48.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.862e-05/0.4382, allocations: 21.94 kB / 0.507 GB, free: 48.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.4382, allocations: 51.91 kB / 0.507 GB, free: 48.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.306e-06/0.4382, allocations: 0 / 0.507 GB, free: 48.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.00643/0.4446, allocations: 4.074 MB / 0.511 GB, free: 46.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.4447, allocations: 95.66 kB / 0.5111 GB, free: 46.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.4465, allocations: 1.255 MB / 0.5123 GB, free: 45.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.4465, allocations: 49.53 kB / 0.5124 GB, free: 45.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/0.4472, allocations: 1.092 MB / 0.5134 GB, free: 45.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.4475, allocations: 482.2 kB / 0.5139 GB, free: 44.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.4476, allocations: 45 kB / 0.514 GB, free: 44.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4478, allocations: 402.6 kB / 0.5143 GB, free: 44.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.4491, allocations: 0.6697 MB / 0.515 GB, free: 44.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.4507, allocations: 1.577 MB / 0.5165 GB, free: 42.77 MB / 382.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.006416/0.4572, allocations: 1.966 MB / 0.5184 GB, free: 42.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/0.4572, allocations: 9.281 kB / 0.5185 GB, free: 42.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.005419/0.4626, allocations: 3.013 MB / 0.5214 GB, free: 41.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.4627, allocations: 23.62 kB / 0.5214 GB, free: 41.17 MB / 382.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.0008376/0.4635, allocations: 0.6124 MB / 0.522 GB, free: 40.93 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated