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.001994/0.001994, 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.002645/0.002645, allocations: 210.5 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.777 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.08405/0.08405, allocations: 16.93 MB / 329.4 MB, free: 2.359 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.002112/0.002112, allocations: 59.91 kB / 460.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.137, allocations: 57.73 MB / 0.506 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.2908/0.4278, allocations: 24.79 MB / 0.5302 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.4425, allocations: 7.687 MB / 0.5377 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00449/0.447, allocations: 82.81 kB / 0.5378 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004298/0.4513, allocations: 1.023 MB / 0.5388 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.015/0.4663, allocations: 3.665 MB / 0.5423 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005255/0.4716, allocations: 1.393 MB / 0.5437 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01242/0.484, allocations: 6.47 MB / 0.55 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.4852, allocations: 253.3 kB / 0.5503 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005458/0.4907, allocations: 2.241 MB / 0.5524 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005544/0.4962, allocations: 2.153 MB / 0.5545 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.4976, allocations: 259.6 kB / 0.5548 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004796/0.5024, allocations: 0.7516 MB / 0.5555 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.504, allocations: 0.6567 MB / 0.5562 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006453/0.5104, allocations: 1.726 MB / 0.5579 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.521, allocations: 4.765 MB / 0.5625 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.521, allocations: 0 / 0.5625 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.521, allocations: 0 / 0.5625 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001967/0.5212, allocations: 0 / 0.5625 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.02428/0.5455, allocations: 6.014 MB / 0.5684 GB, free: 10.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.5456, allocations: 11.97 kB / 0.5684 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/0.5492, allocations: 0.6037 MB / 0.569 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00572/0.5549, allocations: 2.104 MB / 0.571 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.5551, allocations: 205.6 kB / 0.5712 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003741/0.5555, allocations: 276.4 kB / 0.5715 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005433/0.5609, allocations: 3.709 MB / 0.5751 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.561, allocations: 19.81 kB / 0.5751 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.5612, allocations: 120 kB / 0.5752 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.189e-05/0.5613, allocations: 72 kB / 0.5753 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004571/0.5658, allocations: 2.509 MB / 0.5778 GB, free: 15.86 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.02566/0.5915, allocations: 17.7 MB / 0.5951 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00425/0.5958, allocations: 2.184 MB / 0.5972 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.5972, allocations: 0.8311 MB / 0.598 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.5973, allocations: 45.97 kB / 0.598 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.575e-05/0.5974, allocations: 64.5 kB / 0.5981 GB, free: 10.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 5.01e-06/0.5974, allocations: 0 / 0.5981 GB, free: 10.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.022/0.6194, allocations: 5.773 MB / 0.6037 GB, free: 4.641 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.6195, allocations: 81.34 kB / 0.6038 GB, free: 4.551 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005246/0.6247, allocations: 2.733 MB / 0.6065 GB, free: 1.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003955/0.6251, allocations: 81.64 kB / 0.6066 GB, free: 1.715 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.6267, allocations: 1.498 MB / 0.608 GB, free: 208 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001504/0.6282, allocations: 1.043 MB / 0.609 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002321/0.6305, allocations: 1.429 MB / 0.6104 GB, free: 13.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6307, allocations: 301.1 kB / 0.6107 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/0.6341, allocations: 2.011 MB / 0.6127 GB, free: 11.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004642/0.6388, allocations: 2.649 MB / 0.6153 GB, free: 8.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007399/0.6462, allocations: 3.865 MB / 0.6191 GB, free: 4.664 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-05/0.6462, allocations: 4 kB / 0.6191 GB, free: 4.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.0141/0.6603, allocations: 6.719 MB / 0.6256 GB, free: 13.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.6603, allocations: 7.938 kB / 0.6256 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.6604, allocations: 8 kB / 0.6256 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/0.6631, allocations: 0.9184 MB / 0.6265 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006513/0.6696, allocations: 1.525 MB / 0.628 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.6821, allocations: 6.482 MB / 0.6344 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007556/0.6896, allocations: 0.497 MB / 0.6348 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/0.6907, allocations: 248 kB / 0.6351 GB, free: 4.078 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.002257/0.6929, allocations: 0.6682 MB / 0.6357 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.694, allocations: 333.9 kB / 0.636 GB, free: 3.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005908/0.6999, allocations: 2.645 MB / 0.6386 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.7, allocations: 27.94 kB / 0.6387 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.7, allocations: 0 / 0.6387 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.7, allocations: 11.95 kB / 0.6387 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.71, allocations: 4.512 MB / 0.6431 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.71, allocations: 7.938 kB / 0.6431 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/0.7114, allocations: 315.5 kB / 0.6434 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002543/0.714, allocations: 0.7425 MB / 0.6441 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/0.7142, allocations: 44 kB / 0.6441 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/0.7253, allocations: 6.275 MB / 0.6503 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7253, allocations: 0 / 0.6503 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006284/0.7316, allocations: 2.721 MB / 0.6529 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002746/0.7343, allocations: 0.6222 MB / 0.6535 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008954/0.7352, allocations: 44 kB / 0.6536 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/0.7379, allocations: 99.89 kB / 0.6537 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/0.7383, allocations: 165.7 kB / 0.6538 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/0.7385, allocations: 83.97 kB / 0.6539 GB, free: 0.543 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00287/0.7413, allocations: 1.599 MB / 0.6555 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7413, allocations: 0 / 0.6555 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005045/0.7464, allocations: 1.616 MB / 0.6571 GB, free: 13.32 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.0006035/0.747, allocations: 299.9 kB / 0.6573 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008699/0.7557, allocations: 4.261 MB / 0.6615 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7557, allocations: 0 / 0.6615 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002977/0.7587, allocations: 1.381 MB / 0.6629 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/0.762, allocations: 247.7 kB / 0.6631 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008596/0.7706, allocations: 4.643 MB / 0.6676 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.7719, allocations: 1.176 MB / 0.6688 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002512/0.7744, allocations: 0.5296 MB / 0.6693 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/0.7753, allocations: 243.4 kB / 0.6695 GB, free: 460 kB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.7753, allocations: 0 / 0.6695 GB, free: 460 kB / 0.4981 GB Notification: Performance of Templates: time 0.08633/0.8616, allocations: 47.6 MB / 0.716 GB, free: 1.062 MB / 0.545 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: 7.818635117262602] Failed to read output from testmodel.py, exit status != 0: 0.8713613953441381 0.885270912 0.360914016 Calling exit ...