Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Vsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009922/0.0009922, allocations: 173.9 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.4 MB / 222.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007063/0.0007064, allocations: 88.98 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1625/0.1625, allocations: 38.08 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003618, allocations: 16 kB / 423.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2391, allocations: 56.32 MB / 479.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.004494/0.2436, allocations: 4.774 MB / 484.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.246, allocations: 1.568 MB / 486.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.2463, allocations: 27.72 kB / 486.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.2467, allocations: 102.5 kB / 486.2 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007179/0.2474, allocations: 292.7 kB / 486.5 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.248, allocations: 222.9 kB / 486.7 MB, free: 4.645 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000796/0.2488, allocations: 0.7212 MB / 487.4 MB, free: 4.379 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008371/0.2497, allocations: 0.5396 MB / 488 MB, free: 4.035 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.25, allocations: 233.3 kB / 488.2 MB, free: 3.941 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004856/0.2505, allocations: 310.8 kB / 488.5 MB, free: 3.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.2506, allocations: 17.31 kB / 488.5 MB, free: 3.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.2509, allocations: 136.6 kB / 488.7 MB, free: 3.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.2511, allocations: 196 kB / 488.8 MB, free: 3.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.2514, allocations: 240.7 kB / 489.1 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.2519, allocations: 439.2 kB / 489.5 MB, free: 3.508 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2519, allocations: 0 / 489.5 MB, free: 3.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2519, allocations: 3.938 kB / 489.5 MB, free: 3.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.2519, allocations: 0 / 489.5 MB, free: 3.504 MB / 314.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.0009573/0.2529, allocations: 0.6594 MB / 490.2 MB, free: 2.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2529, allocations: 8.875 kB / 490.2 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.212e-05/0.253, allocations: 86.86 kB / 490.3 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/0.2537, allocations: 102.9 kB / 490.4 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.2543, allocations: 413.8 kB / 490.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2544, allocations: 31.22 kB / 490.8 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.2545, allocations: 59.81 kB / 490.9 MB, free: 2.527 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/0.2553, allocations: 494.2 kB / 491.3 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2553, allocations: 1.641 kB / 491.3 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.2554, allocations: 15.98 kB / 491.4 MB, free: 2.277 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.2555, allocations: 34.45 kB / 491.4 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.2561, allocations: 346.8 kB / 491.7 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.2583, allocations: 1.747 MB / 493.5 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.2587, allocations: 309.2 kB / 493.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.2589, allocations: 163 kB / 493.9 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.2589, allocations: 2.344 kB / 493.9 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.259, allocations: 40.86 kB / 494 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.464e-06/0.259, allocations: 4 kB / 494 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.00199/0.261, allocations: 1.103 MB / 495.1 MB, free: 24 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.261, allocations: 80.28 kB / 495.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.2614, allocations: 330.5 kB / 495.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.2615, allocations: 31.44 kB / 495.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.2616, allocations: 249.7 kB / 495.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.017e-05/0.2617, allocations: 96.58 kB / 495.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.2618, allocations: 9.141 kB / 495.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2619, allocations: 348 kB / 496.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.2621, allocations: 141.8 kB / 496.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.2624, allocations: 237.6 kB / 496.6 MB, free: 14.89 MB / 330.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.0026/0.265, allocations: 1.026 MB / 497.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.265, allocations: 1 kB / 497.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00136/0.2664, allocations: 0.6646 MB / 498.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.2664, allocations: 6.688 kB / 498.3 MB, free: 14.14 MB / 330.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.0002599/0.2667, allocations: 158.8 kB / 498.4 MB, free: 14.07 MB / 330.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated