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.001909/0.001909, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.002048/0.002048, allocations: 161.3 kB / 24.27 MB, free: 148 kB / 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 1.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3181/0.3181, allocations: 29.41 MB / 290.5 MB, free: 2.43 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: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.587e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01106/0.0111, allocations: 7.015 MB / 375.9 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005421/0.01652, allocations: 2.337 MB / 378.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005508/0.01707, allocations: 43.62 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.01875, allocations: 0.5209 MB / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.02058, allocations: 0.6333 MB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.02204, allocations: 0.5261 MB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003265/0.02531, allocations: 2 MB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.02655, allocations: 0.592 MB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.02862, allocations: 1.083 MB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.03021, allocations: 0.9355 MB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.0305, allocations: 160 kB / 384.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.03193, allocations: 0.6552 MB / 385.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008455/0.03278, allocations: 0.6782 MB / 386.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007818/0.03356, allocations: 0.5185 MB / 386.6 MB, free: 9.562 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00354/0.0371, allocations: 2.24 MB / 388.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.0371, allocations: 0 / 388.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0371, allocations: 0 / 388.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.722e-05/0.03714, allocations: 4 kB / 388.8 MB, free: 7.312 MB / 362.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.004907/0.04205, allocations: 1.955 MB / 390.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.0421, allocations: 23.91 kB / 390.8 MB, free: 5.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.04342, allocations: 339.9 kB / 391.1 MB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.0458, allocations: 0.8624 MB / 392 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/0.04689, allocations: 1.093 MB / 393.1 MB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/0.04719, allocations: 120.6 kB / 393.2 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.0507, allocations: 1.342 MB / 394.5 MB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.05073, allocations: 4 kB / 394.5 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.05087, allocations: 36 kB / 394.6 MB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002591/0.05113, allocations: 97.92 kB / 394.7 MB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003417/0.05455, allocations: 1.112 MB / 395.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.06491, allocations: 5.043 MB / 400.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.06778, allocations: 0.8167 MB / 401.6 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.06948, allocations: 0.5254 MB / 402.2 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.06959, allocations: 20.94 kB / 402.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/0.07167, allocations: 0.8355 MB / 403 MB, free: 8.527 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.136e-06/0.07167, allocations: 4 kB / 403 MB, free: 8.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.01988/0.09155, allocations: 5.032 MB / 408.1 MB, free: 3.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.09166, allocations: 106 kB / 408.2 MB, free: 3.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.09272, allocations: 0.5766 MB / 408.7 MB, free: 2.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.09291, allocations: 57.69 kB / 408.8 MB, free: 2.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/0.09343, allocations: 487.9 kB / 409.3 MB, free: 2.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006326/0.09406, allocations: 436.6 kB / 409.7 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006105/0.09467, allocations: 268.5 kB / 410 MB, free: 1.484 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004598/0.09513, allocations: 0.6211 MB / 410.6 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.09661, allocations: 0.5039 MB / 411.1 MB, free: 352 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.09836, allocations: 0.7827 MB / 411.9 MB, free: 15.48 MB / 394.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.01137/0.1097, allocations: 3.56 MB / 415.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.1097, allocations: 4 kB / 415.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01015/0.1199, allocations: 2.741 MB / 418.2 MB, free: 9.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.12, allocations: 53.69 kB / 418.2 MB, free: 8.992 MB / 394.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.001825/0.1218, allocations: 0.5539 MB / 418.8 MB, free: 8.43 MB / 394.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.632895958959125]