Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.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.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002342/0.002341, allocations: 104.9 kB / 15.99 MB, free: 6.348 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.003039/0.003039, allocations: 199 kB / 16.91 MB, free: 6.188 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.93/1.93, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07888/0.07888, allocations: 16.77 MB / 307.5 MB, free: 14.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.41 kB / 371.9 MB, free: 48.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1406, allocations: 53.56 MB / 425.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.005031/0.1457, allocations: 5.058 MB / 430.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.149, allocations: 2.342 MB / 432.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.1494, allocations: 15.88 kB / 432.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.1501, allocations: 211 kB / 433.1 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.1522, allocations: 1.062 MB / 434.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.1528, allocations: 348.8 kB / 434.5 MB, free: 4.004 MB / 302.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘slack.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.0009377/0.1538, allocations: 0.9725 MB / 435.5 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.1539, allocations: 69.75 kB / 435.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.1542, allocations: 338.4 kB / 435.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.1545, allocations: 362.3 kB / 436.2 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.1546, allocations: 32 kB / 436.2 MB, free: 2.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.1551, allocations: 271.8 kB / 436.5 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.107e-05/0.1552, allocations: 111.4 kB / 436.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.1554, allocations: 334.2 kB / 436.9 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005929/0.156, allocations: 0.6511 MB / 437.6 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.156, allocations: 4 kB / 437.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.156, allocations: 0 / 437.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.156, allocations: 0 / 437.6 MB, free: 0.8789 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003738/0.1598, allocations: 1.337 MB / 438.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1598, allocations: 8.031 kB / 438.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.1602, allocations: 100 kB / 439 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.1609, allocations: 490.5 kB / 439.5 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.1609, allocations: 29.38 kB / 439.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.161, allocations: 48.38 kB / 439.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.1617, allocations: 0.5115 MB / 440.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1618, allocations: 7.922 kB / 440.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.1618, allocations: 20 kB / 440.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.1618, allocations: 12 kB / 440.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.1623, allocations: 358.1 kB / 440.5 MB, free: 13.82 MB / 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.002887/0.1652, allocations: 3.354 MB / 443.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.1658, allocations: 284.1 kB / 444.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.166, allocations: 92.84 kB / 444.2 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.166, allocations: 3.938 kB / 444.2 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.166, allocations: 42.56 kB / 444.3 MB, free: 9.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.1661, allocations: 0 / 444.3 MB, free: 9.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009957/0.1671, allocations: 480.2 kB / 444.7 MB, free: 9.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1671, allocations: 55.41 kB / 444.8 MB, free: 9.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.1677, allocations: 0.569 MB / 445.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.1678, allocations: 37.64 kB / 445.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.168, allocations: 323.9 kB / 445.7 MB, free: 8.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1681, allocations: 118.5 kB / 445.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.1685, allocations: 238.7 kB / 446.1 MB, free: 7.973 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1686, allocations: 382.7 kB / 446.4 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.1691, allocations: 306.5 kB / 446.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.1696, allocations: 414.5 kB / 447.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007934/0.1704, allocations: 0.5962 MB / 447.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1704, allocations: 0 / 447.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001529/0.1719, allocations: 0.9852 MB / 448.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.172, allocations: 8 kB / 448.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.172, allocations: 0 / 448.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/0.1722, allocations: 40.83 kB / 448.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009158/0.1732, allocations: 251.8 kB / 449 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.1732, allocations: 12 kB / 449 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.1738, allocations: 87.11 kB / 449.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/0.1739, allocations: 40 kB / 449.1 MB, free: 4.832 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (159): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002636/0.1742, allocations: 201.6 kB / 449.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.1743, allocations: 63.19 kB / 449.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006014/0.1749, allocations: 329.2 kB / 449.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1749, allocations: 0 / 449.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.1749, allocations: 7.984 kB / 449.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1749, allocations: 3.984 kB / 449.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.176, allocations: 0.9085 MB / 450.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1761, allocations: 96 / 450.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.1763, allocations: 51.97 kB / 450.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/0.1765, allocations: 40.77 kB / 450.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.1765, allocations: 12 kB / 450.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/0.1765, allocations: 3.938 kB / 450.8 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1765, allocations: 4 kB / 450.8 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.1771, allocations: 420.7 kB / 451.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.1773, allocations: 176.3 kB / 451.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/0.1774, allocations: 4 kB / 451.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.1778, allocations: 27.92 kB / 451.4 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.1779, allocations: 23.84 kB / 451.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.1779, allocations: 12 kB / 451.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004514/0.1783, allocations: 374.8 kB / 451.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1784, allocations: 0 / 451.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007137/0.1791, allocations: 227.9 kB / 452 MB, free: 1.832 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000333/0.1794, allocations: 155 kB / 452.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.1806, allocations: 0.7083 MB / 452.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.1806, allocations: 4 kB / 452.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.1809, allocations: 197.8 kB / 453.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.1815, allocations: 64.14 kB / 453.1 MB, free: 0.668 MB / 318.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.001606/0.1831, allocations: 1.036 MB / 454.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.1836, allocations: 0.8514 MB / 455 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.1838, allocations: 47.44 kB / 455 MB, free: 14.65 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1838, allocations: 0 / 455 MB, free: 14.65 MB / 334.1 MB Notification: Performance of Templates: time 0.01367/0.1974, allocations: 10.03 MB / 465.1 MB, free: 4.617 MB / 334.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1)