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.001487/0.001487, allocations: 106 kB / 16.27 MB, free: 6.41 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.001636/0.001636, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.478/1.478, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08316/0.08316, allocations: 16.72 MB / 307.8 MB, free: 14.56 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 65 kB / 372.3 MB, free: 48.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1324, allocations: 53.57 MB / 425.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.004693/0.1371, allocations: 4.548 MB / 430.5 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.1404, allocations: 2.357 MB / 432.8 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004217/0.1409, allocations: 15.88 kB / 432.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.1415, allocations: 238.6 kB / 433.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.1438, allocations: 1.154 MB / 434.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.1445, allocations: 352 kB / 434.6 MB, free: 4.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.1456, allocations: 1.035 MB / 435.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.1457, allocations: 73.75 kB / 435.7 MB, free: 3.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.1461, allocations: 362.5 kB / 436 MB, free: 2.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.1464, allocations: 370.3 kB / 436.4 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.447e-05/0.1465, allocations: 40 kB / 436.4 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/0.147, allocations: 247.8 kB / 436.7 MB, free: 2.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.1471, allocations: 119.4 kB / 436.8 MB, free: 1.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.1474, allocations: 342.1 kB / 437.1 MB, free: 1.562 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007595/0.1481, allocations: 0.8502 MB / 438 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1482, allocations: 4 kB / 438 MB, free: 0.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1482, allocations: 0 / 438 MB, free: 0.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.1482, allocations: 0 / 438 MB, free: 0.707 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.003128/0.1513, allocations: 1.212 MB / 439.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1514, allocations: 8.031 kB / 439.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.1517, allocations: 96.06 kB / 439.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008392/0.1526, allocations: 0.4985 MB / 439.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.1526, allocations: 33.31 kB / 439.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.1527, allocations: 40.38 kB / 439.8 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000822/0.1535, allocations: 0.5154 MB / 440.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1536, allocations: 7.938 kB / 440.4 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.1536, allocations: 20 kB / 440.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.1536, allocations: 12 kB / 440.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.1542, allocations: 350.1 kB / 440.7 MB, free: 13.76 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.004209/0.1584, allocations: 3.408 MB / 444.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.1591, allocations: 296.1 kB / 444.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.1593, allocations: 92.83 kB / 444.5 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.1593, allocations: 7.984 kB / 444.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.1594, allocations: 42.5 kB / 444.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.935e-06/0.1594, allocations: 0 / 444.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.00111/0.1605, allocations: 471.2 kB / 445 MB, free: 9.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.1606, allocations: 55.41 kB / 445.1 MB, free: 9.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007645/0.1614, allocations: 0.612 MB / 445.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.1614, allocations: 33.7 kB / 445.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.1617, allocations: 316 kB / 446.1 MB, free: 8.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.1618, allocations: 130.4 kB / 446.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.1622, allocations: 238.7 kB / 446.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.1624, allocations: 382.8 kB / 446.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.1629, allocations: 302.5 kB / 447.1 MB, free: 7.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.1635, allocations: 414.5 kB / 447.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/0.1644, allocations: 0.561 MB / 448 MB, free: 6.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1644, allocations: 0 / 448 MB, free: 6.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001692/0.1661, allocations: 0.9967 MB / 449 MB, free: 5.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1661, allocations: 4 kB / 449 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.1661, allocations: 3.984 kB / 449.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.1664, allocations: 36.97 kB / 449.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/0.1674, allocations: 263.6 kB / 449.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.1674, allocations: 4 kB / 449.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/0.1682, allocations: 83.22 kB / 449.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/0.1683, allocations: 39.98 kB / 449.5 MB, free: 4.699 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.0003132/0.1686, allocations: 205.6 kB / 449.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.1687, allocations: 59.28 kB / 449.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006479/0.1694, allocations: 329.2 kB / 450 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1694, allocations: 4 kB / 450.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1694, allocations: 0 / 450.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1694, allocations: 4 kB / 450.1 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.1707, allocations: 0.9397 MB / 451 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1707, allocations: 4 kB / 451 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.1709, allocations: 51.97 kB / 451.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001653/0.1711, allocations: 40.92 kB / 451.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.1711, allocations: 0 / 451.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.1711, allocations: 11.88 kB / 451.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1711, allocations: 0 / 451.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.1718, allocations: 418.4 kB / 451.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.1721, allocations: 188.2 kB / 451.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/0.1721, allocations: 4 kB / 451.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.1726, allocations: 23.97 kB / 451.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.1726, allocations: 23.86 kB / 451.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.1727, allocations: 15.98 kB / 451.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005358/0.1732, allocations: 406.8 kB / 452.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1732, allocations: 0 / 452.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006918/0.1739, allocations: 235.8 kB / 452.4 MB, free: 1.625 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.0002847/0.1742, allocations: 147.1 kB / 452.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.1754, allocations: 0.7202 MB / 453.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1754, allocations: 4.062 kB / 453.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.1757, allocations: 193.8 kB / 453.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.1762, allocations: 62.23 kB / 453.5 MB, free: 468 kB / 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.001452/0.1777, allocations: 0.8448 MB / 454.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.1782, allocations: 0.8476 MB / 455.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.1784, allocations: 51.44 kB / 455.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1784, allocations: 0 / 455.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Templates: time 0.01536/0.1937, allocations: 10.04 MB / 465.3 MB, free: 4.59 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)