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.001659/0.001659, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002098/0.002098, allocations: 220 kB / 23.03 MB, free: 4.922 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.48/1.48, 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.08064/0.08064, allocations: 16.96 MB / 330.2 MB, free: 2.371 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.002014/0.002014, allocations: 71.89 kB / 461.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1385, allocations: 57.73 MB / 0.5068 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.2764/0.415, allocations: 24.76 MB / 0.531 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.431, allocations: 7.678 MB / 0.5385 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005885/0.4369, allocations: 79.62 kB / 0.5385 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004865/0.4418, allocations: 1.027 MB / 0.5396 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01434/0.4561, allocations: 3.669 MB / 0.5431 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004792/0.4609, allocations: 1.384 MB / 0.5445 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.4732, allocations: 6.488 MB / 0.5508 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.4744, allocations: 263.1 kB / 0.5511 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005918/0.4803, allocations: 2.233 MB / 0.5533 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006546/0.4869, allocations: 2.371 MB / 0.5556 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001702/0.4886, allocations: 255.5 kB / 0.5558 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004993/0.4936, allocations: 0.7596 MB / 0.5566 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.4948, allocations: 0.6684 MB / 0.5572 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005868/0.5007, allocations: 1.718 MB / 0.5589 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.5114, allocations: 4.763 MB / 0.5635 GB, free: 13.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5114, allocations: 0 / 0.5635 GB, free: 13.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.5114, allocations: 1.25 kB / 0.5635 GB, free: 13.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001631/0.5116, allocations: 0 / 0.5635 GB, free: 13.83 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.02394/0.5355, allocations: 6.018 MB / 0.5694 GB, free: 9.879 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.5355, allocations: 8.031 kB / 0.5694 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/0.5393, allocations: 0.5998 MB / 0.57 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006085/0.5454, allocations: 2.104 MB / 0.5721 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.5456, allocations: 217.5 kB / 0.5723 GB, free: 6.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.5461, allocations: 268.4 kB / 0.5725 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00589/0.5519, allocations: 3.713 MB / 0.5762 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.235e-05/0.552, allocations: 19.81 kB / 0.5762 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/0.5523, allocations: 120 kB / 0.5763 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.55e-05/0.5524, allocations: 79.88 kB / 0.5764 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004598/0.557, allocations: 2.538 MB / 0.5788 GB, free: 15.55 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.02794/0.585, allocations: 17.7 MB / 0.5961 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004716/0.5897, allocations: 2.179 MB / 0.5983 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.5912, allocations: 0.835 MB / 0.5991 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.5914, allocations: 37.98 kB / 0.5991 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.826e-05/0.5915, allocations: 76.48 kB / 0.5992 GB, free: 10.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 5.83e-06/0.5915, allocations: 0 / 0.5992 GB, free: 10.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02173/0.6132, allocations: 5.773 MB / 0.6048 GB, free: 4.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.6133, allocations: 81.34 kB / 0.6049 GB, free: 4.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004984/0.6182, allocations: 2.663 MB / 0.6075 GB, free: 1.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004517/0.6187, allocations: 77.7 kB / 0.6076 GB, free: 1.488 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001569/0.6203, allocations: 1.502 MB / 0.609 GB, free: 15.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001555/0.6218, allocations: 1.043 MB / 0.6101 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002519/0.6243, allocations: 1.425 MB / 0.6114 GB, free: 13.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6245, allocations: 305.1 kB / 0.6117 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/0.6281, allocations: 2.003 MB / 0.6137 GB, free: 11.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00486/0.6329, allocations: 2.65 MB / 0.6163 GB, free: 8.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00753/0.6405, allocations: 3.869 MB / 0.6201 GB, free: 4.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.514e-05/0.6405, allocations: 0 / 0.6201 GB, free: 4.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.01534/0.6558, allocations: 6.723 MB / 0.6266 GB, free: 13.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.6559, allocations: 8 kB / 0.6266 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.6559, allocations: 4 kB / 0.6266 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/0.6587, allocations: 0.9222 MB / 0.6275 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006374/0.6651, allocations: 1.525 MB / 0.629 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.6769, allocations: 6.494 MB / 0.6354 GB, free: 4.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006721/0.6836, allocations: 0.4931 MB / 0.6358 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006449/0.6842, allocations: 252 kB / 0.6361 GB, free: 3.84 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.001499/0.6857, allocations: 0.6662 MB / 0.6367 GB, free: 3.164 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007624/0.6865, allocations: 330 kB / 0.6371 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005545/0.692, allocations: 2.653 MB / 0.6396 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.6921, allocations: 24 kB / 0.6397 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.6921, allocations: 3.984 kB / 0.6397 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/0.6921, allocations: 11.95 kB / 0.6397 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009175/0.7013, allocations: 4.512 MB / 0.6441 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/0.7013, allocations: 4 kB / 0.6441 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.7026, allocations: 307.6 kB / 0.6444 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002614/0.7052, allocations: 0.7424 MB / 0.6451 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.7054, allocations: 47.94 kB / 0.6452 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/0.7165, allocations: 6.266 MB / 0.6513 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7165, allocations: 4 kB / 0.6513 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006787/0.7233, allocations: 2.728 MB / 0.6539 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002879/0.7261, allocations: 0.6184 MB / 0.6545 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000884/0.727, allocations: 44 kB / 0.6546 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/0.7296, allocations: 99.94 kB / 0.6547 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.73, allocations: 169.6 kB / 0.6548 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/0.7302, allocations: 75.97 kB / 0.6549 GB, free: 328 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002818/0.733, allocations: 1.607 MB / 0.6565 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.733, allocations: 0 / 0.6565 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006202/0.7392, allocations: 1.616 MB / 0.6581 GB, free: 13.09 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.0007141/0.7399, allocations: 303.3 kB / 0.6584 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009353/0.7493, allocations: 4.257 MB / 0.6625 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.7493, allocations: 4 kB / 0.6625 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002916/0.7522, allocations: 1.381 MB / 0.6639 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.7553, allocations: 246.1 kB / 0.6641 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008849/0.7642, allocations: 4.646 MB / 0.6686 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.7657, allocations: 1.183 MB / 0.6698 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002426/0.7681, allocations: 0.5296 MB / 0.6703 GB, free: 456 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008326/0.7689, allocations: 239.4 kB / 0.6705 GB, free: 216 kB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.7689, allocations: 0 / 0.6705 GB, free: 216 kB / 0.4981 GB Notification: Performance of Templates: time 0.09122/0.8601, allocations: 47.46 MB / 0.7169 GB, free: 1.043 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 7.570409909938462] Failed to read output from testmodel.py, exit status != 0: 0.8709851630264893 0.891165108 0.373895297 Calling exit ...