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.001015/0.001015, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009492/0.0009492, allocations: 165 kB / 24.56 MB, free: 12 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.9578/0.9578, allocations: 177.1 MB / 205 MB, free: 5.605 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.2417/0.2417, allocations: 29.43 MB / 290.9 MB, free: 2.48 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.874e-06/1.874e-06, allocations: 0 / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.116e-05, allocations: 6.312 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006/0.006031, allocations: 6.125 MB / 375.8 MB, free: 4.801 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003402/0.009433, allocations: 2.337 MB / 378.1 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/0.009776, allocations: 39.62 kB / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000908/0.01068, allocations: 389.9 kB / 378.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.01176, allocations: 0.6139 MB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008948/0.01266, allocations: 0.5377 MB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.01404, allocations: 1.988 MB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.01457, allocations: 0.5998 MB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009446/0.01552, allocations: 1.135 MB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007149/0.01623, allocations: 0.8691 MB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.01637, allocations: 148 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006994/0.01707, allocations: 0.6357 MB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.01747, allocations: 0.6586 MB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.01783, allocations: 499 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.01895, allocations: 1.488 MB / 387.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.01896, allocations: 0 / 387.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01896, allocations: 0 / 387.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.01897, allocations: 4 kB / 387.7 MB, free: 8.84 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.002171/0.02114, allocations: 1.857 MB / 389.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.02117, allocations: 15.98 kB / 389.6 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006749/0.02185, allocations: 339.9 kB / 389.9 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007673/0.02262, allocations: 0.7474 MB / 390.6 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000561/0.02318, allocations: 1.097 MB / 391.7 MB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.02336, allocations: 116.5 kB / 391.9 MB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.02478, allocations: 1.16 MB / 393 MB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.02481, allocations: 0 / 393 MB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.694e-05/0.02489, allocations: 43.98 kB / 393.1 MB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/0.02502, allocations: 89.94 kB / 393.2 MB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.02617, allocations: 0.7922 MB / 393.9 MB, free: 2.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/0.03051, allocations: 4.703 MB / 398.6 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/0.03149, allocations: 0.6446 MB / 399.3 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.03204, allocations: 394.2 kB / 399.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.595e-05/0.03211, allocations: 24.98 kB / 399.7 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007719/0.03288, allocations: 0.6635 MB / 400.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 2.124e-06/0.03288, allocations: 4 kB / 400.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.007659/0.04054, allocations: 4.267 MB / 404.6 MB, free: 7.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.0406, allocations: 106 kB / 404.7 MB, free: 7.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.04094, allocations: 494.4 kB / 405.2 MB, free: 6.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.04102, allocations: 61.69 kB / 405.3 MB, free: 6.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.04123, allocations: 455.9 kB / 405.7 MB, free: 6.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.04148, allocations: 420.5 kB / 406.1 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.04175, allocations: 232.5 kB / 406.4 MB, free: 5.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.04195, allocations: 0.5703 MB / 406.9 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/0.04247, allocations: 404.1 kB / 407.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.0431, allocations: 0.6461 MB / 408 MB, free: 3.785 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.001476/0.04457, allocations: 1.358 MB / 409.3 MB, free: 2.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.04457, allocations: 3.938 kB / 409.3 MB, free: 2.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004019/0.04859, allocations: 2.433 MB / 411.8 MB, free: 15.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.04865, allocations: 61.61 kB / 411.8 MB, free: 15.8 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.0005703/0.04922, allocations: 459.3 kB / 412.3 MB, free: 15.35 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.8658919050358236]