Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.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.DoubleLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleLine",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.0008381/0.0008382, allocations: 88.11 kB / 16.31 MB, free: 6.449 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.0008927/0.0008927, allocations: 180.1 kB / 17.21 MB, free: 6.32 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.364/1.364, allocations: 223.2 MB / 241.2 MB, free: 272 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1712/0.1712, allocations: 38.09 MB / 330.4 MB, free: 8.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003042, allocations: 8 kB / 400.2 MB, free: 34.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1031, allocations: 59.17 MB / 459.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleLine): time 0.01117/0.1143, allocations: 10.64 MB / 470 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007061/0.1214, allocations: 4.267 MB / 474.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008096/0.1223, allocations: 59.62 kB / 474.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008102/0.1231, allocations: 389.3 kB / 474.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.1255, allocations: 1.194 MB / 475.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.1274, allocations: 0.8188 MB / 476.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003265/0.1307, allocations: 3.306 MB / 480 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.1329, allocations: 1.409 MB / 481.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.1347, allocations: 0.996 MB / 482.4 MB, free: 152 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.1372, allocations: 1.652 MB / 484.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.1375, allocations: 92 kB / 484.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.1389, allocations: 0.6241 MB / 484.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.14, allocations: 1.009 MB / 485.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006421/0.1407, allocations: 388.6 kB / 486.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.1431, allocations: 2.214 MB / 488.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1431, allocations: 0 / 488.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1431, allocations: 0 / 488.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.209e-05/0.1432, allocations: 0 / 488.4 MB, free: 10.16 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.004491/0.1477, allocations: 2.197 MB / 490.6 MB, free: 7.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1477, allocations: 8.031 kB / 490.6 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003391/0.1481, allocations: 270.3 kB / 490.8 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.1502, allocations: 405 kB / 491.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.1523, allocations: 1.199 MB / 492.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.1525, allocations: 123 kB / 492.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007944/0.1533, allocations: 347.6 kB / 492.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004197/0.1575, allocations: 2.901 MB / 495.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/0.1575, allocations: 7.938 kB / 495.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.1577, allocations: 63.98 kB / 495.9 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001001/0.1587, allocations: 239 kB / 496.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003933/0.1627, allocations: 2.499 MB / 498.6 MB, free: 15.66 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.01649/0.1792, allocations: 10.79 MB / 0.4975 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.1828, allocations: 2.579 MB / 0.5 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.185, allocations: 1.54 MB / 0.5015 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.1851, allocations: 29.97 kB / 0.5015 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2707/0.4558, allocations: 1.863 MB / 0.5033 GB, free: 38.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=243): time 5.82e-06/0.4559, allocations: 4.562 kB / 0.5033 GB, free: 38.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=246): time 0.01466/0.4705, allocations: 8.462 MB / 0.5116 GB, free: 37.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.4707, allocations: 281 kB / 0.5119 GB, free: 37.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.4724, allocations: 1.006 MB / 0.5128 GB, free: 37.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003156/0.4727, allocations: 80.03 kB / 0.5129 GB, free: 36.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005211/0.4732, allocations: 0.762 MB / 0.5137 GB, free: 36.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008249/0.474, allocations: 0.827 MB / 0.5145 GB, free: 36.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.4742, allocations: 50.45 kB / 0.5145 GB, free: 36.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4744, allocations: 433.5 kB / 0.5149 GB, free: 35.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/0.4768, allocations: 1.432 MB / 0.5163 GB, free: 35.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.4796, allocations: 2.021 MB / 0.5183 GB, free: 35.21 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.01413/0.4937, allocations: 4.774 MB / 0.523 GB, free: 34.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/0.4938, allocations: 4.188 kB / 0.523 GB, free: 34.82 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