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.001486/0.001487, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.00139/0.00139, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.425/1.425, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07776/0.07776, allocations: 16.68 MB / 307.7 MB, free: 14.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.39 kB / 372.3 MB, free: 48.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1434, allocations: 53.56 MB / 425.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.004887/0.1483, allocations: 4.548 MB / 430.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.1519, allocations: 2.353 MB / 432.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.1523, allocations: 7.938 kB / 432.8 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.153, allocations: 238.6 kB / 433 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.1552, allocations: 1.156 MB / 434.2 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.1559, allocations: 360.9 kB / 434.5 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000899/0.1568, allocations: 1.023 MB / 435.5 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1569, allocations: 77.75 kB / 435.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000305/0.1572, allocations: 354.5 kB / 436 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.1576, allocations: 378.3 kB / 436.3 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.1576, allocations: 44 kB / 436.4 MB, free: 2.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/0.1582, allocations: 251.8 kB / 436.6 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.1583, allocations: 111.4 kB / 436.7 MB, free: 1.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.1585, allocations: 346.1 kB / 437.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007411/0.1593, allocations: 0.8542 MB / 437.9 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1593, allocations: 4 kB / 437.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1593, allocations: 0 / 437.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1593, allocations: 0 / 437.9 MB, free: 0.7227 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.002979/0.1623, allocations: 1.208 MB / 439.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1624, allocations: 8.031 kB / 439.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/0.1627, allocations: 96.06 kB / 439.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000795/0.1635, allocations: 0.4946 MB / 439.7 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.1636, allocations: 41.36 kB / 439.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.1637, allocations: 44.36 kB / 439.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.1644, allocations: 0.5191 MB / 440.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1644, allocations: 0 / 440.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.1645, allocations: 24 kB / 440.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.1645, allocations: 12 kB / 440.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/0.1651, allocations: 350.1 kB / 440.7 MB, free: 13.77 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.003877/0.169, allocations: 3.404 MB / 444.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.1696, allocations: 292.1 kB / 444.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.1697, allocations: 92.83 kB / 444.5 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.1698, allocations: 4 kB / 444.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1698, allocations: 38.56 kB / 444.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.1698, allocations: 0 / 444.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001074/0.1709, allocations: 479.2 kB / 445 MB, free: 9.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.171, allocations: 55.41 kB / 445 MB, free: 9.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007572/0.1717, allocations: 0.6042 MB / 445.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.1718, allocations: 37.7 kB / 445.7 MB, free: 8.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.172, allocations: 315.9 kB / 446 MB, free: 8.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1722, allocations: 122.5 kB / 446.1 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.1725, allocations: 242.6 kB / 446.4 MB, free: 7.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.1727, allocations: 386.8 kB / 446.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/0.1732, allocations: 302.5 kB / 447 MB, free: 7.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.1738, allocations: 410.5 kB / 447.4 MB, free: 6.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008254/0.1746, allocations: 0.561 MB / 448 MB, free: 6.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1746, allocations: 3.938 kB / 448 MB, free: 6.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001648/0.1763, allocations: 0.989 MB / 449 MB, free: 5.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1763, allocations: 4 kB / 449 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1763, allocations: 4 kB / 449 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.1766, allocations: 44.95 kB / 449 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000935/0.1775, allocations: 255.6 kB / 449.3 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.1775, allocations: 8 kB / 449.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000775/0.1783, allocations: 83.2 kB / 449.4 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.1784, allocations: 39.98 kB / 449.4 MB, free: 4.727 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.0003196/0.1787, allocations: 204 kB / 449.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.1788, allocations: 63.27 kB / 449.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.1795, allocations: 333.2 kB / 450 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.1795, allocations: 4 kB / 450 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1795, allocations: 0 / 450 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.1795, allocations: 3.984 kB / 450 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.1809, allocations: 0.9474 MB / 451 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1809, allocations: 0 / 451 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.1811, allocations: 59.91 kB / 451 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001598/0.1813, allocations: 40.86 kB / 451 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1813, allocations: 8 kB / 451.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1813, allocations: 3.938 kB / 451.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1813, allocations: 3.984 kB / 451.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.1819, allocations: 418.4 kB / 451.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.1822, allocations: 180.2 kB / 451.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/0.1823, allocations: 8 kB / 451.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.1827, allocations: 19.98 kB / 451.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.1828, allocations: 27.91 kB / 451.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.1828, allocations: 11.98 kB / 451.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005482/0.1834, allocations: 398.8 kB / 452.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.1834, allocations: 4 kB / 452.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007704/0.1842, allocations: 239.8 kB / 452.3 MB, free: 1.641 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.0003613/0.1846, allocations: 143.2 kB / 452.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.1858, allocations: 0.724 MB / 453.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.1858, allocations: 0 / 453.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.1861, allocations: 197.8 kB / 453.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/0.1867, allocations: 62.17 kB / 453.5 MB, free: 484 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.001607/0.1883, allocations: 0.8372 MB / 454.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.1889, allocations: 0.8476 MB / 455.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.1891, allocations: 51.44 kB / 455.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1891, allocations: 0 / 455.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Templates: time 0.01516/0.2043, allocations: 10.04 MB / 465.2 MB, free: 4.609 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)