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.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.0009719/0.0009719, allocations: 108.9 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.001009/0.001009, allocations: 221.5 kB / 23.73 MB, free: 2.129 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.9784/0.9784, allocations: 230.6 MB / 257.5 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.142/0.142, allocations: 38.56 MB / 352.5 MB, free: 11.31 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_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.001529/0.001529, allocations: 74.39 kB / 493.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1066, allocations: 62.47 MB / 0.5427 GB, free: 5.984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.004095/0.1107, allocations: 4.606 MB / 0.5472 GB, free: 1.348 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1123, allocations: 1.387 MB / 0.5486 GB, free: 15.95 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.1124, allocations: 23.81 kB / 0.5486 GB, free: 15.93 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.1131, allocations: 398.4 kB / 0.549 GB, free: 15.54 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.1134, allocations: 278.6 kB / 0.5492 GB, free: 15.27 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1138, allocations: 227.5 kB / 0.5495 GB, free: 15.04 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.1142, allocations: 0.623 MB / 0.5501 GB, free: 14.42 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.1145, allocations: 249.3 kB / 0.5503 GB, free: 14.18 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.1147, allocations: 294.8 kB / 0.5506 GB, free: 13.89 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.115, allocations: 322.9 kB / 0.5509 GB, free: 13.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.1151, allocations: 39.94 kB / 0.5509 GB, free: 13.53 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.1153, allocations: 151.7 kB / 0.5511 GB, free: 13.38 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1154, allocations: 215.4 kB / 0.5513 GB, free: 13.17 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1155, allocations: 199.1 kB / 0.5515 GB, free: 12.98 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.1159, allocations: 0.5876 MB / 0.552 GB, free: 12.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1159, allocations: 0 / 0.552 GB, free: 12.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1159, allocations: 0 / 0.552 GB, free: 12.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1159, allocations: 0 / 0.552 GB, free: 12.39 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.000759/0.1167, allocations: 0.689 MB / 0.5527 GB, free: 11.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1167, allocations: 12.03 kB / 0.5527 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.564e-05/0.1168, allocations: 74.72 kB / 0.5528 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004374/0.1172, allocations: 112.5 kB / 0.5529 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.1177, allocations: 373.9 kB / 0.5533 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1177, allocations: 36.92 kB / 0.5533 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.1178, allocations: 59.86 kB / 0.5534 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.1183, allocations: 496.8 kB / 0.5538 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1183, allocations: 3.938 kB / 0.5538 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1183, allocations: 12 kB / 0.5538 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-05/0.1184, allocations: 28.98 kB / 0.5539 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.1188, allocations: 347.7 kB / 0.5542 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.1204, allocations: 1.526 MB / 0.5557 GB, free: 8.484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1207, allocations: 221.3 kB / 0.5559 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1208, allocations: 160.6 kB / 0.5561 GB, free: 8.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.1208, allocations: 7.938 kB / 0.5561 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1208, allocations: 38.55 kB / 0.5561 GB, free: 8.035 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.1208, allocations: 0 / 0.5561 GB, free: 8.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.001262/0.1221, allocations: 1.04 MB / 0.5571 GB, free: 6.953 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1221, allocations: 85.09 kB / 0.5572 GB, free: 6.852 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1224, allocations: 333.8 kB / 0.5575 GB, free: 6.512 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1224, allocations: 29.7 kB / 0.5575 GB, free: 6.477 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1225, allocations: 264.3 kB / 0.5578 GB, free: 6.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.1225, allocations: 99.17 kB / 0.5579 GB, free: 6.117 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.062e-05/0.1226, allocations: 77.62 kB / 0.558 GB, free: 6.035 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.1227, allocations: 346.8 kB / 0.5583 GB, free: 5.688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1228, allocations: 144.3 kB / 0.5584 GB, free: 5.543 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.123, allocations: 231 kB / 0.5587 GB, free: 5.277 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.00139/0.1244, allocations: 0.9634 MB / 0.5596 GB, free: 4.281 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1244, allocations: 0 / 0.5596 GB, free: 4.281 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007642/0.1252, allocations: 0.6483 MB / 0.5602 GB, free: 3.613 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1252, allocations: 8.344 kB / 0.5602 GB, free: 3.605 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.0001699/0.1254, allocations: 164.3 kB / 0.5604 GB, free: 3.445 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.370434303767979]