Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.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.001542/0.001542, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002289/0.002289, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08191/0.08191, allocations: 16.92 MB / 329.4 MB, free: 2.406 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") [Timeout 660] "Notification: PowerGrids 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.002128/0.002128, allocations: 71.89 kB / 460.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1441, allocations: 57.73 MB / 0.506 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.006011/0.1501, allocations: 4.119 MB / 0.51 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.1544, allocations: 2.221 MB / 0.5122 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004325/0.1548, allocations: 15.88 kB / 0.5122 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007628/0.1556, allocations: 222.6 kB / 0.5124 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.1583, allocations: 1.131 MB / 0.5135 GB, free: 256 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3028/0.4612, allocations: 326.8 kB / 0.5138 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.4632, allocations: 1.033 MB / 0.5148 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.4634, allocations: 36.22 kB / 0.5148 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005904/0.464, allocations: 388.4 kB / 0.5152 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004593/0.4644, allocations: 341.3 kB / 0.5155 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.29e-05/0.4645, allocations: 40.47 kB / 0.5156 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007599/0.4653, allocations: 253.8 kB / 0.5158 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.918e-05/0.4654, allocations: 117 kB / 0.5159 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.4656, allocations: 283.8 kB / 0.5162 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009944/0.4666, allocations: 0.8911 MB / 0.5171 GB, free: 9.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4666, allocations: 0.9688 kB / 0.5171 GB, free: 9.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4666, allocations: 0 / 0.5171 GB, free: 9.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.4666, allocations: 0 / 0.5171 GB, free: 9.508 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00308/0.4697, allocations: 1.161 MB / 0.5182 GB, free: 8.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4697, allocations: 13.41 kB / 0.5182 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005255/0.4703, allocations: 108.5 kB / 0.5183 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.4711, allocations: 461.8 kB / 0.5188 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.4712, allocations: 33.62 kB / 0.5188 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.4712, allocations: 42.25 kB / 0.5188 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000807/0.472, allocations: 0.6671 MB / 0.5195 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.472, allocations: 5.031 kB / 0.5195 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.4721, allocations: 20.84 kB / 0.5195 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.4721, allocations: 13.97 kB / 0.5195 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.4727, allocations: 349.1 kB / 0.5199 GB, free: 8.312 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.4759, allocations: 2.87 MB / 0.5227 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/0.4765, allocations: 265.8 kB / 0.5229 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.4767, allocations: 87.27 kB / 0.523 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.4767, allocations: 5.719 kB / 0.523 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.4767, allocations: 38.77 kB / 0.523 GB, free: 6.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.905e-06/0.4767, allocations: 0.5156 kB / 0.523 GB, free: 6.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.00101/0.4777, allocations: 397.5 kB / 0.5234 GB, free: 6.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.4778, allocations: 63.41 kB / 0.5235 GB, free: 6.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007383/0.4785, allocations: 0.5717 MB / 0.524 GB, free: 5.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.4785, allocations: 30.52 kB / 0.5241 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.4788, allocations: 338.1 kB / 0.5244 GB, free: 5.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.4789, allocations: 129.8 kB / 0.5245 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/0.4792, allocations: 223.3 kB / 0.5247 GB, free: 5.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4793, allocations: 376.5 kB / 0.5251 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.4798, allocations: 291.8 kB / 0.5254 GB, free: 5.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.4803, allocations: 400.3 kB / 0.5257 GB, free: 4.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007624/0.4811, allocations: 0.5488 MB / 0.5263 GB, free: 4.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4811, allocations: 0 / 0.5263 GB, free: 4.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001684/0.4828, allocations: 0.952 MB / 0.5272 GB, free: 4.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.4828, allocations: 5.25 kB / 0.5272 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4828, allocations: 9.359 kB / 0.5272 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.4831, allocations: 42.28 kB / 0.5273 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/0.484, allocations: 243.9 kB / 0.5275 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.4841, allocations: 7.281 kB / 0.5275 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008007/0.4849, allocations: 77.8 kB / 0.5276 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.4849, allocations: 37.16 kB / 0.5276 GB, free: 4.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002728/0.4852, allocations: 200.1 kB / 0.5278 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4853, allocations: 54.7 kB / 0.5279 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006449/0.486, allocations: 336.4 kB / 0.5282 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.486, allocations: 4.094 kB / 0.5282 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.486, allocations: 4.172 kB / 0.5282 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.486, allocations: 4.922 kB / 0.5282 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.4871, allocations: 0.7508 MB / 0.5289 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4871, allocations: 3.797 kB / 0.5289 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.4874, allocations: 57.7 kB / 0.529 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.4875, allocations: 36.16 kB / 0.529 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.4876, allocations: 6.906 kB / 0.529 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.4876, allocations: 2.969 kB / 0.529 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4876, allocations: 4 kB / 0.529 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000595/0.4882, allocations: 415.6 kB / 0.5294 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.4884, allocations: 98.61 kB / 0.5295 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.4885, allocations: 11.66 kB / 0.5295 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.4889, allocations: 24.89 kB / 0.5296 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.489, allocations: 22.02 kB / 0.5296 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.489, allocations: 12.19 kB / 0.5296 GB, free: 2.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004686/0.4895, allocations: 371.8 kB / 0.5299 GB, free: 2.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4895, allocations: 0 / 0.5299 GB, free: 2.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008388/0.4903, allocations: 234.6 kB / 0.5302 GB, free: 2.637 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002565/0.4906, allocations: 153.3 kB / 0.5303 GB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009246/0.4915, allocations: 0.5294 MB / 0.5308 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4915, allocations: 0 / 0.5308 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.4917, allocations: 116.6 kB / 0.5309 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.4922, allocations: 56.31 kB / 0.531 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.4937, allocations: 0.8269 MB / 0.5318 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.4941, allocations: 239.3 kB / 0.532 GB, free: 1.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003947/0.4945, allocations: 93.42 kB / 0.5321 GB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.4947, allocations: 45.47 kB / 0.5322 GB, free: 1.664 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4947, allocations: 3.562 kB / 0.5322 GB, free: 1.664 MB / 382.1 MB Notification: Performance of Templates: time 0.01941/0.5141, allocations: 7.725 MB / 0.5397 GB, free: 52 kB / 382.1 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4950205236673355] Failed to read output from testmodel.py, exit status != 0: 0.5240173228085041 0.5398532420000001 0.069921938 Calling exit ...