Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial.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.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationSteadyInitial",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.0006544/0.0006544, allocations: 89.59 kB / 16.65 MB, free: 6.578 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.0007621/0.000762, allocations: 186 kB / 17.57 MB, free: 6.199 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.2/1.2, allocations: 223.2 MB / 241.6 MB, free: 132 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1658/0.1658, allocations: 38.1 MB / 330.8 MB, free: 8.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002727, allocations: 8 kB / 400.8 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.08252, allocations: 59.17 MB / 460 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.007615/0.09016, allocations: 8.746 MB / 468.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.09429, allocations: 2.82 MB / 471.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.09471, allocations: 55.62 kB / 471.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000506/0.09523, allocations: 222.5 kB / 471.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008735/0.09612, allocations: 481.9 kB / 472.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009333/0.09706, allocations: 407.3 kB / 472.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.09876, allocations: 1.98 MB / 474.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.1004, allocations: 1.111 MB / 475.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006199/0.101, allocations: 465.8 kB / 476.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008058/0.1018, allocations: 0.6813 MB / 476.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.04e-05/0.1019, allocations: 44 kB / 477 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.1023, allocations: 239.6 kB / 477.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003815/0.1027, allocations: 454.8 kB / 477.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.1032, allocations: 0.5146 MB / 478.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1042, allocations: 1.253 MB / 479.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1042, allocations: 0 / 479.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1042, allocations: 0 / 479.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1042, allocations: 4 kB / 479.4 MB, free: 3.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00189/0.1061, allocations: 1.148 MB / 480.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1062, allocations: 12.03 kB / 480.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.1063, allocations: 139.7 kB / 480.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.1074, allocations: 187.5 kB / 480.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.1084, allocations: 0.7037 MB / 481.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.1085, allocations: 70.36 kB / 481.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.1088, allocations: 119.8 kB / 481.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.1104, allocations: 1.216 MB / 483 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.1104, allocations: 7.938 kB / 483 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/0.1105, allocations: 32 kB / 483 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002563/0.1108, allocations: 65.97 kB / 483.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.1123, allocations: 1.011 MB / 484.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005194/0.1175, allocations: 4.733 MB / 488.8 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009997/0.1185, allocations: 0.676 MB / 489.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.1191, allocations: 465 kB / 490 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.1192, allocations: 16.55 kB / 490 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007064/0.1199, allocations: 0.5221 MB / 490.5 MB, free: 7.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.214e-06/0.1199, allocations: 0 / 490.5 MB, free: 7.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004734/0.1246, allocations: 3.053 MB / 493.6 MB, free: 4.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1248, allocations: 218.1 kB / 493.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.1254, allocations: 0.5861 MB / 494.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/0.1255, allocations: 45.69 kB / 494.4 MB, free: 3.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.1258, allocations: 478.9 kB / 494.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.126, allocations: 260.4 kB / 495.1 MB, free: 3.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.1261, allocations: 85.67 kB / 495.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1263, allocations: 390.8 kB / 495.6 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.1268, allocations: 385.8 kB / 496 MB, free: 2.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007042/0.1276, allocations: 0.6418 MB / 496.6 MB, free: 1.488 MB / 366.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.005019/0.1326, allocations: 2.221 MB / 498.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1326, allocations: 0 / 498.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00305/0.1357, allocations: 1.657 MB / 0.4888 GB, free: 13.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.1357, allocations: 41.7 kB / 0.4888 GB, free: 13.43 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.0006022/0.1363, allocations: 397.4 kB / 0.4892 GB, free: 13.04 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated