Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 185.8 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 221.9 MB, free: 13.79 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 94.84 kB / 270.2 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2759/0.2759, allocations: 38.05 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006245/0.0006247, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1121, allocations: 56.33 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01255/0.1247, allocations: 7.853 MB / 487 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007237/0.132, allocations: 2.752 MB / 489.7 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009837/0.133, allocations: 55.62 kB / 489.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.134, allocations: 266.4 kB / 490 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.136, allocations: 486.5 kB / 490.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.138, allocations: 459 kB / 491 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.1394, allocations: 0.6748 MB / 491.6 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.1419, allocations: 1.01 MB / 492.7 MB, free: 4.332 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.143, allocations: 410.5 kB / 493.1 MB, free: 3.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.1441, allocations: 470.5 kB / 493.5 MB, free: 3.469 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.1442, allocations: 40 kB / 493.6 MB, free: 3.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006581/0.1449, allocations: 179.7 kB / 493.7 MB, free: 3.254 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006331/0.1456, allocations: 423 kB / 494.1 MB, free: 2.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.1459, allocations: 217.1 kB / 494.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.1476, allocations: 0.9741 MB / 495.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1476, allocations: 0 / 495.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1476, allocations: 0 / 495.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.1476, allocations: 0 / 495.3 MB, free: 1.645 MB / 330.7 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.003341/0.151, allocations: 1.167 MB / 496.5 MB, free: 428 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1511, allocations: 8.031 kB / 496.5 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002703/0.1513, allocations: 147.5 kB / 496.6 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.1532, allocations: 186.6 kB / 496.8 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.1552, allocations: 0.6796 MB / 497.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/0.1553, allocations: 65.98 kB / 497.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004829/0.1558, allocations: 123.8 kB / 497.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/0.1587, allocations: 1.208 MB / 498.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.1588, allocations: 0 / 498.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.159, allocations: 36 kB / 498.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004581/0.1594, allocations: 61.95 kB / 499 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/0.1623, allocations: 1.007 MB / 0.4883 GB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.1725, allocations: 4.718 MB / 0.4929 GB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.1745, allocations: 0.676 MB / 0.4936 GB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.913e-05/0.1746, allocations: 8.625 kB / 0.4936 GB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.1758, allocations: 0.522 MB / 0.4941 GB, free: 6.609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 3.807e-06/0.1758, allocations: 0 / 0.4941 GB, free: 6.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.008283/0.1841, allocations: 3.189 MB / 0.4972 GB, free: 3.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.1843, allocations: 226.2 kB / 0.4974 GB, free: 3.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.1854, allocations: 0.5937 MB / 0.498 GB, free: 2.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.1855, allocations: 41.64 kB / 0.498 GB, free: 2.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/0.186, allocations: 0.4897 MB / 0.4985 GB, free: 1.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.1864, allocations: 260.4 kB / 0.4987 GB, free: 1.629 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.788e-05/0.1865, allocations: 16 kB / 0.4988 GB, free: 1.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1867, allocations: 346.8 kB / 0.4991 GB, free: 1.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.1877, allocations: 381.8 kB / 0.4995 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.189, allocations: 0.6339 MB / 0.5001 GB, free: 144 kB / 346.7 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.006429/0.1955, allocations: 1.145 MB / 0.5012 GB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.1955, allocations: 0 / 0.5012 GB, free: 15 MB / 362.7 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