Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.Transmission.DoubleLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleLine,fileNamePrefix="PowerSystems_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.001204/0.00121, allocations: 87.22 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.001401/0.001401, allocations: 183.2 kB / 17.21 MB, free: 6.316 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.39/1.39, allocations: 205.4 MB / 223.4 MB, free: 5.25 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3551/0.3551, allocations: 38.04 MB / 309.7 MB, free: 9.113 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.00053/0.0005301, allocations: 12 kB / 376.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1327, allocations: 56.33 MB / 433 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleLine): time 0.013/0.1458, allocations: 10.63 MB / 443.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00943/0.1553, allocations: 4.323 MB / 447.9 MB, free: 7.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.1568, allocations: 63.56 kB / 448 MB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.1578, allocations: 373.4 kB / 448.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003273/0.1611, allocations: 1.202 MB / 449.5 MB, free: 5.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.1635, allocations: 0.8111 MB / 450.3 MB, free: 5.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004214/0.1677, allocations: 3.314 MB / 453.7 MB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002684/0.1704, allocations: 1.409 MB / 455.1 MB, free: 368 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2799/0.4504, allocations: 0.9958 MB / 456.1 MB, free: 33.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/0.4528, allocations: 1.651 MB / 457.7 MB, free: 33.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000267/0.4531, allocations: 94.12 kB / 457.8 MB, free: 33.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.4545, allocations: 0.6226 MB / 458.4 MB, free: 33.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009436/0.4554, allocations: 1.001 MB / 459.4 MB, free: 33.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.456, allocations: 390.6 kB / 459.8 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.458, allocations: 2.215 MB / 462 MB, free: 33.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.458, allocations: 1.625 kB / 462 MB, free: 33.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.458, allocations: 0 / 462 MB, free: 33.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.097e-05/0.4581, allocations: 0 / 462 MB, free: 33.68 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.003894/0.462, allocations: 2.194 MB / 464.2 MB, free: 32.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.462, allocations: 10.25 kB / 464.2 MB, free: 32.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003367/0.4624, allocations: 272.4 kB / 464.5 MB, free: 32.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.4644, allocations: 402.7 kB / 464.9 MB, free: 32.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.4663, allocations: 1.197 MB / 466.1 MB, free: 32.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.4665, allocations: 122.9 kB / 466.2 MB, free: 32.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008022/0.4673, allocations: 356.3 kB / 466.6 MB, free: 32.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003848/0.4711, allocations: 2.896 MB / 469.5 MB, free: 31.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/0.4712, allocations: 6.594 kB / 469.5 MB, free: 31.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.4714, allocations: 72.77 kB / 469.5 MB, free: 31.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000937/0.4723, allocations: 227.8 kB / 469.8 MB, free: 31.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/0.4757, allocations: 2.501 MB / 472.3 MB, free: 31.64 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.01337/0.489, allocations: 10.77 MB / 483 MB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.4924, allocations: 2.581 MB / 485.6 MB, free: 26.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/0.4943, allocations: 1.543 MB / 487.2 MB, free: 26.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.4944, allocations: 27.3 kB / 487.2 MB, free: 26.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002848/0.4973, allocations: 1.875 MB / 489.1 MB, free: 26.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=243): time 4.819e-06/0.4973, allocations: 0.75 kB / 489.1 MB, free: 26.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=246): time 0.0149/0.5122, allocations: 8.466 MB / 497.5 MB, free: 23.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.5123, allocations: 285.1 kB / 497.8 MB, free: 23.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.5139, allocations: 1 MB / 498.8 MB, free: 22.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.5141, allocations: 75.66 kB / 498.9 MB, free: 22.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006865/0.5148, allocations: 0.7729 MB / 499.6 MB, free: 22.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000768/0.5156, allocations: 0.8242 MB / 0.4887 GB, free: 21.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.5158, allocations: 51.53 kB / 0.4888 GB, free: 21.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.516, allocations: 435.3 kB / 0.4892 GB, free: 21.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/0.5185, allocations: 1.437 MB / 0.4906 GB, free: 20.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.5215, allocations: 2.021 MB / 0.4926 GB, free: 19.45 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.01579/0.5373, allocations: 4.769 MB / 0.4972 GB, free: 18.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.566e-05/0.5374, allocations: 7 kB / 0.4972 GB, free: 18.23 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