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.00119/0.00119, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001205/0.001205, allocations: 191.8 kB / 17.31 MB, free: 5.613 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0741/0.0741, allocations: 16.75 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 61.98 kB / 373.1 MB, free: 48.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1039, allocations: 53.58 MB / 426.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.007509/0.1114, allocations: 10.29 MB / 437 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005395/0.1169, allocations: 3.476 MB / 440.5 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.1179, allocations: 15.94 kB / 440.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.1192, allocations: 409.5 kB / 440.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004092/0.1233, allocations: 1.628 MB / 442.5 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1245, allocations: 0.5925 MB / 443.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002901/0.1274, allocations: 1.959 MB / 445.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.1277, allocations: 134.7 kB / 445.2 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009293/0.1287, allocations: 0.6458 MB / 445.9 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007585/0.1294, allocations: 0.6924 MB / 446.5 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.1296, allocations: 72 kB / 446.6 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009649/0.1305, allocations: 399.7 kB / 447 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.1307, allocations: 195 kB / 447.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005928/0.1313, allocations: 0.6219 MB / 447.8 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.1332, allocations: 1.538 MB / 449.4 MB, free: 5.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1332, allocations: 4 kB / 449.4 MB, free: 5.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1333, allocations: 0 / 449.4 MB, free: 5.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.1333, allocations: 0 / 449.4 MB, free: 5.23 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004906/0.1382, allocations: 1.773 MB / 451.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.1383, allocations: 12.03 kB / 451.1 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006391/0.1389, allocations: 167.5 kB / 451.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.1402, allocations: 0.7861 MB / 452.1 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.1403, allocations: 62.38 kB / 452.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-05/0.1404, allocations: 84.38 kB / 452.2 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.1416, allocations: 0.9501 MB / 453.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.1416, allocations: 7.938 kB / 453.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/0.1417, allocations: 36 kB / 453.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.1417, allocations: 23.98 kB / 453.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.1427, allocations: 0.719 MB / 454 MB, free: 404 kB / 318.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.006662/0.1494, allocations: 6.467 MB / 460.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.1506, allocations: 0.8153 MB / 461.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.151, allocations: 246.4 kB / 461.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/0.151, allocations: 8.562 kB / 461.5 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1511, allocations: 51 kB / 461.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 3.046e-06/0.1511, allocations: 0 / 461.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.002187/0.1533, allocations: 0.9797 MB / 462.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1533, allocations: 59.97 kB / 462.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.1544, allocations: 0.9345 MB / 463.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.1545, allocations: 41.7 kB / 463.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.1549, allocations: 0.5177 MB / 464.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.1551, allocations: 260.7 kB / 464.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000569/0.1557, allocations: 444.4 kB / 464.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1559, allocations: 337.9 kB / 465.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009568/0.1568, allocations: 0.567 MB / 465.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.1581, allocations: 0.755 MB / 466.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.1602, allocations: 1.067 MB / 467.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.1602, allocations: 4 kB / 467.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004895/0.1652, allocations: 1.896 MB / 469.4 MB, free: 336 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.1652, allocations: 4 kB / 469.4 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.1653, allocations: 4 kB / 469.4 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008504/0.1661, allocations: 144.7 kB / 469.5 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/0.1689, allocations: 479.4 kB / 470 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/0.1737, allocations: 2.356 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/0.1776, allocations: 146.6 kB / 472.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004523/0.1781, allocations: 75.98 kB / 472.6 MB, free: 12.99 MB / 350.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 (297): * Single equations (assignments): 296 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001307/0.1794, allocations: 282.3 kB / 472.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005037/0.1799, allocations: 102.8 kB / 473 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.182, allocations: 0.642 MB / 473.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.1821, allocations: 11.94 kB / 473.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1821, allocations: 0 / 473.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.1821, allocations: 0 / 473.6 MB, free: 11.94 MB / 350.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 postOpt removeSimpleEquations (simulation): time 0.004236/0.1863, allocations: 1.897 MB / 475.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.1864, allocations: 3.984 kB / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.187, allocations: 99.84 kB / 475.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000719/0.1877, allocations: 132.9 kB / 475.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.1878, allocations: 15.94 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004115/0.1919, allocations: 2.325 MB / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1919, allocations: 0 / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.1943, allocations: 0.7673 MB / 478.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008315/0.1951, allocations: 255.8 kB / 479.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.1953, allocations: 12 kB / 479.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.1966, allocations: 27.98 kB / 479.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.1968, allocations: 48.44 kB / 479.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.251e-05/0.1969, allocations: 20 kB / 479.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.1983, allocations: 0.5927 MB / 479.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-07/0.1983, allocations: 0 / 479.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002134/0.2005, allocations: 471.7 kB / 480.3 MB, free: 4.996 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (53): * Single equations (assignments): 52 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004464/0.201, allocations: 175.1 kB / 480.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003877/0.2048, allocations: 1.379 MB / 481.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.2049, allocations: 384 / 481.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.2059, allocations: 417.7 kB / 482.2 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.2073, allocations: 84.23 kB / 482.3 MB, free: 2.922 MB / 350.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.2111, allocations: 1.4 MB / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/0.212, allocations: 0.9841 MB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.2131, allocations: 169.2 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/0.2134, allocations: 79.42 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of SimCode: time 1.302e-06/0.2135, allocations: 3.938 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of Templates: time 0.04454/0.258, allocations: 13.37 MB / 498.3 MB, free: 2.852 MB / 366.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=480 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)