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.0007514/0.0007514, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007439/0.0007439, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8064/0.8064, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.04331/0.04331, allocations: 12.53 MB / 271.7 MB, free: 1.145 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 402.8 MB, free: 9.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.643e-05, allocations: 2.281 kB / 402.8 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.1356/0.1356, allocations: 24.79 MB / 427.6 MB, free: 8.449 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008636/0.1443, allocations: 7.718 MB / 435.3 MB, free: 3.074 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.146, allocations: 77.31 kB / 435.4 MB, free: 3.039 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.1476, allocations: 1.029 MB / 436.4 MB, free: 2.543 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005236/0.1528, allocations: 3.749 MB / 440.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.1548, allocations: 1.39 MB / 441.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006637/0.1614, allocations: 7.04 MB / 448.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/0.1619, allocations: 262.2 kB / 448.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003546/0.1654, allocations: 3.176 MB / 452 MB, free: 8.207 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.1671, allocations: 1.918 MB / 454 MB, free: 6.656 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.1674, allocations: 256 kB / 454.2 MB, free: 6.406 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.1687, allocations: 0.7493 MB / 455 MB, free: 5.656 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.169, allocations: 0.6723 MB / 455.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.17, allocations: 1.48 MB / 457.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003849/0.1739, allocations: 4.681 MB / 461.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1739, allocations: 0 / 461.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1739, allocations: 0 / 461.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.13e-05/0.1739, allocations: 0 / 461.8 MB, free: 14.8 MB / 362.7 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.01021/0.1841, allocations: 5.972 MB / 467.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1842, allocations: 12.03 kB / 467.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.1853, allocations: 0.5451 MB / 468.3 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.1878, allocations: 2.104 MB / 470.4 MB, free: 6.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.786e-05/0.1879, allocations: 206.4 kB / 470.6 MB, free: 5.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.1881, allocations: 272.4 kB / 470.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/0.1912, allocations: 3.704 MB / 474.6 MB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.1912, allocations: 27.75 kB / 474.6 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.1914, allocations: 120 kB / 474.7 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.1914, allocations: 68 kB / 474.8 MB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.1939, allocations: 2.509 MB / 477.3 MB, free: 14.54 MB / 378.7 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.01255/0.2065, allocations: 17.63 MB / 495 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.2088, allocations: 2.205 MB / 497.2 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/0.2097, allocations: 0.8305 MB / 498 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-05/0.2098, allocations: 41.97 kB / 498 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.2098, allocations: 64.56 kB / 498.1 MB, free: 9.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=252): time 5e-06/0.2098, allocations: 4 kB / 498.1 MB, free: 9.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.01155/0.2213, allocations: 5.78 MB / 0.4921 GB, free: 3.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.2214, allocations: 77.41 kB / 0.4921 GB, free: 3.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.2238, allocations: 2.733 MB / 0.4948 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.2239, allocations: 81.64 kB / 0.4949 GB, free: 448 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007526/0.2247, allocations: 1.494 MB / 0.4963 GB, free: 14.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009/0.2256, allocations: 1.027 MB / 0.4974 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.2268, allocations: 1.409 MB / 0.4987 GB, free: 12.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.2269, allocations: 313 kB / 0.499 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.2289, allocations: 2 MB / 0.501 GB, free: 10.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/0.2316, allocations: 2.646 MB / 0.5036 GB, free: 7.426 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/0.2353, allocations: 3.873 MB / 0.5073 GB, free: 3.422 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.2353, allocations: 4.812 kB / 0.5073 GB, free: 3.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.007281/0.2426, allocations: 6.719 MB / 0.5139 GB, free: 12.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.2426, allocations: 12 kB / 0.5139 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.2427, allocations: 4 kB / 0.5139 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.2441, allocations: 0.9221 MB / 0.5148 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.247, allocations: 1.525 MB / 0.5163 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00683/0.2539, allocations: 6.487 MB / 0.5227 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/0.2569, allocations: 0.4892 MB / 0.5231 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.2572, allocations: 252 kB / 0.5234 GB, free: 2.828 MB / 426.7 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.0009585/0.2582, allocations: 0.6682 MB / 0.524 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/0.2586, allocations: 342 kB / 0.5243 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/0.2619, allocations: 2.645 MB / 0.5269 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.2619, allocations: 27.94 kB / 0.527 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2619, allocations: 0 / 0.527 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.262, allocations: 19.89 kB / 0.527 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004788/0.2667, allocations: 4.5 MB / 0.5314 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.2667, allocations: 8.062 kB / 0.5314 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008869/0.2676, allocations: 315.5 kB / 0.5317 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.2689, allocations: 0.7346 MB / 0.5324 GB, free: 9.484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.558e-05/0.269, allocations: 47.98 kB / 0.5324 GB, free: 9.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006076/0.2751, allocations: 6.267 MB / 0.5386 GB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2751, allocations: 0 / 0.5386 GB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/0.2785, allocations: 2.725 MB / 0.5412 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.2796, allocations: 0.6145 MB / 0.5418 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.2798, allocations: 43.98 kB / 0.5419 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.281, allocations: 103.8 kB / 0.542 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.2811, allocations: 165.7 kB / 0.5421 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/0.2812, allocations: 79.97 kB / 0.5422 GB, free: 15.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001545/0.2828, allocations: 1.599 MB / 0.5438 GB, free: 13.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2828, allocations: 4 kB / 0.5438 GB, free: 13.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002313/0.2851, allocations: 1.609 MB / 0.5453 GB, free: 12.09 MB / 458.7 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.0003801/0.2855, allocations: 300 kB / 0.5456 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004407/0.2899, allocations: 4.261 MB / 0.5498 GB, free: 7.516 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2899, allocations: 8.25 kB / 0.5498 GB, free: 7.508 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.2913, allocations: 1.373 MB / 0.5511 GB, free: 6.113 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2923, allocations: 265.2 kB / 0.5514 GB, free: 5.859 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.2967, allocations: 4.596 MB / 0.5559 GB, free: 1.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/0.2975, allocations: 1.172 MB / 0.557 GB, free: 24 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001087/0.2986, allocations: 0.5413 MB / 0.5575 GB, free: 15.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.299, allocations: 240.5 kB / 0.5578 GB, free: 15.25 MB / 474.7 MB Notification: Performance of SimCode: time 5.51e-07/0.299, allocations: 0 / 0.5578 GB, free: 15.25 MB / 474.7 MB Notification: Performance of Templates: time 0.1659/0.4649, allocations: 43.18 MB / 0.5999 GB, free: 163.2 MB / 490.7 MB " [Timeout remaining time 660] 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: 4.0642614141106606] Failed to read output from testmodel.py, exit status != 0: 0.47096588741987944 0.47721353800000005 0.30202062 Calling exit ...