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.001701/0.001701, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002078/0.002078, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.08023/0.08023, allocations: 16.95 MB / 330.2 MB, free: 2.566 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.003586/0.003586, allocations: 67.89 kB / 461.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1729, allocations: 57.75 MB / 0.5069 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.009165/0.182, allocations: 4.599 MB / 0.5114 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.1865, allocations: 2.427 MB / 0.5137 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.187, allocations: 11.88 kB / 0.5137 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.1877, allocations: 246.5 kB / 0.514 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2627/0.4504, allocations: 1.169 MB / 0.5151 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008709/0.4513, allocations: 351 kB / 0.5155 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.4529, allocations: 1.032 MB / 0.5165 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.453, allocations: 42.45 kB / 0.5165 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005154/0.4536, allocations: 379.6 kB / 0.5169 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.454, allocations: 384.8 kB / 0.5172 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.302e-05/0.454, allocations: 41.25 kB / 0.5173 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006034/0.4547, allocations: 267.8 kB / 0.5175 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.4547, allocations: 108 kB / 0.5176 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.455, allocations: 347.6 kB / 0.518 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009961/0.456, allocations: 0.8845 MB / 0.5188 GB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.456, allocations: 1.469 kB / 0.5188 GB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.456, allocations: 0 / 0.5188 GB, free: 9.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.456, allocations: 0 / 0.5188 GB, free: 9.332 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.003117/0.4591, allocations: 1.161 MB / 0.52 GB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4592, allocations: 12.5 kB / 0.52 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/0.4597, allocations: 109.3 kB / 0.5201 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008755/0.4606, allocations: 463 kB / 0.5205 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.4606, allocations: 31.34 kB / 0.5205 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.4607, allocations: 42.62 kB / 0.5206 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/0.4614, allocations: 0.5152 MB / 0.5211 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.4614, allocations: 8.625 kB / 0.5211 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.4615, allocations: 21.83 kB / 0.5211 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4615, allocations: 10.53 kB / 0.5211 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005404/0.462, allocations: 356.6 kB / 0.5215 GB, free: 8.32 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.00324/0.4653, allocations: 3.369 MB / 0.5248 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.4658, allocations: 262.9 kB / 0.525 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.466, allocations: 86.72 kB / 0.5251 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.466, allocations: 14.39 kB / 0.5251 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.4661, allocations: 33.81 kB / 0.5251 GB, free: 5.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.4661, allocations: 0 / 0.5251 GB, free: 5.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001053/0.4671, allocations: 408.4 kB / 0.5255 GB, free: 5.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.4671, allocations: 54.88 kB / 0.5256 GB, free: 5.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007578/0.4679, allocations: 0.6111 MB / 0.5262 GB, free: 5.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.4679, allocations: 32.27 kB / 0.5262 GB, free: 5.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.4682, allocations: 328.9 kB / 0.5265 GB, free: 4.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.4683, allocations: 130.2 kB / 0.5266 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.4686, allocations: 238.8 kB / 0.5269 GB, free: 4.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4687, allocations: 381.3 kB / 0.5272 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/0.4692, allocations: 299.8 kB / 0.5275 GB, free: 4.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.4698, allocations: 420.3 kB / 0.5279 GB, free: 4.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007558/0.4706, allocations: 0.5654 MB / 0.5285 GB, free: 3.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4706, allocations: 1.344 kB / 0.5285 GB, free: 3.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001613/0.4722, allocations: 0.9892 MB / 0.5294 GB, free: 3.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.4722, allocations: 11.31 kB / 0.5295 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.4722, allocations: 1.797 kB / 0.5295 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.4725, allocations: 41.34 kB / 0.5295 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/0.4735, allocations: 256.3 kB / 0.5297 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.4735, allocations: 9.438 kB / 0.5297 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/0.4743, allocations: 91.08 kB / 0.5298 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.792e-05/0.4744, allocations: 41.05 kB / 0.5299 GB, free: 3.281 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 (159): * Single equations (assignments): 158 * 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.000277/0.4747, allocations: 197.6 kB / 0.5301 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.4748, allocations: 67.06 kB / 0.5301 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006167/0.4754, allocations: 332.8 kB / 0.5304 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4754, allocations: 3.562 kB / 0.5304 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4754, allocations: 0.5625 kB / 0.5304 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4754, allocations: 2.25 kB / 0.5305 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.4766, allocations: 0.9156 MB / 0.5313 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4766, allocations: 4.094 kB / 0.5313 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.4769, allocations: 50.78 kB / 0.5314 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.477, allocations: 36.47 kB / 0.5314 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.477, allocations: 6.375 kB / 0.5314 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.477, allocations: 6.031 kB / 0.5314 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4771, allocations: 5.125 kB / 0.5314 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.4776, allocations: 421.4 kB / 0.5318 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.4778, allocations: 109.2 kB / 0.532 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.752e-05/0.4779, allocations: 6.688 kB / 0.532 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.4783, allocations: 19.33 kB / 0.532 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.4784, allocations: 24.98 kB / 0.532 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.4784, allocations: 15.41 kB / 0.532 GB, free: 1.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004848/0.4789, allocations: 402.3 kB / 0.5324 GB, free: 1.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4789, allocations: 3.375 kB / 0.5324 GB, free: 1.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007397/0.4797, allocations: 236.1 kB / 0.5326 GB, free: 1.738 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.0002356/0.4799, allocations: 149.2 kB / 0.5328 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009436/0.4808, allocations: 0.5504 MB / 0.5333 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4808, allocations: 1.188 kB / 0.5333 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.481, allocations: 111 kB / 0.5334 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.4816, allocations: 69.38 kB / 0.5335 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.4829, allocations: 0.8206 MB / 0.5343 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.4833, allocations: 0.8423 MB / 0.5351 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003329/0.4836, allocations: 97.75 kB / 0.5352 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.4837, allocations: 46.91 kB / 0.5352 GB, free: 144 kB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4837, allocations: 3.938 kB / 0.5352 GB, free: 140 kB / 382.1 MB Notification: Performance of Templates: time 0.01991/0.5036, allocations: 7.4 MB / 0.5425 GB, free: 14.44 MB / 398.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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 5.430742060998455] Failed to read output from testmodel.py, exit status != 0: 0.515389054955449 0.5290385369999999 0.069526134 Calling exit ...