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.00587/0.00587, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001222/0.001222, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1776/0.1776, allocations: 16.79 MB / 307.3 MB, free: 14.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 62.78 kB / 426.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1064, allocations: 53.58 MB / 480.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.008206/0.1147, allocations: 10.39 MB / 490.5 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005257/0.12, allocations: 3.51 MB / 494 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008738/0.1209, allocations: 19.94 kB / 494.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.1221, allocations: 421.4 kB / 494.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00388/0.126, allocations: 1.7 MB / 496.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.1273, allocations: 0.6602 MB / 496.8 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002523/0.1299, allocations: 2.037 MB / 498.9 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.1301, allocations: 134.8 kB / 499 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008206/0.131, allocations: 0.6964 MB / 499.7 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009133/0.1319, allocations: 0.7352 MB / 0.4887 GB, free: 8.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.132, allocations: 80 kB / 0.4888 GB, free: 8.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008612/0.1329, allocations: 403.7 kB / 0.4892 GB, free: 7.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.133, allocations: 214.9 kB / 0.4894 GB, free: 7.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005627/0.1336, allocations: 0.649 MB / 0.49 GB, free: 7.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.1355, allocations: 1.623 MB / 0.4916 GB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1355, allocations: 4 kB / 0.4916 GB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1355, allocations: 0 / 0.4916 GB, free: 5.402 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.1356, allocations: 0 / 0.4916 GB, free: 5.402 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.00622/0.1418, allocations: 2.161 MB / 0.4937 GB, free: 3.188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1418, allocations: 12.03 kB / 0.4937 GB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007228/0.1426, allocations: 180.1 kB / 0.4939 GB, free: 3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.1439, allocations: 0.8103 MB / 0.4947 GB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.144, allocations: 70.31 kB / 0.4948 GB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.541e-05/0.1441, allocations: 88.31 kB / 0.4948 GB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.1455, allocations: 1.022 MB / 0.4958 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.1456, allocations: 3.938 kB / 0.4958 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.592e-05/0.1456, allocations: 40 kB / 0.4959 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.1457, allocations: 24 kB / 0.4959 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.1469, allocations: 0.796 MB / 0.4967 GB, free: 15.97 MB / 382.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.006993/0.1539, allocations: 6.588 MB / 0.5031 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.1553, allocations: 0.7281 MB / 0.5038 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.1558, allocations: 290.8 kB / 0.5041 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/0.1558, allocations: 8.656 kB / 0.5041 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1558, allocations: 43.22 kB / 0.5041 GB, free: 7.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 3.076e-06/0.1559, allocations: 4 kB / 0.5041 GB, free: 7.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.00313/0.159, allocations: 1.241 MB / 0.5054 GB, free: 6.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.159, allocations: 56.06 kB / 0.5054 GB, free: 6.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.1602, allocations: 1.016 MB / 0.5064 GB, free: 5.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.1603, allocations: 41.7 kB / 0.5064 GB, free: 5.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.1607, allocations: 0.5159 MB / 0.507 GB, free: 5.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.1609, allocations: 321.5 kB / 0.5073 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008221/0.1618, allocations: 485.4 kB / 0.5077 GB, free: 4.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.162, allocations: 341.9 kB / 0.508 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.163, allocations: 0.6416 MB / 0.5087 GB, free: 3.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.1641, allocations: 0.8556 MB / 0.5095 GB, free: 2.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.1659, allocations: 1.228 MB / 0.5107 GB, free: 1.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.1659, allocations: 3.938 kB / 0.5107 GB, free: 1.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.00323/0.1691, allocations: 2.14 MB / 0.5128 GB, free: 14.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.1692, allocations: 8.031 kB / 0.5128 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.1692, allocations: 0 / 0.5128 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006308/0.1698, allocations: 171.3 kB / 0.513 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.1717, allocations: 0.5188 MB / 0.5135 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.1751, allocations: 2.616 MB / 0.516 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.1768, allocations: 179 kB / 0.5162 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.1769, allocations: 79.94 kB / 0.5163 GB, free: 11.2 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.0004353/0.1773, allocations: 293.3 kB / 0.5166 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.1775, allocations: 111.3 kB / 0.5167 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.179, allocations: 0.7821 MB / 0.5174 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.179, allocations: 11.98 kB / 0.5174 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.179, allocations: 0 / 0.5174 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.179, allocations: 7.922 kB / 0.5174 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.1813, allocations: 1.813 MB / 0.5192 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1813, allocations: 7.922 kB / 0.5192 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.1819, allocations: 115.9 kB / 0.5193 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005778/0.1824, allocations: 156.8 kB / 0.5195 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.1825, allocations: 16 kB / 0.5195 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/0.1851, allocations: 2.581 MB / 0.522 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1851, allocations: 0 / 0.522 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.1865, allocations: 0.8672 MB / 0.5229 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.1869, allocations: 276.2 kB / 0.5231 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.187, allocations: 19.98 kB / 0.5232 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/0.1877, allocations: 27.98 kB / 0.5232 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.1878, allocations: 48.59 kB / 0.5232 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.1878, allocations: 19.98 kB / 0.5232 GB, free: 3.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007682/0.1886, allocations: 0.6254 MB / 0.5239 GB, free: 3.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1886, allocations: 0 / 0.5239 GB, free: 3.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001135/0.1898, allocations: 0.5037 MB / 0.5243 GB, free: 2.641 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.0002837/0.1901, allocations: 178 kB / 0.5245 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002195/0.1923, allocations: 1.565 MB / 0.526 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1923, allocations: 0 / 0.526 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006576/0.1929, allocations: 478.5 kB / 0.5265 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.1936, allocations: 92.48 kB / 0.5266 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.1958, allocations: 1.531 MB / 0.5281 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.1962, allocations: 0.9969 MB / 0.5291 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005089/0.1968, allocations: 177.9 kB / 0.5292 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.197, allocations: 91.42 kB / 0.5293 GB, free: 13.46 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.197, allocations: 0 / 0.5293 GB, free: 13.46 MB / 414.1 MB Notification: Performance of Templates: time 0.02266/0.2196, allocations: 14.8 MB / 0.5438 GB, free: 14.67 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)