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.00149/0.00149, allocations: 116.8 kB / 17.17 MB, free: 6 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.001601/0.001601, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.639/1.639, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.08103/0.08103, allocations: 16.94 MB / 326.5 MB, free: 8.617 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.002016/0.002016, allocations: 69.72 kB / 456 MB, free: 35.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1445, allocations: 57.7 MB / 0.5017 GB, free: 9.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.031/0.1755, allocations: 28.84 MB / 0.5298 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.1932, allocations: 8.245 MB / 0.5379 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00539/0.1986, allocations: 79.44 kB / 0.538 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004528/0.2031, allocations: 1.071 MB / 0.539 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0128/0.2159, allocations: 3.705 MB / 0.5426 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004286/0.2202, allocations: 1.43 MB / 0.544 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.2316, allocations: 6.486 MB / 0.5504 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.2326, allocations: 272.7 kB / 0.5506 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004474/0.2371, allocations: 2.218 MB / 0.5528 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005123/0.2422, allocations: 2.381 MB / 0.5551 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009329/0.2431, allocations: 256 kB / 0.5554 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.2459, allocations: 0.7536 MB / 0.5561 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006692/0.2465, allocations: 0.6725 MB / 0.5568 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003043/0.2496, allocations: 2.068 MB / 0.5588 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00878/0.2584, allocations: 4.732 MB / 0.5634 GB, free: 9.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.2584, allocations: 7.875 kB / 0.5634 GB, free: 9.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.2584, allocations: 0 / 0.5634 GB, free: 9.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001374/0.2585, allocations: 0 / 0.5634 GB, free: 9.781 MB / 430.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.02376/0.2823, allocations: 6.084 MB / 0.5693 GB, free: 3.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.2823, allocations: 8.031 kB / 0.5693 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/0.2858, allocations: 0.5997 MB / 0.5699 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005475/0.2913, allocations: 2.208 MB / 0.5721 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.2914, allocations: 205.6 kB / 0.5723 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003795/0.2918, allocations: 272.4 kB / 0.5725 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005192/0.297, allocations: 3.176 MB / 0.5756 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/0.2971, allocations: 23.75 kB / 0.5757 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/0.2974, allocations: 124 kB / 0.5758 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.337e-05/0.2974, allocations: 68 kB / 0.5759 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00464/0.3021, allocations: 2.544 MB / 0.5783 GB, free: 9.852 MB / 446.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.3227/0.6248, allocations: 20.52 MB / 0.5984 GB, free: 62.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004665/0.6294, allocations: 2.2 MB / 0.6005 GB, free: 62.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.6309, allocations: 0.8305 MB / 0.6013 GB, free: 62.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.631, allocations: 49.5 kB / 0.6014 GB, free: 62.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.6311, allocations: 75.03 kB / 0.6015 GB, free: 62.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 5.259e-06/0.6311, allocations: 1.562 kB / 0.6015 GB, free: 62.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02117/0.6522, allocations: 5.959 MB / 0.6073 GB, free: 60.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.6523, allocations: 77.53 kB / 0.6074 GB, free: 60.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005278/0.6576, allocations: 2.952 MB / 0.6102 GB, free: 59.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003926/0.658, allocations: 81.81 kB / 0.6103 GB, free: 59.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.6592, allocations: 1.452 MB / 0.6117 GB, free: 58.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.6603, allocations: 1.052 MB / 0.6128 GB, free: 57.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/0.6621, allocations: 1.522 MB / 0.6142 GB, free: 57.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.035e-05/0.6622, allocations: 308 kB / 0.6145 GB, free: 56.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/0.6652, allocations: 2.077 MB / 0.6166 GB, free: 56.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003038/0.6682, allocations: 2.75 MB / 0.6193 GB, free: 54.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004899/0.6731, allocations: 3.992 MB / 0.6231 GB, free: 52.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/0.6732, allocations: 4 kB / 0.6232 GB, free: 52.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01033/0.6835, allocations: 6.976 MB / 0.63 GB, free: 47.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.6835, allocations: 8 kB / 0.63 GB, free: 47.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.6835, allocations: 6.812 kB / 0.63 GB, free: 47.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/0.6859, allocations: 0.9202 MB / 0.6309 GB, free: 46.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00614/0.692, allocations: 1.603 MB / 0.6324 GB, free: 45.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009127/0.7012, allocations: 6.983 MB / 0.6393 GB, free: 38.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007052/0.7082, allocations: 0.5534 MB / 0.6398 GB, free: 37.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005574/0.7088, allocations: 260 kB / 0.6401 GB, free: 37.35 MB / 446.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.001327/0.7101, allocations: 0.6746 MB / 0.6407 GB, free: 36.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006952/0.7108, allocations: 367.8 kB / 0.6411 GB, free: 36.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004738/0.7155, allocations: 2.646 MB / 0.6436 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.7156, allocations: 27.94 kB / 0.6437 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.7156, allocations: 0 / 0.6437 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.7156, allocations: 11.95 kB / 0.6437 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007912/0.7235, allocations: 5.516 MB / 0.6491 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.7235, allocations: 0 / 0.6491 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.7246, allocations: 315.5 kB / 0.6494 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002131/0.7268, allocations: 0.7442 MB / 0.6501 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.7269, allocations: 55.42 kB / 0.6502 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008114/0.735, allocations: 6.763 MB / 0.6568 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.735, allocations: 0 / 0.6568 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005125/0.7401, allocations: 2.754 MB / 0.6594 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/0.7418, allocations: 0.7259 MB / 0.6602 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/0.7422, allocations: 43.94 kB / 0.6602 GB, free: 16.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/0.7445, allocations: 99.89 kB / 0.6603 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.7448, allocations: 157.8 kB / 0.6604 GB, free: 16.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.7449, allocations: 83.97 kB / 0.6605 GB, free: 16.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002126/0.747, allocations: 1.766 MB / 0.6622 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.747, allocations: 0 / 0.6622 GB, free: 14.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003611/0.7506, allocations: 1.616 MB / 0.6638 GB, free: 12.79 MB / 446.1 MB 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.0004416/0.7511, allocations: 300.6 kB / 0.6641 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006618/0.7577, allocations: 4.458 MB / 0.6685 GB, free: 8.031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.7577, allocations: 0 / 0.6685 GB, free: 8.031 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002144/0.7598, allocations: 1.459 MB / 0.6699 GB, free: 6.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/0.7623, allocations: 271.1 kB / 0.6701 GB, free: 6.285 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006683/0.769, allocations: 4.633 MB / 0.6747 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.77, allocations: 1.73 MB / 0.6764 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002371/0.7724, allocations: 0.5543 MB / 0.6769 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000879/0.7733, allocations: 259.3 kB / 0.6772 GB, free: 15.06 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.7733, allocations: 0 / 0.6772 GB, free: 15.06 MB / 462.1 MB Notification: Performance of Templates: time 0.08821/0.8615, allocations: 46.37 MB / 0.7224 GB, free: 0.8359 MB / 494.1 MB " [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.833261227002367] Failed to read output from testmodel.py, exit status != 0: 0.8700040779658593 0.883238465 0.6216007139999999 Calling exit ...