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.001761/0.001761, allocations: 106 kB / 15.99 MB, free: 6.355 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.001469/0.00147, allocations: 194.8 kB / 16.91 MB, free: 6.195 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.977/1.977, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08704/0.08704, allocations: 16.69 MB / 307.4 MB, free: 14.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002453, allocations: 64.19 kB / 371.8 MB, free: 48.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1514, allocations: 53.56 MB / 425.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.005085/0.1566, allocations: 5.053 MB / 430.4 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.1597, allocations: 2.343 MB / 432.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.16, allocations: 15.88 kB / 432.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.1607, allocations: 207.1 kB / 433 MB, free: 5.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.1628, allocations: 1.074 MB / 434 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.1634, allocations: 337.1 kB / 434.4 MB, free: 4.27 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.001001/0.1644, allocations: 0.9724 MB / 435.3 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.1646, allocations: 77.73 kB / 435.4 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.1649, allocations: 338.4 kB / 435.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.1652, allocations: 362.3 kB / 436.1 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.1653, allocations: 36 kB / 436.1 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.1657, allocations: 275.7 kB / 436.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.1658, allocations: 103.4 kB / 436.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.1661, allocations: 342.1 kB / 436.8 MB, free: 1.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.1667, allocations: 0.6512 MB / 437.5 MB, free: 1.133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1667, allocations: 0 / 437.5 MB, free: 1.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1667, allocations: 0 / 437.5 MB, free: 1.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1667, allocations: 0 / 437.5 MB, free: 1.133 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.003725/0.1704, allocations: 1.329 MB / 438.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.1705, allocations: 12.03 kB / 438.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.1708, allocations: 92.06 kB / 438.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007485/0.1716, allocations: 486.5 kB / 439.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.1717, allocations: 37.38 kB / 439.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.1718, allocations: 44.38 kB / 439.5 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008613/0.1726, allocations: 0.5175 MB / 440 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1726, allocations: 7.938 kB / 440 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.1727, allocations: 16 kB / 440 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1727, allocations: 12 kB / 440 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005713/0.1733, allocations: 350.1 kB / 440.4 MB, free: 14.09 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.003369/0.1767, allocations: 3.361 MB / 443.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/0.1773, allocations: 284.2 kB / 444 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.1774, allocations: 96.77 kB / 444.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.1775, allocations: 8 kB / 444.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1775, allocations: 34.56 kB / 444.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 3.537e-06/0.1775, allocations: 7.922 kB / 444.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001038/0.1786, allocations: 472.2 kB / 444.6 MB, free: 9.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.1786, allocations: 59.34 kB / 444.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/0.1793, allocations: 0.5729 MB / 445.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.1794, allocations: 33.7 kB / 445.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.1797, allocations: 323.9 kB / 445.6 MB, free: 8.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.1798, allocations: 122.5 kB / 445.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/0.1802, allocations: 238.7 kB / 445.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.1804, allocations: 378.8 kB / 446.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.1809, allocations: 302.5 kB / 446.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.1815, allocations: 414.5 kB / 447 MB, free: 7.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008769/0.1823, allocations: 0.5923 MB / 447.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1824, allocations: 3.938 kB / 447.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001639/0.184, allocations: 0.9852 MB / 448.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.184, allocations: 8 kB / 448.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.1841, allocations: 3.984 kB / 448.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.1843, allocations: 36.84 kB / 448.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009585/0.1853, allocations: 267.8 kB / 448.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.1853, allocations: 4 kB / 448.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.186, allocations: 87.12 kB / 449 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.1861, allocations: 35.98 kB / 449 MB, free: 5.094 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.0002904/0.1863, allocations: 197.6 kB / 449.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.1865, allocations: 63.19 kB / 449.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006541/0.1871, allocations: 329.2 kB / 449.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1871, allocations: 4 kB / 449.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.1872, allocations: 3.984 kB / 449.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1872, allocations: 0 / 449.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.1884, allocations: 0.9163 MB / 450.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1884, allocations: 8.094 kB / 450.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.1886, allocations: 47.98 kB / 450.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001511/0.1888, allocations: 36.77 kB / 450.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.1888, allocations: 8 kB / 450.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1888, allocations: 7.938 kB / 450.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1889, allocations: 0 / 450.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006219/0.1895, allocations: 420.7 kB / 451.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.1897, allocations: 172.3 kB / 451.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.1898, allocations: 7.938 kB / 451.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.1902, allocations: 23.98 kB / 451.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1902, allocations: 27.91 kB / 451.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.1902, allocations: 8 kB / 451.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004647/0.1907, allocations: 378.8 kB / 451.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1907, allocations: 0 / 451.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006917/0.1914, allocations: 231.8 kB / 451.9 MB, free: 2.094 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.0002966/0.1917, allocations: 147.1 kB / 452 MB, free: 1.941 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.193, allocations: 0.7161 MB / 452.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.193, allocations: 0 / 452.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.1932, allocations: 197.8 kB / 452.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.1939, allocations: 58.67 kB / 453 MB, free: 0.9336 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.002027/0.196, allocations: 1.04 MB / 454 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/0.1967, allocations: 0.8513 MB / 454.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.1969, allocations: 51.42 kB / 454.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1969, allocations: 0 / 454.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Templates: time 0.01741/0.2143, allocations: 10.02 MB / 465 MB, free: 4.887 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)