Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006344/0.006344, allocations: 97.75 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 186.4 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2066/0.2066, allocations: 16.67 MB / 307.2 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 64.91 kB / 426.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1176, allocations: 53.56 MB / 480 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.008509/0.1261, allocations: 10.4 MB / 490.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005721/0.1318, allocations: 3.51 MB / 493.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.133, allocations: 19.94 kB / 493.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.1344, allocations: 417.4 kB / 494.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.1392, allocations: 1.624 MB / 496 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.1407, allocations: 0.6637 MB / 496.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003025/0.1438, allocations: 2.03 MB / 498.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.1441, allocations: 146.8 kB / 498.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.1451, allocations: 0.6768 MB / 499.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009336/0.1461, allocations: 0.7391 MB / 0.4885 GB, free: 8.805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.1462, allocations: 80 kB / 0.4886 GB, free: 8.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.1473, allocations: 407.7 kB / 0.489 GB, free: 8.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.1475, allocations: 214.9 kB / 0.4892 GB, free: 8.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000689/0.1482, allocations: 0.6529 MB / 0.4898 GB, free: 7.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.1506, allocations: 1.615 MB / 0.4914 GB, free: 5.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1506, allocations: 0 / 0.4914 GB, free: 5.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1507, allocations: 0 / 0.4914 GB, free: 5.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.1507, allocations: 0 / 0.4914 GB, free: 5.84 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006843/0.1575, allocations: 2.169 MB / 0.4935 GB, free: 3.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1576, allocations: 8.031 kB / 0.4935 GB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007017/0.1583, allocations: 180.1 kB / 0.4937 GB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.1598, allocations: 0.8103 MB / 0.4945 GB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.1599, allocations: 70.31 kB / 0.4945 GB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.16, allocations: 88.31 kB / 0.4946 GB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.1615, allocations: 1.022 MB / 0.4956 GB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.1615, allocations: 7.938 kB / 0.4956 GB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.1616, allocations: 36 kB / 0.4957 GB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.1616, allocations: 24 kB / 0.4957 GB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.1629, allocations: 0.7921 MB / 0.4965 GB, free: 424 kB / 366.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.007539/0.1705, allocations: 6.588 MB / 0.5029 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.1719, allocations: 0.7286 MB / 0.5036 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/0.1724, allocations: 278.8 kB / 0.5039 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.513e-05/0.1724, allocations: 8.656 kB / 0.5039 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.1725, allocations: 47.2 kB / 0.5039 GB, free: 8.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.355e-06/0.1725, allocations: 4 kB / 0.5039 GB, free: 8.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003218/0.1757, allocations: 1.248 MB / 0.5051 GB, free: 7.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1758, allocations: 60.06 kB / 0.5052 GB, free: 7.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.1771, allocations: 1.012 MB / 0.5062 GB, free: 6.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.1771, allocations: 41.7 kB / 0.5062 GB, free: 5.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.1776, allocations: 0.5119 MB / 0.5067 GB, free: 5.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.1779, allocations: 317.5 kB / 0.507 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006382/0.1785, allocations: 485.4 kB / 0.5075 GB, free: 4.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1787, allocations: 345.9 kB / 0.5078 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.1797, allocations: 0.6455 MB / 0.5085 GB, free: 3.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.1809, allocations: 0.8517 MB / 0.5093 GB, free: 2.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.1826, allocations: 1.228 MB / 0.5105 GB, free: 1.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1827, allocations: 0 / 0.5105 GB, free: 1.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.003438/0.1861, allocations: 2.152 MB / 0.5126 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1861, allocations: 4 kB / 0.5126 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1862, allocations: 0 / 0.5126 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006371/0.1868, allocations: 171.9 kB / 0.5128 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.1886, allocations: 0.5227 MB / 0.5133 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04459/0.2332, allocations: 2.618 MB / 0.5158 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.2355, allocations: 166.9 kB / 0.516 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.2357, allocations: 87.92 kB / 0.5161 GB, free: 11.63 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 324 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005222/0.2362, allocations: 289.3 kB / 0.5163 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.2364, allocations: 115.3 kB / 0.5165 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.238, allocations: 0.7821 MB / 0.5172 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.238, allocations: 11.98 kB / 0.5172 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.238, allocations: 0 / 0.5172 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.238, allocations: 3.984 kB / 0.5172 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.2406, allocations: 1.813 MB / 0.519 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2406, allocations: 0 / 0.519 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.2411, allocations: 123.8 kB / 0.5191 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/0.2416, allocations: 163.5 kB / 0.5193 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.2417, allocations: 12 kB / 0.5193 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.2446, allocations: 2.572 MB / 0.5218 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2447, allocations: 0 / 0.5218 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.2462, allocations: 0.875 MB / 0.5227 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.2466, allocations: 276.2 kB / 0.5229 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.2467, allocations: 12 kB / 0.5229 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.2474, allocations: 35.98 kB / 0.523 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.2475, allocations: 44.59 kB / 0.523 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.2476, allocations: 19.98 kB / 0.523 GB, free: 4.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008624/0.2484, allocations: 0.6254 MB / 0.5236 GB, free: 3.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2484, allocations: 0 / 0.5236 GB, free: 3.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001248/0.2497, allocations: 0.4998 MB / 0.5241 GB, free: 3.082 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.25, allocations: 182.2 kB / 0.5243 GB, free: 2.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.2524, allocations: 1.565 MB / 0.5258 GB, free: 1.316 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2525, allocations: 0 / 0.5258 GB, free: 1.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007181/0.2532, allocations: 490.5 kB / 0.5263 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.2539, allocations: 92.64 kB / 0.5264 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.2562, allocations: 1.516 MB / 0.5279 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/0.2568, allocations: 0.9969 MB / 0.5288 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005575/0.2573, allocations: 181.9 kB / 0.529 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.2576, allocations: 83.44 kB / 0.5291 GB, free: 13.9 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2576, allocations: 0 / 0.5291 GB, free: 13.9 MB / 414.1 MB Notification: Performance of Templates: time 0.218/0.4755, allocations: 14.81 MB / 0.5436 GB, free: 15.11 MB / 430.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)