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.001485/0.001485, allocations: 104.8 kB / 16.62 MB, free: 6.809 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.00182/0.00182, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.249/1.249, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1581/0.1581, allocations: 38.03 MB / 329.4 MB, free: 9.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 62.48 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08182/0.08366, allocations: 58.06 MB / 456.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01202/0.0957, allocations: 13.54 MB / 470 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007746/0.1035, allocations: 4.876 MB / 474.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.1047, allocations: 95.31 kB / 475 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00303/0.1077, allocations: 1.334 MB / 476.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002778/0.1105, allocations: 1.413 MB / 477.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.1125, allocations: 0.8228 MB / 478.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003601/0.1161, allocations: 3.299 MB / 481.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.1175, allocations: 1.11 MB / 483 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.1195, allocations: 1.385 MB / 484.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.1222, allocations: 2.072 MB / 486.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003729/0.1226, allocations: 172 kB / 486.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.124, allocations: 0.7294 MB / 487.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.1253, allocations: 1.294 MB / 488.6 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.1265, allocations: 1.213 MB / 489.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.1291, allocations: 3.131 MB / 492.9 MB, free: 3.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1291, allocations: 11.98 kB / 493 MB, free: 3.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1292, allocations: 0 / 493 MB, free: 3.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.1292, allocations: 0 / 493 MB, free: 3.688 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.003681/0.1329, allocations: 2.535 MB / 495.5 MB, free: 1.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1329, allocations: 15.89 kB / 495.5 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003173/0.1332, allocations: 316.8 kB / 495.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.1353, allocations: 477.4 kB / 496.3 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.1372, allocations: 1.34 MB / 497.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/0.1373, allocations: 144 kB / 497.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003856/0.1377, allocations: 223.9 kB / 498 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003772/0.1415, allocations: 3.14 MB / 0.4894 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/0.1415, allocations: 23.77 kB / 0.4894 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.1417, allocations: 83.94 kB / 0.4895 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006279/0.1423, allocations: 319.8 kB / 0.4898 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003366/0.1457, allocations: 2.572 MB / 0.4923 GB, free: 8.176 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.1496/0.2953, allocations: 13.62 MB / 0.5056 GB, free: 47.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.297, allocations: 1.474 MB / 0.507 GB, free: 47.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007476/0.2977, allocations: 0.6487 MB / 0.5077 GB, free: 47.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.366e-05/0.2978, allocations: 28.58 kB / 0.5077 GB, free: 47.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.2978, allocations: 48.97 kB / 0.5077 GB, free: 47.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 2.855e-06/0.2978, allocations: 0 / 0.5077 GB, free: 47.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.005029/0.3029, allocations: 4.085 MB / 0.5117 GB, free: 45.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.3029, allocations: 95.89 kB / 0.5118 GB, free: 45.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3041, allocations: 1.268 MB / 0.5131 GB, free: 44.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.3041, allocations: 46.7 kB / 0.5131 GB, free: 44.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.3045, allocations: 1.094 MB / 0.5142 GB, free: 43.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.3048, allocations: 492.3 kB / 0.5146 GB, free: 43.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004629/0.3052, allocations: 404.9 kB / 0.515 GB, free: 43.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 2.898e-05/0.3053, allocations: 302.5 kB / 0.5153 GB, free: 42.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009743/0.3063, allocations: 0.6819 MB / 0.516 GB, free: 42.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.3074, allocations: 1.593 MB / 0.5175 GB, free: 41.31 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.00816/0.3156, allocations: 4.618 MB / 0.5221 GB, free: 38.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.3156, allocations: 8.656 kB / 0.5221 GB, free: 38.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.003935/0.3196, allocations: 3.037 MB / 0.525 GB, free: 37.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.3196, allocations: 21.95 kB / 0.525 GB, free: 37.71 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.0007333/0.3203, allocations: 0.6206 MB / 0.5257 GB, free: 37.46 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated