Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.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.OneSlackOnePVWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005426/0.005426, allocations: 99.56 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.001287/0.001287, allocations: 204.4 kB / 16.68 MB, free: 6.367 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.198/0.198, allocations: 16.69 MB / 307.2 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 62 kB / 426.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09565, allocations: 53.57 MB / 480 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.007344/0.103, allocations: 10.41 MB / 490.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005103/0.1082, allocations: 3.499 MB / 493.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.1092, allocations: 23.88 kB / 494 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.1104, allocations: 417.4 kB / 494.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003955/0.1144, allocations: 1.633 MB / 496 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.1159, allocations: 0.6642 MB / 496.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002773/0.1186, allocations: 2.034 MB / 498.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.119, allocations: 134.9 kB / 498.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.12, allocations: 0.6769 MB / 499.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000967/0.121, allocations: 0.743 MB / 0.4885 GB, free: 8.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.1211, allocations: 80 kB / 0.4886 GB, free: 8.664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009487/0.1221, allocations: 407.7 kB / 0.489 GB, free: 8.266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.1223, allocations: 211 kB / 0.4892 GB, free: 8.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006965/0.123, allocations: 0.6568 MB / 0.4898 GB, free: 7.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.1252, allocations: 1.619 MB / 0.4914 GB, free: 5.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1252, allocations: 4 kB / 0.4914 GB, free: 5.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1252, allocations: 0 / 0.4914 GB, free: 5.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.1253, allocations: 0 / 0.4914 GB, free: 5.77 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.006907/0.1322, allocations: 2.165 MB / 0.4935 GB, free: 3.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1322, allocations: 12.03 kB / 0.4935 GB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007746/0.133, allocations: 180.1 kB / 0.4937 GB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.1345, allocations: 0.8103 MB / 0.4945 GB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/0.1346, allocations: 66.38 kB / 0.4946 GB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.1347, allocations: 84.38 kB / 0.4946 GB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.1363, allocations: 1.022 MB / 0.4956 GB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.1363, allocations: 3.938 kB / 0.4956 GB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-05/0.1364, allocations: 39.94 kB / 0.4957 GB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.1364, allocations: 24 kB / 0.4957 GB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.1378, allocations: 0.7999 MB / 0.4965 GB, free: 352 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.008273/0.1461, allocations: 6.61 MB / 0.5029 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.1476, allocations: 0.7222 MB / 0.5037 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/0.1481, allocations: 282.7 kB / 0.5039 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.347e-05/0.1482, allocations: 16.72 kB / 0.5039 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.1482, allocations: 47.22 kB / 0.504 GB, free: 8.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.505e-06/0.1482, allocations: 0 / 0.504 GB, free: 8.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003846/0.1521, allocations: 1.295 MB / 0.5052 GB, free: 6.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1522, allocations: 60.06 kB / 0.5053 GB, free: 6.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.1537, allocations: 1.003 MB / 0.5063 GB, free: 5.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.026e-05/0.1538, allocations: 41.7 kB / 0.5063 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.1542, allocations: 0.5159 MB / 0.5068 GB, free: 5.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.1546, allocations: 329.5 kB / 0.5071 GB, free: 4.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006826/0.1553, allocations: 485.5 kB / 0.5076 GB, free: 4.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1554, allocations: 338 kB / 0.5079 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.1566, allocations: 0.6456 MB / 0.5086 GB, free: 3.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.1579, allocations: 0.8636 MB / 0.5094 GB, free: 2.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.1599, allocations: 1.228 MB / 0.5106 GB, free: 1.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.1599, allocations: 0 / 0.5106 GB, free: 1.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003988/0.1639, allocations: 2.152 MB / 0.5127 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.1639, allocations: 11.97 kB / 0.5127 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.164, allocations: 0 / 0.5127 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000722/0.1647, allocations: 179.2 kB / 0.5129 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.1667, allocations: 0.511 MB / 0.5134 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/0.1705, allocations: 2.711 MB / 0.516 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.1723, allocations: 174.8 kB / 0.5162 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.1725, allocations: 80 kB / 0.5163 GB, free: 11.37 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 (node1.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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005059/0.173, allocations: 293.3 kB / 0.5166 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.1733, allocations: 115.3 kB / 0.5167 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.1749, allocations: 0.7822 MB / 0.5174 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.1749, allocations: 8 kB / 0.5174 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1749, allocations: 0 / 0.5174 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.175, allocations: 3.984 kB / 0.5174 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.1778, allocations: 1.813 MB / 0.5192 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1778, allocations: 4 kB / 0.5192 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.1783, allocations: 111.8 kB / 0.5193 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006066/0.1789, allocations: 164.8 kB / 0.5195 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.179, allocations: 12 kB / 0.5195 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003462/0.1824, allocations: 2.653 MB / 0.5221 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1824, allocations: 3.938 kB / 0.5221 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.1843, allocations: 0.875 MB / 0.5229 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005642/0.1848, allocations: 280.2 kB / 0.5232 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.185, allocations: 8 kB / 0.5232 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/0.1858, allocations: 31.98 kB / 0.5232 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1859, allocations: 52.47 kB / 0.5233 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.1859, allocations: 27.98 kB / 0.5233 GB, free: 3.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009376/0.1869, allocations: 0.6174 MB / 0.5239 GB, free: 3.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1869, allocations: 0 / 0.5239 GB, free: 3.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00136/0.1882, allocations: 0.5037 MB / 0.5244 GB, free: 2.738 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 (60): * Single equations (assignments): 59 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003377/0.1886, allocations: 174.2 kB / 0.5246 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002767/0.1914, allocations: 1.581 MB / 0.5261 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1914, allocations: 0 / 0.5261 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007877/0.1922, allocations: 486.4 kB / 0.5266 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.193, allocations: 94.94 kB / 0.5267 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.1956, allocations: 1.53 MB / 0.5282 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/0.1964, allocations: 1.001 MB / 0.5292 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006172/0.197, allocations: 177.9 kB / 0.5293 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.1972, allocations: 83.44 kB / 0.5294 GB, free: 13.54 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1972, allocations: 0 / 0.5294 GB, free: 13.54 MB / 414.1 MB Notification: Performance of Templates: time 0.02772/0.225, allocations: 15.02 MB / 0.5441 GB, free: 14.53 MB / 430.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)