Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_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.001103/0.001103, allocations: 92.34 kB / 16.3 MB, free: 5.992 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.001586/0.001586, allocations: 182.1 kB / 17.2 MB, free: 5.906 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.897/1.897, allocations: 205.4 MB / 223.4 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.391/0.391, allocations: 38.05 MB / 309.7 MB, free: 8.828 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.0005215/0.0005217, allocations: 16 kB / 376.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1159, allocations: 56.33 MB / 432.9 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.007994/0.124, allocations: 7.847 MB / 440.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.1292, allocations: 2.745 MB / 443.5 MB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008711/0.1301, allocations: 63.56 kB / 443.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007174/0.1308, allocations: 254.5 kB / 443.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.1322, allocations: 490.4 kB / 444.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.1336, allocations: 463 kB / 444.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000915/0.1345, allocations: 0.6748 MB / 445.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.1361, allocations: 1.01 MB / 446.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.1368, allocations: 410.4 kB / 446.8 MB, free: 8.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.1375, allocations: 466.5 kB / 447.3 MB, free: 8.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.256e-05/0.1376, allocations: 44 kB / 447.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.138, allocations: 179.7 kB / 447.5 MB, free: 7.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.1384, allocations: 427 kB / 447.9 MB, free: 7.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.1386, allocations: 213.1 kB / 448.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009782/0.1396, allocations: 0.9781 MB / 449.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1396, allocations: 0 / 449.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1396, allocations: 4 kB / 449.1 MB, free: 6.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1396, allocations: 0 / 449.1 MB, free: 6.328 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002231/0.1419, allocations: 1.155 MB / 450.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1419, allocations: 12.03 kB / 450.3 MB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001785/0.1421, allocations: 139.5 kB / 450.4 MB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.1433, allocations: 198.5 kB / 450.6 MB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.1446, allocations: 0.6873 MB / 451.3 MB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.1447, allocations: 58 kB / 451.4 MB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.1449, allocations: 119.9 kB / 451.5 MB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.1469, allocations: 1.201 MB / 452.7 MB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.1469, allocations: 7.938 kB / 452.7 MB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.189e-05/0.147, allocations: 43.97 kB / 452.7 MB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002843/0.1473, allocations: 61.97 kB / 452.8 MB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.149, allocations: 0.9991 MB / 453.8 MB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2566/0.4057, allocations: 4.714 MB / 458.5 MB, free: 48.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.4068, allocations: 0.68 MB / 459.2 MB, free: 48.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.4068, allocations: 13.34 kB / 459.2 MB, free: 48.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000651/0.4075, allocations: 0.5205 MB / 459.7 MB, free: 48.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 2.755e-06/0.4075, allocations: 0 / 459.7 MB, free: 48.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.004647/0.4121, allocations: 3.196 MB / 462.9 MB, free: 47.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.4123, allocations: 221.8 kB / 463.1 MB, free: 46.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.4129, allocations: 0.5819 MB / 463.7 MB, free: 46.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.413, allocations: 42.52 kB / 463.7 MB, free: 46.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.4134, allocations: 480 kB / 464.2 MB, free: 46.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.4137, allocations: 262.2 kB / 464.5 MB, free: 46.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.4137, allocations: 21.62 kB / 464.5 MB, free: 46.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4139, allocations: 392.2 kB / 464.9 MB, free: 45.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/0.4145, allocations: 376.8 kB / 465.2 MB, free: 45.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007354/0.4153, allocations: 0.6324 MB / 465.9 MB, free: 45.64 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.003536/0.4188, allocations: 1.242 MB / 467.1 MB, free: 45.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.4188, allocations: 0 / 467.1 MB, free: 45.52 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