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.00139/0.00139, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001394/0.001394, allocations: 209.4 kB / 23.74 MB, free: 4.66 MB / 14.72 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] 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.1876/0.1876, allocations: 38.52 MB / 352.4 MB, free: 12.59 MB / 286.1 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.91 kB / 492.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 62.47 MB / 0.542 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01045/0.3724, allocations: 7.195 MB / 0.549 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004959/0.3774, allocations: 2.439 MB / 0.5514 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000502/0.3779, allocations: 38.69 kB / 0.5515 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.3795, allocations: 0.5357 MB / 0.552 GB, free: 8.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.3809, allocations: 0.6125 MB / 0.5526 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.3823, allocations: 0.5203 MB / 0.5531 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002767/0.3851, allocations: 1.999 MB / 0.555 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.3861, allocations: 0.6053 MB / 0.5556 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.3878, allocations: 0.822 MB / 0.5564 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.3894, allocations: 1.003 MB / 0.5574 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002591/0.3897, allocations: 160 kB / 0.5576 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.3911, allocations: 0.6904 MB / 0.5582 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007507/0.3919, allocations: 0.6625 MB / 0.5589 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008647/0.3927, allocations: 0.6808 MB / 0.5595 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002615/0.3953, allocations: 2.079 MB / 0.5616 GB, free: 460 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3953, allocations: 4 kB / 0.5616 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3953, allocations: 0 / 0.5616 GB, free: 456 kB / 398.1 MB Notification: Performance of Transformations before backend: time 3.646e-05/0.3954, allocations: 3.938 kB / 0.5616 GB, free: 452 kB / 398.1 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.005214/0.4006, allocations: 1.838 MB / 0.5634 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4006, allocations: 19.97 kB / 0.5634 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002528/0.4009, allocations: 172.7 kB / 0.5636 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.4019, allocations: 212.1 kB / 0.5638 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.4042, allocations: 0.8565 MB / 0.5646 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001079/0.4053, allocations: 1.128 MB / 0.5657 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000307/0.4056, allocations: 111.9 kB / 0.5658 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004471/0.4101, allocations: 2.04 MB / 0.5678 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.4101, allocations: 3.938 kB / 0.5678 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.4102, allocations: 43.97 kB / 0.5678 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002542/0.4105, allocations: 89.95 kB / 0.5679 GB, free: 9.559 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005395/0.4159, allocations: 2.252 MB / 0.5701 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.4272, allocations: 5.691 MB / 0.5757 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004312/0.4315, allocations: 1.517 MB / 0.5772 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/0.4342, allocations: 1.043 MB / 0.5782 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.921e-05/0.4343, allocations: 10.25 kB / 0.5782 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003072/0.4374, allocations: 1.324 MB / 0.5795 GB, free: 13.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.397e-06/0.4374, allocations: 0 / 0.5795 GB, free: 13.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02792/0.4653, allocations: 8.372 MB / 0.5877 GB, free: 5.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/0.4655, allocations: 102.1 kB / 0.5878 GB, free: 5.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009999/0.4665, allocations: 0.5105 MB / 0.5883 GB, free: 4.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003734/0.4669, allocations: 61.62 kB / 0.5883 GB, free: 4.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.4673, allocations: 413.2 kB / 0.5887 GB, free: 4.016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005977/0.4679, allocations: 412.6 kB / 0.5891 GB, free: 3.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/0.4684, allocations: 222.9 kB / 0.5893 GB, free: 3.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002836/0.4687, allocations: 394.7 kB / 0.5897 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.4708, allocations: 0.9745 MB / 0.5907 GB, free: 2.016 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.4731, allocations: 1.166 MB / 0.5918 GB, free: 0.793 MB / 430.1 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.01279/0.4859, allocations: 5.014 MB / 0.5967 GB, free: 11.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4859, allocations: 0 / 0.5967 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01315/0.499, allocations: 4.34 MB / 0.6009 GB, free: 7.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.4991, allocations: 61.67 kB / 0.601 GB, free: 7.281 MB / 446.1 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.002523/0.5017, allocations: 1.046 MB / 0.602 GB, free: 6.223 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1765534540027147] Failed to read output from testmodel.py, exit status != 0: 0.5107183389991405 0.5262762639999999 0.127547442 Calling exit ...