Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.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.Generation.Vsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_Vsource",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.001578/0.001578, allocations: 110.6 kB / 17.06 MB, free: 5.98 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.001862/0.001862, allocations: 195 kB / 18 MB, free: 5.066 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.318/1.318, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1781/0.1781, allocations: 37.99 MB / 309.2 MB, free: 5.945 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.001468/0.001468, allocations: 67.89 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1042, allocations: 55.24 MB / 486.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005837/0.1101, allocations: 4.732 MB / 491.3 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.1124, allocations: 1.474 MB / 492.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.1127, allocations: 19.94 kB / 492.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.1138, allocations: 402.8 kB / 493.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006142/0.1145, allocations: 278.6 kB / 493.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.115, allocations: 223.5 kB / 493.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006741/0.1157, allocations: 0.6191 MB / 494.3 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.1161, allocations: 297.4 kB / 494.6 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004425/0.1166, allocations: 286.8 kB / 494.9 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.1172, allocations: 314.9 kB / 495.2 MB, free: 208 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.251e-05/0.1173, allocations: 36 kB / 495.2 MB, free: 172 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.1176, allocations: 143.8 kB / 495.4 MB, free: 28 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.1179, allocations: 207.4 kB / 495.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.1181, allocations: 246.8 kB / 495.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.1187, allocations: 0.5724 MB / 496.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1187, allocations: 0 / 496.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1187, allocations: 0 / 496.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.1187, allocations: 8 kB / 496.4 MB, free: 15 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001225/0.12, allocations: 0.7378 MB / 497.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.12, allocations: 19.88 kB / 497.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.654e-05/0.1201, allocations: 78.66 kB / 497.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007768/0.1209, allocations: 104.2 kB / 497.3 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.1217, allocations: 440.2 kB / 497.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.1217, allocations: 36.94 kB / 497.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.1219, allocations: 59.88 kB / 497.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007356/0.1226, allocations: 496.8 kB / 498.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.1227, allocations: 0 / 498.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.1227, allocations: 12 kB / 498.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/0.1229, allocations: 28.98 kB / 498.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.1234, allocations: 355.7 kB / 498.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.1258, allocations: 1.723 MB / 0.4887 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.1262, allocations: 310.4 kB / 0.489 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.1264, allocations: 153.7 kB / 0.4892 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1265, allocations: 0 / 0.4892 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1265, allocations: 42.5 kB / 0.4892 GB, free: 10.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.1265, allocations: 4 kB / 0.4892 GB, free: 10.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001904/0.1284, allocations: 1.117 MB / 0.4903 GB, free: 8.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.1285, allocations: 81.11 kB / 0.4904 GB, free: 8.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.1288, allocations: 333.8 kB / 0.4907 GB, free: 8.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1288, allocations: 29.7 kB / 0.4907 GB, free: 8.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.129, allocations: 243.9 kB / 0.491 GB, free: 8.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.1291, allocations: 98.64 kB / 0.4911 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.1292, allocations: 73.69 kB / 0.4911 GB, free: 8.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1293, allocations: 342.8 kB / 0.4915 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.1295, allocations: 140.3 kB / 0.4916 GB, free: 7.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.1298, allocations: 246.9 kB / 0.4918 GB, free: 7.34 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.002505/0.1323, allocations: 1.036 MB / 0.4928 GB, free: 6.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1324, allocations: 3.938 kB / 0.4928 GB, free: 6.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001302/0.1337, allocations: 0.6599 MB / 0.4935 GB, free: 5.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.1337, allocations: 11.91 kB / 0.4935 GB, free: 5.555 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.0002656/0.134, allocations: 160.5 kB / 0.4937 GB, free: 5.398 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated