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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_PhaseShifts",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_PhaseShifts",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.0008808/0.0008808, allocations: 87.67 kB / 16.65 MB, free: 6.602 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.001019/0.001019, allocations: 185.7 kB / 17.56 MB, free: 6.199 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.296/1.296, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1715/0.1715, allocations: 38.05 MB / 310.1 MB, free: 5.906 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.0005418/0.0005419, allocations: 15.98 kB / 377.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2424, allocations: 56.33 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01016/0.2526, allocations: 12.99 MB / 446.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008522/0.2612, allocations: 4.928 MB / 451.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/0.2639, allocations: 91.38 kB / 451.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.2657, allocations: 0.4933 MB / 452.1 MB, free: 64 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004527/0.2702, allocations: 1.448 MB / 453.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.2733, allocations: 0.8072 MB / 454.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007458/0.2808, allocations: 5.795 MB / 460.1 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0035/0.2844, allocations: 1.576 MB / 461.7 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.2872, allocations: 1.085 MB / 462.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003562/0.2908, allocations: 1.982 MB / 464.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006814/0.2915, allocations: 88 kB / 464.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.2936, allocations: 0.6941 MB / 465.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001865/0.2955, allocations: 1.196 MB / 466.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002408/0.2979, allocations: 1.117 MB / 467.9 MB, free: 176 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.3021, allocations: 3.017 MB / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3022, allocations: 0 / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3022, allocations: 0 / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001375/0.3023, allocations: 0 / 470.9 MB, free: 13.14 MB / 350.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.005093/0.3074, allocations: 2.114 MB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3075, allocations: 12.03 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007661/0.3083, allocations: 316.8 kB / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.3109, allocations: 473.5 kB / 473.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.3133, allocations: 1.344 MB / 475.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-05/0.3134, allocations: 136.1 kB / 475.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004423/0.3139, allocations: 223.8 kB / 475.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004639/0.3185, allocations: 3.147 MB / 478.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.848e-05/0.3186, allocations: 15.94 kB / 478.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.3188, allocations: 79.95 kB / 478.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007102/0.3195, allocations: 319.8 kB / 479 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0039/0.3234, allocations: 2.58 MB / 481.6 MB, free: 2.074 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.01618/0.3396, allocations: 13.62 MB / 495.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.3416, allocations: 1.478 MB / 496.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009314/0.3425, allocations: 0.6536 MB / 497.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/0.3426, allocations: 25.28 kB / 497.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.3427, allocations: 43.88 kB / 497.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 4.829e-06/0.3427, allocations: 0 / 497.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.006473/0.3492, allocations: 4.101 MB / 0.4898 GB, free: 13.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.3493, allocations: 90.42 kB / 0.4899 GB, free: 13.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.3507, allocations: 1.261 MB / 0.4911 GB, free: 11.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/0.3508, allocations: 49.7 kB / 0.4912 GB, free: 11.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006664/0.3515, allocations: 1.092 MB / 0.4922 GB, free: 10.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.3518, allocations: 485.3 kB / 0.4927 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.352, allocations: 186 kB / 0.4929 GB, free: 9.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.3521, allocations: 309 kB / 0.4932 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000938/0.3531, allocations: 0.6796 MB / 0.4938 GB, free: 8.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.3545, allocations: 1.576 MB / 0.4954 GB, free: 6.965 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.009223/0.3638, allocations: 4.602 MB / 0.4999 GB, free: 1.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/0.3638, allocations: 12 kB / 0.4999 GB, free: 1.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.005106/0.3689, allocations: 3.047 MB / 0.5028 GB, free: 14.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.369, allocations: 19.94 kB / 0.5029 GB, free: 14.8 MB / 398.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.0008986/0.3699, allocations: 0.6178 MB / 0.5035 GB, free: 14.18 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated