Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.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.001334/0.001334, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001523/0.001523, allocations: 215.3 kB / 23.04 MB, free: 5.07 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.07975/0.07975, allocations: 16.95 MB / 330.2 MB, free: 2.578 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.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") [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.002028/0.002028, allocations: 59.91 kB / 461.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1317, allocations: 57.75 MB / 0.5069 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.32/0.4518, allocations: 28.85 MB / 0.535 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.4698, allocations: 8.25 MB / 0.5431 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006212/0.476, allocations: 77.81 kB / 0.5432 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005488/0.4815, allocations: 1.078 MB / 0.5442 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01517/0.4966, allocations: 3.709 MB / 0.5479 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004944/0.5016, allocations: 1.429 MB / 0.5492 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01489/0.5165, allocations: 6.487 MB / 0.5556 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.5176, allocations: 263.1 kB / 0.5558 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00567/0.5233, allocations: 2.229 MB / 0.558 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006347/0.5296, allocations: 2.379 MB / 0.5603 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.531, allocations: 255.2 kB / 0.5606 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00486/0.5359, allocations: 0.7591 MB / 0.5613 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.537, allocations: 0.6688 MB / 0.562 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0057/0.5427, allocations: 2.072 MB / 0.564 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008827/0.5515, allocations: 4.728 MB / 0.5686 GB, free: 9.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5515, allocations: 4 kB / 0.5686 GB, free: 9.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5515, allocations: 0 / 0.5686 GB, free: 9.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001306/0.5516, allocations: 1.5 kB / 0.5686 GB, free: 9.52 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 664 * Number of variables: 664 Notification: Performance of Generate backend data structure: time 0.02629/0.5779, allocations: 6.021 MB / 0.5745 GB, free: 5.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.578, allocations: 8.031 kB / 0.5745 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.5817, allocations: 0.5959 MB / 0.5751 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006125/0.5878, allocations: 2.104 MB / 0.5771 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.588, allocations: 209.6 kB / 0.5773 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003947/0.5884, allocations: 264.4 kB / 0.5776 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005658/0.5941, allocations: 3.184 MB / 0.5807 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-05/0.5941, allocations: 19.81 kB / 0.5807 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/0.5945, allocations: 120 kB / 0.5808 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.524e-05/0.5946, allocations: 72 kB / 0.5809 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004433/0.599, allocations: 2.537 MB / 0.5834 GB, free: 11.73 MB / 430.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.02917/0.6282, allocations: 20.45 MB / 0.6034 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005313/0.6335, allocations: 2.198 MB / 0.6055 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.6353, allocations: 0.8388 MB / 0.6063 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.6355, allocations: 46.03 kB / 0.6064 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.333e-05/0.6356, allocations: 68.48 kB / 0.6064 GB, free: 3.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 4.899e-06/0.6356, allocations: 4 kB / 0.6064 GB, free: 3.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02475/0.6604, allocations: 5.799 MB / 0.6121 GB, free: 13.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.6604, allocations: 81.39 kB / 0.6122 GB, free: 13.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006957/0.6674, allocations: 2.95 MB / 0.6151 GB, free: 10.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005531/0.668, allocations: 77.7 kB / 0.6151 GB, free: 10.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.6698, allocations: 1.456 MB / 0.6166 GB, free: 8.793 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002079/0.6719, allocations: 1.054 MB / 0.6176 GB, free: 7.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004059/0.676, allocations: 1.529 MB / 0.6191 GB, free: 6.188 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6761, allocations: 301.1 kB / 0.6194 GB, free: 5.891 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003794/0.6799, allocations: 2.075 MB / 0.6214 GB, free: 3.809 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004491/0.6844, allocations: 2.752 MB / 0.6241 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006972/0.6914, allocations: 3.98 MB / 0.628 GB, free: 12.87 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/0.6914, allocations: 4 kB / 0.628 GB, free: 12.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01414/0.7055, allocations: 6.978 MB / 0.6348 GB, free: 5.801 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.7056, allocations: 10.34 kB / 0.6348 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.7056, allocations: 4.109 kB / 0.6348 GB, free: 5.789 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002819/0.7084, allocations: 0.9418 MB / 0.6357 GB, free: 4.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00738/0.7158, allocations: 1.592 MB / 0.6373 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/0.7291, allocations: 6.876 MB / 0.644 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008302/0.7374, allocations: 0.555 MB / 0.6445 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/0.7385, allocations: 260 kB / 0.6448 GB, free: 11.45 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1034): * Single equations (assignments): 1032 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,56)} Notification: Performance of prepare postOptimizeDAE: time 0.001979/0.7405, allocations: 0.6814 MB / 0.6454 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/0.7415, allocations: 353.8 kB / 0.6458 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005872/0.7474, allocations: 2.651 MB / 0.6484 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.7474, allocations: 27.94 kB / 0.6484 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.7474, allocations: 0 / 0.6484 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/0.7475, allocations: 11.95 kB / 0.6484 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.7587, allocations: 5.48 MB / 0.6538 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.7587, allocations: 7.938 kB / 0.6538 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.7601, allocations: 315.6 kB / 0.6541 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/0.7626, allocations: 0.7424 MB / 0.6548 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.7627, allocations: 44 kB / 0.6548 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.7742, allocations: 6.658 MB / 0.6613 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7742, allocations: 4 kB / 0.6613 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006804/0.781, allocations: 2.749 MB / 0.664 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002834/0.7838, allocations: 0.6417 MB / 0.6646 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000942/0.7848, allocations: 40 kB / 0.6647 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/0.7873, allocations: 99.89 kB / 0.6648 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/0.7877, allocations: 173.6 kB / 0.6649 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.7879, allocations: 79.97 kB / 0.665 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002929/0.7908, allocations: 1.77 MB / 0.6667 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7908, allocations: 3.938 kB / 0.6668 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006746/0.7975, allocations: 1.617 MB / 0.6683 GB, free: 3.027 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (188): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,56)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007962/0.7983, allocations: 307.5 kB / 0.6686 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0107/0.809, allocations: 4.372 MB / 0.6729 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.809, allocations: 4 kB / 0.6729 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003409/0.8124, allocations: 1.382 MB / 0.6742 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003989/0.8164, allocations: 266 kB / 0.6745 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009543/0.826, allocations: 4.646 MB / 0.679 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.8275, allocations: 1.726 MB / 0.6807 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002507/0.8301, allocations: 0.5544 MB / 0.6813 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008866/0.8309, allocations: 255.4 kB / 0.6815 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of SimCode: time 1.633e-06/0.8309, allocations: 0 / 0.6815 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of Templates: time 0.09235/0.9233, allocations: 48.69 MB / 0.7291 GB, free: 4.77 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 7.869164736010134] Failed to read output from testmodel.py, exit status != 0: 0.9339346740162 1.1928393880000001 0.6360999709999999 Calling exit ...