Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008922/0.0008922, allocations: 110.5 kB / 20.43 MB, free: 4.598 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008528/0.0008528, allocations: 229.5 kB / 23.74 MB, free: 2.133 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8724/0.8724, allocations: 230.6 MB / 257.5 MB, free: 9.664 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1266/0.1266, allocations: 38.58 MB / 352.5 MB, free: 11.36 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 71.89 kB / 493.3 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.0968, allocations: 62.48 MB / 0.5428 GB, free: 5.992 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.00455/0.1013, allocations: 4.627 MB / 0.5473 GB, free: 1.332 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1027, allocations: 1.394 MB / 0.5486 GB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1029, allocations: 15.88 kB / 0.5486 GB, free: 15.92 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.1036, allocations: 394.4 kB / 0.549 GB, free: 15.53 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.1039, allocations: 278.6 kB / 0.5493 GB, free: 15.26 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1042, allocations: 223.5 kB / 0.5495 GB, free: 15.04 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.1046, allocations: 0.6269 MB / 0.5501 GB, free: 14.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.1049, allocations: 249.3 kB / 0.5504 GB, free: 14.17 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.1051, allocations: 298.8 kB / 0.5506 GB, free: 13.88 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.1054, allocations: 326.8 kB / 0.5509 GB, free: 13.55 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.1055, allocations: 32 kB / 0.551 GB, free: 13.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1057, allocations: 159.7 kB / 0.5511 GB, free: 13.37 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1058, allocations: 211.4 kB / 0.5513 GB, free: 13.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1059, allocations: 203.1 kB / 0.5515 GB, free: 12.96 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.1064, allocations: 0.5836 MB / 0.5521 GB, free: 12.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1064, allocations: 0 / 0.5521 GB, free: 12.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1064, allocations: 0 / 0.5521 GB, free: 12.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1064, allocations: 0 / 0.5521 GB, free: 12.38 MB / 426.7 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.0007304/0.1071, allocations: 0.6776 MB / 0.5528 GB, free: 11.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1071, allocations: 16.03 kB / 0.5528 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.1072, allocations: 82.69 kB / 0.5529 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004085/0.1076, allocations: 104.5 kB / 0.553 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.108, allocations: 381.8 kB / 0.5533 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1081, allocations: 36.92 kB / 0.5534 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.1082, allocations: 55.94 kB / 0.5534 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.1086, allocations: 0.489 MB / 0.5539 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1086, allocations: 4 kB / 0.5539 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.1087, allocations: 8 kB / 0.5539 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.704e-05/0.1087, allocations: 32.98 kB / 0.5539 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.1091, allocations: 347.7 kB / 0.5543 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.1104, allocations: 1.526 MB / 0.5557 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.1107, allocations: 229.2 kB / 0.556 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1108, allocations: 152.5 kB / 0.5561 GB, free: 8.074 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1108, allocations: 4 kB / 0.5561 GB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1108, allocations: 34.5 kB / 0.5561 GB, free: 8.027 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.1108, allocations: 0 / 0.5561 GB, free: 8.027 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.001215/0.112, allocations: 1.043 MB / 0.5572 GB, free: 6.941 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.1121, allocations: 81.11 kB / 0.5572 GB, free: 6.844 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1123, allocations: 333.6 kB / 0.5576 GB, free: 6.504 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1123, allocations: 33.69 kB / 0.5576 GB, free: 6.465 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.1124, allocations: 256.4 kB / 0.5578 GB, free: 6.211 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.1124, allocations: 99.17 kB / 0.5579 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.259e-05/0.1125, allocations: 81.62 kB / 0.558 GB, free: 6.027 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.1126, allocations: 346.8 kB / 0.5583 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1127, allocations: 136.3 kB / 0.5585 GB, free: 5.543 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.1129, allocations: 242.9 kB / 0.5587 GB, free: 5.266 MB / 426.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.001343/0.1143, allocations: 0.9635 MB / 0.5596 GB, free: 4.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1143, allocations: 0 / 0.5596 GB, free: 4.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007062/0.115, allocations: 0.6524 MB / 0.5603 GB, free: 3.598 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.115, allocations: 8 kB / 0.5603 GB, free: 3.59 MB / 426.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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001549/0.1151, allocations: 156.3 kB / 0.5604 GB, free: 3.438 MB / 426.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.0543489614501595]