Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG.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.Transmission.DoubleLineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTG",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.0009237/0.0009238, allocations: 96.08 kB / 16.3 MB, free: 5.566 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.001025/0.001025, allocations: 185.8 kB / 17.2 MB, free: 5.5 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.247/1.247, allocations: 223.2 MB / 241.1 MB, free: 288 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1623/0.1623, allocations: 38.08 MB / 330.3 MB, free: 8.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003214, allocations: 15.98 kB / 400.1 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 59.16 MB / 459.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG): time 0.01349/0.1205, allocations: 13.34 MB / 472.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.1349, allocations: 8.268 MB / 480.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.1372, allocations: 83.38 kB / 480.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02111/0.1583, allocations: 12.74 MB / 493.6 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004866/0.1633, allocations: 1.129 MB / 494.8 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.1666, allocations: 1.052 MB / 495.8 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003434/0.17, allocations: 1.851 MB / 497.7 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002959/0.173, allocations: 1.774 MB / 499.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.1751, allocations: 1.117 MB / 0.4888 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.177, allocations: 1.492 MB / 0.4903 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002772/0.1773, allocations: 120 kB / 0.4904 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.1789, allocations: 0.8074 MB / 0.4912 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.1801, allocations: 1.2 MB / 0.4924 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006762/0.1808, allocations: 0.5275 MB / 0.4929 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003457/0.1843, allocations: 3.289 MB / 0.4961 GB, free: 6.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1843, allocations: 0 / 0.4961 GB, free: 6.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1843, allocations: 4 kB / 0.4961 GB, free: 6.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.639e-05/0.1844, allocations: 0 / 0.4961 GB, free: 6.383 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 613 * Number of variables: 613 Notification: Performance of Generate backend data structure: time 0.006213/0.1906, allocations: 2.918 MB / 0.499 GB, free: 3.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.1907, allocations: 8.031 kB / 0.499 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006288/0.1913, allocations: 329.6 kB / 0.4993 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.1942, allocations: 0.5428 MB / 0.4998 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/0.1986, allocations: 1.876 MB / 0.5016 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.1987, allocations: 159.9 kB / 0.5018 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2008/0.3996, allocations: 417 kB / 0.5022 GB, free: 44.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006764/0.4064, allocations: 3.592 MB / 0.5057 GB, free: 44.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.808e-05/0.4065, allocations: 8.828 kB / 0.5057 GB, free: 44.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.4067, allocations: 89.84 kB / 0.5058 GB, free: 44.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001368/0.4081, allocations: 283.3 kB / 0.5061 GB, free: 44.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005587/0.4137, allocations: 3.18 MB / 0.5092 GB, free: 44.51 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.02169/0.4354, allocations: 13.23 MB / 0.5221 GB, free: 39.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003707/0.4391, allocations: 2.971 MB / 0.525 GB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.4393, allocations: 28.97 kB / 0.525 GB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00259/0.4419, allocations: 2.172 MB / 0.5271 GB, free: 36.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=285): time 4.418e-06/0.4419, allocations: 0 / 0.5271 GB, free: 36.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=300): time 0.021/0.4629, allocations: 13.66 MB / 0.5405 GB, free: 25.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4631, allocations: 419.3 kB / 0.5409 GB, free: 24.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.4647, allocations: 1.54 MB / 0.5424 GB, free: 23.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003504/0.465, allocations: 86.94 kB / 0.5425 GB, free: 23.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006005/0.4656, allocations: 1.042 MB / 0.5435 GB, free: 22.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007349/0.4664, allocations: 1.014 MB / 0.5445 GB, free: 21.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.4665, allocations: 66.11 kB / 0.5445 GB, free: 21.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4667, allocations: 465.8 kB / 0.545 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/0.4689, allocations: 1.783 MB / 0.5467 GB, free: 18.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.4714, allocations: 2.487 MB / 0.5491 GB, free: 16.18 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.01473/0.4861, allocations: 5.422 MB / 0.5544 GB, free: 10.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/0.4862, allocations: 4 kB / 0.5544 GB, free: 10.76 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. Error: No system for the symbolic initialization was generated