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.001483/0.001483, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001941/0.001941, allocations: 219.5 kB / 22.99 MB, free: 4.914 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.59/1.59, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1004/0.1004, allocations: 16.92 MB / 330.1 MB, free: 2.387 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.002205/0.002205, allocations: 71.89 kB / 461.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1402, allocations: 57.74 MB / 0.5067 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.3733/0.5135, allocations: 24.76 MB / 0.5309 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01798/0.5315, allocations: 7.697 MB / 0.5384 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005812/0.5373, allocations: 78.44 kB / 0.5385 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00511/0.5424, allocations: 1.023 MB / 0.5395 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01512/0.5575, allocations: 3.668 MB / 0.5431 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005235/0.5628, allocations: 1.39 MB / 0.5444 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01368/0.5765, allocations: 6.472 MB / 0.5507 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.5777, allocations: 260.8 kB / 0.551 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006415/0.5841, allocations: 2.226 MB / 0.5532 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006134/0.5902, allocations: 2.161 MB / 0.5553 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.5916, allocations: 255.5 kB / 0.5555 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004809/0.5964, allocations: 0.7471 MB / 0.5562 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.5976, allocations: 0.6605 MB / 0.5569 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005913/0.6035, allocations: 1.722 MB / 0.5586 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.6147, allocations: 4.765 MB / 0.5632 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/0.6147, allocations: 0 / 0.5632 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.6148, allocations: 3.938 kB / 0.5632 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001789/0.6149, allocations: 3.984 kB / 0.5632 GB, free: 14.12 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.02506/0.64, allocations: 6.018 MB / 0.5691 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.64, allocations: 8.031 kB / 0.5691 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/0.6438, allocations: 0.6037 MB / 0.5697 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006325/0.6501, allocations: 2.104 MB / 0.5718 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.6503, allocations: 209.5 kB / 0.572 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004348/0.6508, allocations: 268.4 kB / 0.5722 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005861/0.6566, allocations: 3.711 MB / 0.5758 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.005e-05/0.6567, allocations: 19.81 kB / 0.5759 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.657, allocations: 123.9 kB / 0.576 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.995e-05/0.6571, allocations: 72 kB / 0.5761 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/0.6616, allocations: 2.501 MB / 0.5785 GB, free: 15.88 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.03118/0.6928, allocations: 17.71 MB / 0.5958 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005165/0.698, allocations: 2.185 MB / 0.5979 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.6996, allocations: 0.8321 MB / 0.5987 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.6998, allocations: 37.97 kB / 0.5988 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.282e-05/0.6999, allocations: 72.5 kB / 0.5988 GB, free: 10.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 4.859e-06/0.6999, allocations: 0 / 0.5988 GB, free: 10.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02359/0.7234, allocations: 5.773 MB / 0.6045 GB, free: 4.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.7235, allocations: 81.34 kB / 0.6046 GB, free: 4.559 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005357/0.7289, allocations: 2.733 MB / 0.6072 GB, free: 1.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000462/0.7294, allocations: 77.7 kB / 0.6073 GB, free: 1.727 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.731, allocations: 1.498 MB / 0.6088 GB, free: 220 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001781/0.7327, allocations: 1.047 MB / 0.6098 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002725/0.7355, allocations: 1.425 MB / 0.6112 GB, free: 13.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.7356, allocations: 301.1 kB / 0.6115 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003959/0.7396, allocations: 2.007 MB / 0.6134 GB, free: 11.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004703/0.7443, allocations: 2.648 MB / 0.616 GB, free: 8.676 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007327/0.7516, allocations: 3.869 MB / 0.6198 GB, free: 4.676 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-05/0.7516, allocations: 0 / 0.6198 GB, free: 4.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.01498/0.7666, allocations: 6.727 MB / 0.6264 GB, free: 13.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.7667, allocations: 4 kB / 0.6264 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.7667, allocations: 4 kB / 0.6264 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/0.7696, allocations: 0.9261 MB / 0.6273 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006923/0.7765, allocations: 1.517 MB / 0.6287 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/0.7912, allocations: 6.491 MB / 0.6351 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009561/0.8007, allocations: 0.497 MB / 0.6356 GB, free: 4.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/0.8019, allocations: 248 kB / 0.6358 GB, free: 4.086 MB / 478.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 (982): * Single equations (assignments): 980 * 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.002538/0.8045, allocations: 0.669 MB / 0.6365 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/0.8058, allocations: 337.9 kB / 0.6368 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008189/0.814, allocations: 2.649 MB / 0.6394 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/0.814, allocations: 24 kB / 0.6394 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.814, allocations: 0 / 0.6394 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-05/0.814, allocations: 11.95 kB / 0.6394 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.8284, allocations: 4.512 MB / 0.6438 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.8285, allocations: 0 / 0.6438 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/0.8304, allocations: 311.6 kB / 0.6441 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003533/0.8339, allocations: 0.7464 MB / 0.6448 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002263/0.8341, allocations: 43.98 kB / 0.6449 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/0.8501, allocations: 6.279 MB / 0.651 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8501, allocations: 0 / 0.651 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007966/0.858, allocations: 2.728 MB / 0.6537 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002956/0.861, allocations: 0.6184 MB / 0.6543 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/0.862, allocations: 40 kB / 0.6543 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003106/0.8651, allocations: 107.9 kB / 0.6544 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004064/0.8655, allocations: 161.7 kB / 0.6546 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.8657, allocations: 71.97 kB / 0.6546 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002832/0.8685, allocations: 1.611 MB / 0.6562 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.8685, allocations: 0 / 0.6562 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005547/0.8741, allocations: 1.616 MB / 0.6578 GB, free: 13.33 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.0007018/0.8748, allocations: 292.1 kB / 0.6581 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009409/0.8842, allocations: 4.265 MB / 0.6622 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.8842, allocations: 0 / 0.6622 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003015/0.8872, allocations: 1.381 MB / 0.6636 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/0.8903, allocations: 247.5 kB / 0.6638 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/0.9001, allocations: 4.695 MB / 0.6684 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.9016, allocations: 1.176 MB / 0.6696 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/0.903, allocations: 275.4 kB / 0.6698 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of SimCode: time 1.844e-06/0.903, allocations: 0 / 0.6698 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of Templates: time 0.3885/1.292, allocations: 71.49 MB / 0.7396 GB, free: 184.1 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.751156765036285] Failed to read output from testmodel.py, exit status != 0: 1.3025407725945115 1.31514935 0.696785249 Calling exit ...