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.001221/0.001221, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.001447/0.001447, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1646/0.1646, allocations: 38.04 MB / 329.9 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.00112, allocations: 62.45 kB / 398.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1318, allocations: 58.06 MB / 456.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01626/0.1481, allocations: 13.55 MB / 470.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009677/0.1579, allocations: 4.958 MB / 475.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.1595, allocations: 95.31 kB / 475.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003232/0.1628, allocations: 1.347 MB / 476.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.1661, allocations: 1.448 MB / 478.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.1687, allocations: 0.8072 MB / 479 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007033/0.1758, allocations: 5.795 MB / 484.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.1783, allocations: 1.011 MB / 485.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.1817, allocations: 1.14 MB / 486.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004477/0.1862, allocations: 2.041 MB / 489 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008633/0.1871, allocations: 108 kB / 489.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.1901, allocations: 0.7137 MB / 489.8 MB, free: 7.387 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002559/0.1927, allocations: 1.231 MB / 491 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002849/0.1955, allocations: 1.127 MB / 492.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00341/0.1989, allocations: 2.409 MB / 494.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.199, allocations: 0 / 494.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.199, allocations: 0 / 494.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001447/0.1991, allocations: 4 kB / 494.6 MB, free: 2.602 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.006821/0.2059, allocations: 2.543 MB / 497.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.206, allocations: 11.97 kB / 497.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.2087, allocations: 473.5 kB / 497.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/0.2115, allocations: 1.34 MB / 498.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.2116, allocations: 148.1 kB / 499.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006317/0.2123, allocations: 220 kB / 499.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005437/0.2177, allocations: 3.14 MB / 0.4907 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-05/0.2178, allocations: 15.78 kB / 0.4907 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/0.2181, allocations: 91.94 kB / 0.4908 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007019/0.2188, allocations: 311.8 kB / 0.4911 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004339/0.2231, allocations: 2.572 MB / 0.4936 GB, free: 7.422 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.2652/0.4884, allocations: 13.61 MB / 0.5069 GB, free: 46.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/0.4912, allocations: 1.474 MB / 0.5083 GB, free: 46.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.4924, allocations: 0.6478 MB / 0.5089 GB, free: 46.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.4925, allocations: 26.72 kB / 0.509 GB, free: 46.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.4926, allocations: 47.36 kB / 0.509 GB, free: 46.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.128e-06/0.4926, allocations: 2.594 kB / 0.509 GB, free: 46.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.007102/0.4997, allocations: 4.094 MB / 0.513 GB, free: 44.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.4998, allocations: 92.42 kB / 0.5131 GB, free: 44.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.5014, allocations: 1.263 MB / 0.5143 GB, free: 43.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.5015, allocations: 45.61 kB / 0.5144 GB, free: 43.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/0.5021, allocations: 1.097 MB / 0.5154 GB, free: 42.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/0.5025, allocations: 478.2 kB / 0.5159 GB, free: 42.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006083/0.5031, allocations: 409.2 kB / 0.5163 GB, free: 42.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.5031, allocations: 301.6 kB / 0.5166 GB, free: 42.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.5044, allocations: 0.6823 MB / 0.5172 GB, free: 41.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.5059, allocations: 1.591 MB / 0.5188 GB, free: 40.5 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.01091/0.5168, allocations: 4.606 MB / 0.5233 GB, free: 38.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-05/0.5169, allocations: 9.406 kB / 0.5233 GB, free: 38.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.006714/0.5236, allocations: 3.044 MB / 0.5263 GB, free: 36.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.5237, allocations: 24 kB / 0.5263 GB, free: 36.91 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.001068/0.5248, allocations: 0.6215 MB / 0.5269 GB, free: 36.66 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated