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.001397/0.001397, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001539/0.001539, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.542/1.542, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.0834/0.0834, allocations: 16.95 MB / 325.8 MB, free: 3.715 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.002065/0.002065, allocations: 71.89 kB / 455.3 MB, free: 4.332 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1343, allocations: 57.71 MB / 0.501 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.00619/0.1405, allocations: 4.573 MB / 0.5055 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004198/0.1447, allocations: 2.427 MB / 0.5078 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.145, allocations: 15.88 kB / 0.5078 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.1457, allocations: 238.5 kB / 0.5081 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.1483, allocations: 1.174 MB / 0.5092 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007799/0.1491, allocations: 352.4 kB / 0.5096 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.1504, allocations: 1.043 MB / 0.5106 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1506, allocations: 41.77 kB / 0.5106 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005181/0.1511, allocations: 382.4 kB / 0.511 GB, free: 264 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3366/0.4877, allocations: 368.5 kB / 0.5113 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002754/0.488, allocations: 43.97 kB / 0.5114 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.4891, allocations: 265.4 kB / 0.5116 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.4893, allocations: 113.8 kB / 0.5117 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004555/0.4897, allocations: 342.3 kB / 0.5121 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.4912, allocations: 0.8809 MB / 0.5129 GB, free: 9.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4912, allocations: 4.812 kB / 0.5129 GB, free: 9.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4912, allocations: 0 / 0.5129 GB, free: 9.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.4912, allocations: 0 / 0.5129 GB, free: 9.516 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.003168/0.4944, allocations: 1.239 MB / 0.5141 GB, free: 8.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4944, allocations: 10.53 kB / 0.5141 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005582/0.495, allocations: 109.6 kB / 0.5142 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008265/0.4958, allocations: 0.5181 MB / 0.5148 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.4958, allocations: 31.06 kB / 0.5148 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.4959, allocations: 43.73 kB / 0.5148 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.4966, allocations: 0.5131 MB / 0.5153 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.4966, allocations: 10.03 kB / 0.5153 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.4967, allocations: 20.34 kB / 0.5154 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.4967, allocations: 10.69 kB / 0.5154 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.4972, allocations: 351.2 kB / 0.5157 GB, free: 8.344 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.003423/0.5007, allocations: 3.414 MB / 0.519 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.5012, allocations: 261.3 kB / 0.5193 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.5014, allocations: 89.41 kB / 0.5194 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.5014, allocations: 5.281 kB / 0.5194 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.5015, allocations: 37.94 kB / 0.5194 GB, free: 5.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.342e-06/0.5015, allocations: 0 / 0.5194 GB, free: 5.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001057/0.5025, allocations: 490.9 kB / 0.5199 GB, free: 5.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.5026, allocations: 53.97 kB / 0.5199 GB, free: 5.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.5034, allocations: 0.602 MB / 0.5205 GB, free: 5.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.5034, allocations: 34.02 kB / 0.5205 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.5036, allocations: 330.2 kB / 0.5209 GB, free: 5.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.5038, allocations: 128.7 kB / 0.521 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/0.5041, allocations: 245.5 kB / 0.5212 GB, free: 5.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5043, allocations: 384.5 kB / 0.5216 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.5048, allocations: 303.1 kB / 0.5219 GB, free: 4.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.5054, allocations: 416.6 kB / 0.5223 GB, free: 4.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008539/0.5063, allocations: 0.5662 MB / 0.5228 GB, free: 4.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.5063, allocations: 0 / 0.5228 GB, free: 4.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001711/0.508, allocations: 0.9893 MB / 0.5238 GB, free: 3.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.508, allocations: 9.844 kB / 0.5238 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.5081, allocations: 5.625 kB / 0.5238 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/0.5083, allocations: 39.56 kB / 0.5238 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.5093, allocations: 257.4 kB / 0.5241 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.5093, allocations: 6.406 kB / 0.5241 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008269/0.5102, allocations: 89.11 kB / 0.5242 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.073e-05/0.5103, allocations: 36.2 kB / 0.5242 GB, free: 3.801 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.0002709/0.5105, allocations: 204.3 kB / 0.5244 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.5106, allocations: 69.88 kB / 0.5245 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006871/0.5113, allocations: 320.8 kB / 0.5248 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5113, allocations: 7.453 kB / 0.5248 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5114, allocations: 0 / 0.5248 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5114, allocations: 1.453 kB / 0.5248 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.5127, allocations: 0.9548 MB / 0.5257 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5127, allocations: 1.688 kB / 0.5257 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.513, allocations: 50.36 kB / 0.5258 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001581/0.5131, allocations: 39.36 kB / 0.5258 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.5132, allocations: 6.562 kB / 0.5258 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.5132, allocations: 9.781 kB / 0.5258 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.5132, allocations: 1.469 kB / 0.5258 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.5138, allocations: 418.4 kB / 0.5262 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.514, allocations: 182.7 kB / 0.5264 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.5141, allocations: 11.81 kB / 0.5264 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/0.5145, allocations: 27.72 kB / 0.5264 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.5146, allocations: 14.23 kB / 0.5265 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.5146, allocations: 14.14 kB / 0.5265 GB, free: 2.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005546/0.5152, allocations: 407.6 kB / 0.5269 GB, free: 2.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5152, allocations: 4 kB / 0.5269 GB, free: 2.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001058/0.5162, allocations: 238.5 kB / 0.5271 GB, free: 2.125 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.000291/0.5165, allocations: 146.2 kB / 0.5272 GB, free: 2.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.5176, allocations: 0.6236 MB / 0.5278 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.5176, allocations: 1.156 kB / 0.5278 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.5179, allocations: 188.3 kB / 0.528 GB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.5184, allocations: 61.92 kB / 0.5281 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.5199, allocations: 0.8221 MB / 0.5289 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.5203, allocations: 0.8397 MB / 0.5297 GB, free: 388 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003021/0.5206, allocations: 99.8 kB / 0.5298 GB, free: 368 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.5207, allocations: 44.94 kB / 0.5298 GB, free: 360 kB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5207, allocations: 0 / 0.5298 GB, free: 360 kB / 382.1 MB Notification: Performance of Templates: time 0.01852/0.5392, allocations: 7.156 MB / 0.5368 GB, free: 15.03 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.420168230077252] Failed to read output from testmodel.py, exit status != 0: 0.5482247970066965 0.563715898 0.069256168 Calling exit ...