Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001129/0.001129, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001145/0.001145, allocations: 161 kB / 24.56 MB, free: 16 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 0.9933/0.9933, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2295/0.2295, allocations: 29.42 MB / 290.9 MB, free: 2.496 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.157e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009116/0.009148, allocations: 6.111 MB / 375.7 MB, free: 4.848 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.01253, allocations: 2.337 MB / 378.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004557/0.01299, allocations: 39.69 kB / 378.1 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007582/0.01375, allocations: 258.3 kB / 378.4 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.01482, allocations: 0.6139 MB / 379 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009161/0.01573, allocations: 0.5339 MB / 379.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001741/0.01747, allocations: 1.995 MB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007629/0.01824, allocations: 0.5959 MB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.01967, allocations: 1.053 MB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.02081, allocations: 0.9432 MB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.02112, allocations: 164 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000882/0.02201, allocations: 0.6551 MB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005/0.02251, allocations: 0.686 MB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005472/0.02305, allocations: 0.5146 MB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.0247, allocations: 1.562 MB / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.02471, allocations: 0 / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02471, allocations: 4 kB / 387.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.477e-05/0.02474, allocations: 0 / 387.7 MB, free: 8.859 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.002926/0.02767, allocations: 1.893 MB / 389.6 MB, free: 6.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.02771, allocations: 11.98 kB / 389.6 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008373/0.02855, allocations: 343.9 kB / 389.9 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.02981, allocations: 0.8663 MB / 390.8 MB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005307/0.03034, allocations: 1.09 MB / 391.9 MB, free: 4.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.03057, allocations: 108.7 kB / 392 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.03224, allocations: 1.164 MB / 393.2 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.03226, allocations: 3.938 kB / 393.2 MB, free: 3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/0.03235, allocations: 39.97 kB / 393.2 MB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.03249, allocations: 93.89 kB / 393.3 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.03386, allocations: 0.7884 MB / 394.1 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005245/0.03911, allocations: 4.711 MB / 398.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.0402, allocations: 0.6331 MB / 399.4 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/0.0408, allocations: 402.2 kB / 399.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.42e-05/0.04087, allocations: 17 kB / 399.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008213/0.04169, allocations: 0.6674 MB / 400.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.647e-06/0.0417, allocations: 0 / 400.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.008733/0.05043, allocations: 4.275 MB / 404.8 MB, free: 7.156 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.05051, allocations: 106 kB / 404.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.05101, allocations: 494.4 kB / 405.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.05117, allocations: 53.69 kB / 405.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.05148, allocations: 463.9 kB / 405.9 MB, free: 6.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.05178, allocations: 412.6 kB / 406.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.05208, allocations: 228.5 kB / 406.5 MB, free: 5.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.05227, allocations: 0.5742 MB / 407.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/0.05286, allocations: 404.1 kB / 407.5 MB, free: 4.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.05352, allocations: 0.6539 MB / 408.1 MB, free: 3.656 MB / 378.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.001825/0.05535, allocations: 1.35 MB / 409.5 MB, free: 2.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.05535, allocations: 4 kB / 409.5 MB, free: 2.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00438/0.05973, allocations: 2.433 MB / 411.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/0.05982, allocations: 56.03 kB / 412 MB, free: 15.69 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.0007079/0.06053, allocations: 467.3 kB / 412.4 MB, free: 15.23 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: 1.9248889540322125]