Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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 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.Transformation.PhaseShifts,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts") translateModel(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001737/0.001737, allocations: 115.5 kB / 17.69 MB, free: 5.312 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.001793/0.001793, allocations: 191 kB / 18.63 MB, free: 4.379 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.4/1.4, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.177/0.177, allocations: 37.98 MB / 309.8 MB, free: 5.969 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.001438/0.001438, allocations: 67.91 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2029, allocations: 55.24 MB / 432 MB, free: 19.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01012/0.2131, allocations: 11.33 MB / 443.4 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006351/0.2194, allocations: 4.246 MB / 447.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.2206, allocations: 43.75 kB / 447.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.2239, allocations: 1.414 MB / 449.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.2269, allocations: 1.506 MB / 450.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.229, allocations: 0.8965 MB / 451.5 MB, free: 144 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004417/0.2334, allocations: 3.283 MB / 454.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.235, allocations: 1.031 MB / 455.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.2377, allocations: 1.362 MB / 457.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/0.2409, allocations: 1.889 MB / 459 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004933/0.2414, allocations: 176 kB / 459.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.2432, allocations: 0.7294 MB / 459.9 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.2447, allocations: 1.286 MB / 461.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002309/0.247, allocations: 1.217 MB / 462.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004196/0.2512, allocations: 3.166 MB / 465.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2513, allocations: 4 kB / 465.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2513, allocations: 0 / 465.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.678e-05/0.2513, allocations: 0 / 465.6 MB, free: 1.941 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: 576 * Number of variables: 576 Notification: Performance of Generate backend data structure: time 0.004708/0.2561, allocations: 2.541 MB / 468.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.2561, allocations: 15.89 kB / 468.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.2584, allocations: 473.5 kB / 468.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.2611, allocations: 1.41 MB / 470 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.2612, allocations: 144.1 kB / 470.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004441/0.2616, allocations: 227.9 kB / 470.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004277/0.2659, allocations: 3.14 MB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.546e-05/0.266, allocations: 19.78 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.2662, allocations: 83.95 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006772/0.2669, allocations: 319.8 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00379/0.2707, allocations: 2.568 MB / 476.5 MB, free: 6.691 MB / 350.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.01524/0.2859, allocations: 13.54 MB / 490.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.2881, allocations: 1.48 MB / 491.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009231/0.289, allocations: 0.6503 MB / 492.2 MB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.77e-05/0.2891, allocations: 25.28 kB / 492.2 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.2892, allocations: 51.86 kB / 492.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 4.538e-06/0.2892, allocations: 0 / 492.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.006441/0.2956, allocations: 4.103 MB / 496.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.2957, allocations: 94.42 kB / 496.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.2973, allocations: 1.261 MB / 497.7 MB, free: 484 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.653e-05/0.2973, allocations: 49.69 kB / 497.8 MB, free: 428 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006871/0.298, allocations: 1.08 MB / 498.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.2984, allocations: 497.1 kB / 499.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004664/0.2989, allocations: 407.5 kB / 499.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.299, allocations: 301.1 kB / 0.4883 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009785/0.3, allocations: 0.6874 MB / 0.489 GB, free: 13.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.3015, allocations: 1.583 MB / 0.4905 GB, free: 11.42 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.00962/0.3112, allocations: 4.613 MB / 0.495 GB, free: 6.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.3112, allocations: 8 kB / 0.495 GB, free: 6.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.00513/0.3164, allocations: 3.039 MB / 0.498 GB, free: 3.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.3164, allocations: 27.88 kB / 0.498 GB, free: 3.25 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.0009298/0.3173, allocations: 0.6123 MB / 0.4986 GB, free: 2.633 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated