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.001431/0.001431, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 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.001529/0.001529, allocations: 208.2 kB / 23.72 MB, free: 4.41 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.1818/0.1818, allocations: 38.55 MB / 352.5 MB, free: 12.29 MB / 286.1 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: "" <> 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"}) [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.00218/0.00218, allocations: 75.88 kB / 492.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3148, allocations: 62.46 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.00672/0.3216, allocations: 4.603 MB / 0.5464 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.3241, allocations: 1.393 MB / 0.5478 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.3243, allocations: 18.09 kB / 0.5478 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.3254, allocations: 395.2 kB / 0.5482 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.326, allocations: 286.3 kB / 0.5485 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.3266, allocations: 226.1 kB / 0.5487 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006725/0.3273, allocations: 0.6237 MB / 0.5493 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.3276, allocations: 253.9 kB / 0.5495 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.3281, allocations: 296.5 kB / 0.5498 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.3286, allocations: 319.5 kB / 0.5501 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-05/0.3286, allocations: 33.5 kB / 0.5502 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003244/0.329, allocations: 160.8 kB / 0.5503 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.3292, allocations: 211.6 kB / 0.5505 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.3294, allocations: 204.3 kB / 0.5507 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006867/0.3301, allocations: 0.5846 MB / 0.5513 GB, free: 9.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3301, allocations: 1.281 kB / 0.5513 GB, free: 9.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3301, allocations: 0 / 0.5513 GB, free: 9.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3301, allocations: 0 / 0.5513 GB, free: 9.363 MB / 398.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.001285/0.3314, allocations: 0.6899 MB / 0.5519 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3314, allocations: 12.86 kB / 0.552 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.122e-05/0.3315, allocations: 73.28 kB / 0.552 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008234/0.3323, allocations: 111.2 kB / 0.5521 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008271/0.3332, allocations: 379.8 kB / 0.5525 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.3332, allocations: 27.09 kB / 0.5525 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.3334, allocations: 66.83 kB / 0.5526 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007786/0.3342, allocations: 486.2 kB / 0.5531 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.3342, allocations: 6.266 kB / 0.5531 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.3342, allocations: 15.47 kB / 0.5531 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/0.3344, allocations: 32.92 kB / 0.5531 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005915/0.335, allocations: 348.5 kB / 0.5534 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.3376, allocations: 1.532 MB / 0.5549 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.338, allocations: 220.4 kB / 0.5551 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.3383, allocations: 154.7 kB / 0.5553 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.3383, allocations: 4 kB / 0.5553 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3383, allocations: 34.56 kB / 0.5553 GB, free: 6.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.894e-06/0.3383, allocations: 3.938 kB / 0.5553 GB, free: 6.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002149/0.3405, allocations: 1.054 MB / 0.5564 GB, free: 5.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.3405, allocations: 81.11 kB / 0.5564 GB, free: 5.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.3409, allocations: 333.6 kB / 0.5568 GB, free: 4.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.341, allocations: 33.7 kB / 0.5568 GB, free: 4.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.3412, allocations: 252.4 kB / 0.557 GB, free: 4.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.05e-05/0.3412, allocations: 95.17 kB / 0.5571 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.3414, allocations: 77.64 kB / 0.5572 GB, free: 4.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3416, allocations: 346.8 kB / 0.5575 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.3418, allocations: 148.3 kB / 0.5577 GB, free: 3.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.3421, allocations: 235.2 kB / 0.5579 GB, free: 3.578 MB / 398.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.00264/0.3448, allocations: 0.9633 MB / 0.5588 GB, free: 2.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3448, allocations: 0 / 0.5588 GB, free: 2.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001423/0.3462, allocations: 0.6446 MB / 0.5595 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3462, allocations: 4 kB / 0.5595 GB, free: 1.914 MB / 398.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.0003/0.3465, allocations: 168.3 kB / 0.5596 GB, free: 1.75 MB / 398.1 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.8930836971849203] Failed to read output from testmodel.py, exit status != 0: 0.3539080321788788 0.369490303 0.036184535000000004 Calling exit ...