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.0007282/0.0007283, allocations: 100.9 kB / 16.65 MB, free: 6.254 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.0009668/0.0009668, allocations: 180.4 kB / 17.57 MB, free: 5.844 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.341/1.341, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1639/0.1639, allocations: 38.05 MB / 310.1 MB, free: 5.914 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.0005088/0.0005088, allocations: 15.98 kB / 377.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2291, allocations: 56.32 MB / 433.6 MB, free: 18.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.004373/0.2335, allocations: 4.987 MB / 438.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.2357, allocations: 1.637 MB / 440.2 MB, free: 12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.236, allocations: 27.81 kB / 440.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.2363, allocations: 91.42 kB / 440.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.2368, allocations: 254.9 kB / 440.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.2372, allocations: 191.7 kB / 440.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005365/0.2378, allocations: 0.9116 MB / 441.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006845/0.2385, allocations: 0.5632 MB / 442.2 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.2387, allocations: 226.9 kB / 442.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.2391, allocations: 314.9 kB / 442.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.2392, allocations: 16 kB / 442.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.2394, allocations: 143.7 kB / 442.9 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.2395, allocations: 191.5 kB / 443.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.2397, allocations: 248.5 kB / 443.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.2401, allocations: 0.5565 MB / 443.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2401, allocations: 0 / 443.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2401, allocations: 0 / 443.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2401, allocations: 0 / 443.9 MB, free: 8.254 MB / 318.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.0008954/0.241, allocations: 0.66 MB / 444.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.241, allocations: 12.03 kB / 444.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.039e-05/0.2411, allocations: 78.72 kB / 444.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.2419, allocations: 96.3 kB / 444.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.2424, allocations: 428.1 kB / 445.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.2425, allocations: 32.88 kB / 445.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.2426, allocations: 63.86 kB / 445.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005695/0.2432, allocations: 496.8 kB / 445.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.2432, allocations: 0 / 445.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.2433, allocations: 12 kB / 445.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.2434, allocations: 28.98 kB / 445.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.2439, allocations: 347.7 kB / 446.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.2457, allocations: 1.75 MB / 447.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.246, allocations: 306.4 kB / 448.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.2462, allocations: 165.5 kB / 448.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.2462, allocations: 0 / 448.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.2463, allocations: 38.56 kB / 448.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.474e-06/0.2463, allocations: 4 kB / 448.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001607/0.2479, allocations: 1.113 MB / 449.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.2479, allocations: 77.23 kB / 449.6 MB, free: 2.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.2482, allocations: 337.6 kB / 449.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.2482, allocations: 29.7 kB / 449.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.2483, allocations: 243.9 kB / 450.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.2484, allocations: 102.6 kB / 450.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.2484, allocations: 37.7 kB / 450.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.2485, allocations: 342.8 kB / 450.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.2487, allocations: 144.3 kB / 450.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.2489, allocations: 250.8 kB / 451 MB, free: 0.7031 MB / 318.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.002227/0.2511, allocations: 1.03 MB / 452.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2512, allocations: 4 kB / 452.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001311/0.2525, allocations: 0.656 MB / 452.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2525, allocations: 4 kB / 452.7 MB, free: 14.93 MB / 334.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.000262/0.2528, allocations: 163.8 kB / 452.9 MB, free: 14.77 MB / 334.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated