Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.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.0008452/0.0008452, allocations: 83.69 kB / 20.67 MB, free: 3.875 MB / 18.57 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.001397/0.001397, allocations: 174 kB / 23.95 MB, free: 0.5977 MB / 18.57 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.8788/0.8788, allocations: 177.2 MB / 204.3 MB, free: 5.746 MB / 186.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.214/0.214, allocations: 29.41 MB / 290.2 MB, free: 2.441 MB / 266.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",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.001158/0.001158, allocations: 71.89 kB / 430.3 MB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2398, allocations: 62.44 MB / 492.8 MB, free: 19.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.005535/0.2454, allocations: 6.635 MB / 499.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.2482, allocations: 2.267 MB / 0.4899 GB, free: 13.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.2486, allocations: 43.03 kB / 0.49 GB, free: 13.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009669/0.2496, allocations: 0.5153 MB / 0.4905 GB, free: 13.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.2507, allocations: 0.6153 MB / 0.4911 GB, free: 12.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009743/0.2516, allocations: 0.5336 MB / 0.4916 GB, free: 12.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.253, allocations: 1.972 MB / 0.4935 GB, free: 11.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000649/0.2537, allocations: 0.5936 MB / 0.4941 GB, free: 11.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.2549, allocations: 1.068 MB / 0.4951 GB, free: 10.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009062/0.2558, allocations: 0.9186 MB / 0.496 GB, free: 9.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.256, allocations: 159 kB / 0.4962 GB, free: 9.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008552/0.2569, allocations: 0.6548 MB / 0.4968 GB, free: 9.555 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003892/0.2573, allocations: 0.6614 MB / 0.4975 GB, free: 9.105 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.2578, allocations: 0.5043 MB / 0.498 GB, free: 8.801 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.2594, allocations: 2.238 MB / 0.5002 GB, free: 7.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2594, allocations: 0 / 0.5002 GB, free: 7.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2594, allocations: 0 / 0.5002 GB, free: 7.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.767e-05/0.2595, allocations: 0 / 0.5002 GB, free: 7.258 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002877/0.2623, allocations: 1.841 MB / 0.502 GB, free: 5.992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2624, allocations: 16.83 kB / 0.502 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.2625, allocations: 169.1 kB / 0.5021 GB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006178/0.2632, allocations: 217.2 kB / 0.5023 GB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.2643, allocations: 0.8578 MB / 0.5032 GB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/0.2648, allocations: 1.124 MB / 0.5043 GB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.265, allocations: 109.3 kB / 0.5044 GB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.2675, allocations: 2.043 MB / 0.5064 GB, free: 2.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.2676, allocations: 13.11 kB / 0.5064 GB, free: 2.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.2677, allocations: 40.86 kB / 0.5064 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/0.2678, allocations: 88.08 kB / 0.5065 GB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00299/0.2708, allocations: 2.246 MB / 0.5087 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006064/0.2769, allocations: 5.418 MB / 0.514 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.2791, allocations: 1.514 MB / 0.5155 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.2805, allocations: 1.046 MB / 0.5165 GB, free: 9.758 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.603e-05/0.2805, allocations: 12.98 kB / 0.5165 GB, free: 9.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001564/0.2821, allocations: 1.313 MB / 0.5178 GB, free: 8.414 MB / 426.7 MB Notification: Performance of pre-optimization done (n=116): time 2.415e-06/0.2821, allocations: 0 / 0.5178 GB, free: 8.414 MB / 426.7 MB Notification: Performance of matching and sorting (n=118): time 0.01396/0.2961, allocations: 8.368 MB / 0.526 GB, free: 4 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.2961, allocations: 98.09 kB / 0.5261 GB, free: 15.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005515/0.2967, allocations: 0.5299 MB / 0.5266 GB, free: 15.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.2969, allocations: 57.69 kB / 0.5266 GB, free: 15.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.2971, allocations: 413.2 kB / 0.527 GB, free: 14.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.2974, allocations: 412.5 kB / 0.5274 GB, free: 14.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.2976, allocations: 222.8 kB / 0.5276 GB, free: 14.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2978, allocations: 394.7 kB / 0.528 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.2989, allocations: 1.019 MB / 0.529 GB, free: 12.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.3002, allocations: 1.206 MB / 0.5302 GB, free: 11.55 MB / 442.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.006826/0.307, allocations: 5.014 MB / 0.5351 GB, free: 6.469 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.307, allocations: 7.984 kB / 0.5351 GB, free: 6.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006859/0.3139, allocations: 4.389 MB / 0.5394 GB, free: 2.047 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.191e-05/0.314, allocations: 61.89 kB / 0.5394 GB, free: 1.98 MB / 442.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.001401/0.3154, allocations: 1.026 MB / 0.5404 GB, free: 0.9414 MB / 442.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.0114112179726362] Failed to read output from testmodel.py, exit status != 0: 0.32260528113693 0.33387202000000005 0.072622959 Calling exit ...