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.00578/0.00578, allocations: 99.53 kB / 15.73 MB, free: 6.496 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.001251/0.001251, allocations: 196 kB / 16.68 MB, free: 6.375 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.178/0.178, allocations: 16.67 MB / 307.2 MB, free: 14.81 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.53 kB / 426.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09878/0.1007, allocations: 53.56 MB / 480 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.007666/0.1085, allocations: 10.4 MB / 490.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005409/0.1139, allocations: 3.507 MB / 493.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.1152, allocations: 19.88 kB / 493.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.1166, allocations: 417.4 kB / 494.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.121, allocations: 1.631 MB / 496 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.1226, allocations: 0.657 MB / 496.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.1256, allocations: 2.042 MB / 498.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.1259, allocations: 134.9 kB / 498.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.127, allocations: 0.673 MB / 499.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009227/0.1279, allocations: 0.7469 MB / 0.4885 GB, free: 8.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.128, allocations: 76 kB / 0.4886 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009829/0.129, allocations: 403.7 kB / 0.489 GB, free: 8.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.1292, allocations: 218.9 kB / 0.4892 GB, free: 8.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006735/0.1299, allocations: 0.649 MB / 0.4898 GB, free: 7.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.1321, allocations: 1.627 MB / 0.4914 GB, free: 5.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1321, allocations: 0 / 0.4914 GB, free: 5.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1321, allocations: 0 / 0.4914 GB, free: 5.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.1322, allocations: 0 / 0.4914 GB, free: 5.742 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.006736/0.1389, allocations: 2.158 MB / 0.4935 GB, free: 3.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.139, allocations: 12.03 kB / 0.4935 GB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007154/0.1397, allocations: 184 kB / 0.4937 GB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.1412, allocations: 0.8142 MB / 0.4945 GB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.1412, allocations: 70.38 kB / 0.4946 GB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.1414, allocations: 84.38 kB / 0.4946 GB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.1429, allocations: 1.018 MB / 0.4956 GB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.143, allocations: 7.938 kB / 0.4956 GB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.488e-05/0.143, allocations: 40 kB / 0.4957 GB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.1431, allocations: 23.98 kB / 0.4957 GB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.1444, allocations: 0.7998 MB / 0.4965 GB, free: 320 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.008246/0.1527, allocations: 6.576 MB / 0.5029 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.1543, allocations: 0.7321 MB / 0.5036 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/0.1548, allocations: 286.7 kB / 0.5039 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.318e-05/0.1548, allocations: 12.72 kB / 0.5039 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.1549, allocations: 43.2 kB / 0.5039 GB, free: 8.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.786e-06/0.1549, allocations: 4 kB / 0.5039 GB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003479/0.1584, allocations: 1.241 MB / 0.5052 GB, free: 7.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.1584, allocations: 60.06 kB / 0.5052 GB, free: 6.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.1599, allocations: 1.008 MB / 0.5062 GB, free: 5.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/0.16, allocations: 41.7 kB / 0.5062 GB, free: 5.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/0.1604, allocations: 0.512 MB / 0.5067 GB, free: 5.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.1607, allocations: 325.5 kB / 0.507 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006676/0.1614, allocations: 489.4 kB / 0.5075 GB, free: 4.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1616, allocations: 337.9 kB / 0.5078 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.1627, allocations: 0.6455 MB / 0.5085 GB, free: 3.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.164, allocations: 0.8517 MB / 0.5093 GB, free: 2.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.166, allocations: 1.228 MB / 0.5105 GB, free: 1.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.166, allocations: 0 / 0.5105 GB, free: 1.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.003727/0.1697, allocations: 2.144 MB / 0.5126 GB, free: 15.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1697, allocations: 8 kB / 0.5126 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1698, allocations: 0 / 0.5126 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/0.1705, allocations: 172.9 kB / 0.5128 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.1725, allocations: 0.515 MB / 0.5133 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/0.1764, allocations: 2.627 MB / 0.5158 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.1782, allocations: 174.8 kB / 0.516 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.1784, allocations: 79.98 kB / 0.5161 GB, free: 11.54 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.0005127/0.1789, allocations: 301.3 kB / 0.5164 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.1792, allocations: 115.3 kB / 0.5165 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.1808, allocations: 0.7744 MB / 0.5172 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.1808, allocations: 4 kB / 0.5172 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1809, allocations: 7.938 kB / 0.5172 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.1809, allocations: 3.984 kB / 0.5172 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.1837, allocations: 1.813 MB / 0.519 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1837, allocations: 0 / 0.519 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.1843, allocations: 123.8 kB / 0.5191 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005749/0.1849, allocations: 155.8 kB / 0.5193 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.1849, allocations: 12 kB / 0.5193 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/0.1885, allocations: 2.573 MB / 0.5218 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1885, allocations: 8 kB / 0.5218 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.1905, allocations: 0.8671 MB / 0.5227 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005236/0.191, allocations: 280.2 kB / 0.5229 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.1911, allocations: 16 kB / 0.5229 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008084/0.192, allocations: 31.98 kB / 0.523 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.1921, allocations: 40.59 kB / 0.523 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.1921, allocations: 27.98 kB / 0.523 GB, free: 4.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009729/0.1931, allocations: 0.6254 MB / 0.5236 GB, free: 3.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1931, allocations: 0 / 0.5236 GB, free: 3.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001474/0.1946, allocations: 0.4959 MB / 0.5241 GB, free: 2.988 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.0004367/0.195, allocations: 183 kB / 0.5243 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.1979, allocations: 1.561 MB / 0.5258 GB, free: 1.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.1979, allocations: 384 / 0.5258 GB, free: 1.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007726/0.1987, allocations: 486.2 kB / 0.5263 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.1994, allocations: 90.27 kB / 0.5264 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.2021, allocations: 1.528 MB / 0.5279 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/0.2028, allocations: 1.001 MB / 0.5289 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006243/0.2034, allocations: 181.9 kB / 0.529 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.2037, allocations: 79.44 kB / 0.5291 GB, free: 13.8 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2037, allocations: 0 / 0.5291 GB, free: 13.8 MB / 414.1 MB Notification: Performance of Templates: time 0.02678/0.2305, allocations: 14.81 MB / 0.5436 GB, free: 15 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)