Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008435/0.0008436, allocations: 171.6 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.4 MB / 222.2 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000728/0.000728, allocations: 86.36 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1629/0.1629, allocations: 38.07 MB / 356.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2196, allocations: 56.32 MB / 479.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006528/0.2261, allocations: 7.384 MB / 487 MB, free: 4.258 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004072/0.2302, allocations: 2.668 MB / 489.7 MB, free: 2.383 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008163/0.2311, allocations: 48.81 kB / 489.7 MB, free: 2.363 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006402/0.2317, allocations: 190.6 kB / 489.9 MB, free: 2.266 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.2334, allocations: 0.6236 MB / 490.5 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.2346, allocations: 474.7 kB / 491 MB, free: 1.754 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.2367, allocations: 2.061 MB / 493.1 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.2381, allocations: 1.029 MB / 494.1 MB, free: 456 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009244/0.239, allocations: 0.6425 MB / 494.7 MB, free: 236 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.2402, allocations: 0.886 MB / 495.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.2404, allocations: 67.75 kB / 495.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.2416, allocations: 0.626 MB / 496.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006473/0.2423, allocations: 0.5466 MB / 496.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007017/0.243, allocations: 0.5921 MB / 497.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.2444, allocations: 1.554 MB / 499 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2444, allocations: 1.469 kB / 499 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2444, allocations: 0 / 499 MB, free: 14.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.2444, allocations: 0 / 499 MB, free: 14.41 MB / 330.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.003648/0.2481, allocations: 1.689 MB / 0.489 GB, free: 13.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2481, allocations: 8.438 kB / 0.489 GB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007776/0.2489, allocations: 175.8 kB / 0.4891 GB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.2506, allocations: 0.8919 MB / 0.49 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006129/0.2512, allocations: 0.5226 MB / 0.4905 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.2515, allocations: 109 kB / 0.4906 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004042/0.2555, allocations: 2.135 MB / 0.4927 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.2556, allocations: 9.297 kB / 0.4927 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.2557, allocations: 37.12 kB / 0.4928 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002158/0.2559, allocations: 88.42 kB / 0.4928 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004967/0.2609, allocations: 2.415 MB / 0.4952 GB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008831/0.2697, allocations: 5.861 MB / 0.5009 GB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003978/0.2737, allocations: 1.753 MB / 0.5026 GB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.2762, allocations: 1.211 MB / 0.5038 GB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.084e-05/0.2763, allocations: 16.98 kB / 0.5038 GB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002724/0.279, allocations: 1.414 MB / 0.5052 GB, free: 248 kB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 3.216e-06/0.2791, allocations: 0 / 0.5052 GB, free: 248 kB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.02678/0.3058, allocations: 10.31 MB / 0.5153 GB, free: 5.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.3059, allocations: 98.09 kB / 0.5154 GB, free: 5.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005749/0.3065, allocations: 0.5144 MB / 0.5159 GB, free: 5.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.3067, allocations: 57.69 kB / 0.5159 GB, free: 5.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.3069, allocations: 404.2 kB / 0.5163 GB, free: 4.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.3073, allocations: 386.5 kB / 0.5167 GB, free: 4.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.3074, allocations: 23.98 kB / 0.5167 GB, free: 4.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3075, allocations: 398.7 kB / 0.5171 GB, free: 3.926 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.3095, allocations: 1.045 MB / 0.5181 GB, free: 2.883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.3115, allocations: 1.232 MB / 0.5193 GB, free: 1.594 MB / 346.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.01174/0.3232, allocations: 5.288 MB / 0.5245 GB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3232, allocations: 4 kB / 0.5245 GB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01265/0.3359, allocations: 5.195 MB / 0.5296 GB, free: 7.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.457e-05/0.336, allocations: 63.7 kB / 0.5296 GB, free: 6.949 MB / 362.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.002106/0.3381, allocations: 1.117 MB / 0.5307 GB, free: 5.824 MB / 362.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated