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.0009609/0.0009609, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001712/0.001712, allocations: 168.7 kB / 24.91 MB, free: 9.148 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.9912/0.9912, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2347/0.2347, allocations: 29.42 MB / 291.2 MB, free: 2.402 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.563e-06/1.563e-06, allocations: 0 / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.764e-05, allocations: 3.156 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006141/0.006158, allocations: 6.139 MB / 323 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.009756, allocations: 2.372 MB / 325.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003553/0.01011, allocations: 39.69 kB / 325.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007862/0.0109, allocations: 389.8 kB / 325.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000946/0.01184, allocations: 0.5944 MB / 326.4 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.01285, allocations: 0.5377 MB / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.01431, allocations: 1.992 MB / 328.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005952/0.0149, allocations: 0.631 MB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.01591, allocations: 1.127 MB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/0.01669, allocations: 0.8457 MB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.01684, allocations: 144 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007619/0.0176, allocations: 0.6474 MB / 332.3 MB, free: 428 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004158/0.01802, allocations: 0.6586 MB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.01837, allocations: 499 kB / 333.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.01948, allocations: 1.476 MB / 335 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.01949, allocations: 0 / 335 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01949, allocations: 4 kB / 335 MB, free: 13.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.0195, allocations: 0 / 335 MB, free: 13.79 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002007/0.0215, allocations: 1.607 MB / 336.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.02155, allocations: 11.98 kB / 336.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006654/0.02221, allocations: 288.6 kB / 336.9 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007516/0.02296, allocations: 0.6469 MB / 337.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008202/0.02378, allocations: 1.094 MB / 338.6 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.02396, allocations: 108.7 kB / 338.7 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.02514, allocations: 1.032 MB / 339.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.02516, allocations: 3.953 kB / 339.7 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/0.02524, allocations: 39.97 kB / 339.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/0.02536, allocations: 81.97 kB / 339.9 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/0.02612, allocations: 0.5433 MB / 340.4 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.03, allocations: 3.562 MB / 344 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007456/0.03075, allocations: 0.5443 MB / 344.5 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.03111, allocations: 275.4 kB / 344.8 MB, free: 3.457 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.03117, allocations: 20.98 kB / 344.8 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005762/0.03175, allocations: 0.5856 MB / 345.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 2.605e-06/0.03175, allocations: 0 / 345.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.006498/0.03825, allocations: 3.436 MB / 348.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.0383, allocations: 102.1 kB / 348.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.03853, allocations: 422.9 kB / 349.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/0.03861, allocations: 57.69 kB / 349.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.03876, allocations: 358.1 kB / 349.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.03896, allocations: 408.5 kB / 350.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.0392, allocations: 198.8 kB / 350.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.03931, allocations: 390.6 kB / 350.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.03964, allocations: 283.1 kB / 351 MB, free: 13.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.04001, allocations: 463.7 kB / 351.4 MB, free: 12.61 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.001019/0.04103, allocations: 1.062 MB / 352.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.04103, allocations: 0 / 352.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003504/0.04454, allocations: 1.954 MB / 354.5 MB, free: 9.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.04458, allocations: 53.69 kB / 354.5 MB, free: 9.441 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.0004284/0.04501, allocations: 371.2 kB / 354.9 MB, free: 9.07 MB / 330.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.7985344021581113]