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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_PhaseShifts",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,fileNamePrefix="PowerSystems_latest_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.001236/0.001236, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001136/0.001136, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.336/1.336, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1828/0.1828, allocations: 38.04 MB / 329.7 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.39 kB / 398.9 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09278/0.09419, allocations: 58.07 MB / 457 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01096/0.1052, allocations: 11.32 MB / 468.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006919/0.1121, allocations: 4.198 MB / 472.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.1133, allocations: 51.69 kB / 472.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.1169, allocations: 1.418 MB / 474 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.1203, allocations: 1.498 MB / 475.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.1225, allocations: 0.8887 MB / 476.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00357/0.1261, allocations: 3.287 MB / 479.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.1275, allocations: 1.047 MB / 480.7 MB, free: 168 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.1296, allocations: 1.354 MB / 482 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.1323, allocations: 1.901 MB / 483.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005038/0.1328, allocations: 176 kB / 484.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.1344, allocations: 0.7216 MB / 484.8 MB, free: 12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001363/0.1358, allocations: 1.298 MB / 486.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.1376, allocations: 1.205 MB / 487.3 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.141, allocations: 3.119 MB / 490.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.141, allocations: 0 / 490.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.141, allocations: 0 / 490.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.512e-05/0.1411, allocations: 0 / 490.4 MB, free: 6.363 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.005391/0.1465, allocations: 2.538 MB / 493 MB, free: 3.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1465, allocations: 15.89 kB / 493 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005922/0.1471, allocations: 316.8 kB / 493.3 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.1499, allocations: 477.4 kB / 493.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/0.1531, allocations: 1.34 MB / 495.1 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.1533, allocations: 144.1 kB / 495.3 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006038/0.1539, allocations: 227.7 kB / 495.5 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004934/0.1588, allocations: 3.14 MB / 498.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.579e-05/0.1589, allocations: 11.92 kB / 498.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/0.1591, allocations: 79.97 kB / 498.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008064/0.1599, allocations: 323.8 kB / 499 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004555/0.1645, allocations: 2.564 MB / 0.4898 GB, free: 10.87 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.2051/0.3696, allocations: 13.63 MB / 0.5031 GB, free: 48.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.3716, allocations: 1.473 MB / 0.5046 GB, free: 48.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/0.3725, allocations: 0.6485 MB / 0.5052 GB, free: 48.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.513e-05/0.3726, allocations: 28.7 kB / 0.5052 GB, free: 48.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3726, allocations: 54.48 kB / 0.5053 GB, free: 47.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 2.985e-06/0.3726, allocations: 3.719 kB / 0.5053 GB, free: 47.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.006211/0.3789, allocations: 4.086 MB / 0.5093 GB, free: 46.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3789, allocations: 95.8 kB / 0.5094 GB, free: 46.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.3806, allocations: 1.263 MB / 0.5106 GB, free: 45.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-05/0.3807, allocations: 46.52 kB / 0.5107 GB, free: 45.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006353/0.3813, allocations: 1.09 MB / 0.5117 GB, free: 44.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.3816, allocations: 487.4 kB / 0.5122 GB, free: 44.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004795/0.3821, allocations: 406 kB / 0.5126 GB, free: 44.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.3822, allocations: 301.7 kB / 0.5129 GB, free: 43.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.3834, allocations: 0.6822 MB / 0.5135 GB, free: 43.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.3849, allocations: 1.58 MB / 0.5151 GB, free: 42.37 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.009112/0.394, allocations: 4.622 MB / 0.5196 GB, free: 40.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.707e-05/0.3941, allocations: 8.844 kB / 0.5196 GB, free: 40.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.004771/0.3989, allocations: 3.052 MB / 0.5226 GB, free: 38.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.3989, allocations: 18 kB / 0.5226 GB, free: 38.79 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.0009423/0.3999, allocations: 0.6216 MB / 0.5232 GB, free: 38.55 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated