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.004922/0.004922, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001107/0.001107, allocations: 195.7 kB / 16.68 MB, free: 5.977 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 / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07388/0.07388, allocations: 16.78 MB / 307.3 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.89 kB / 426.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1285, allocations: 53.56 MB / 480.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.007281/0.1359, allocations: 4.55 MB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.1401, allocations: 2.349 MB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006898/0.1408, allocations: 11.94 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008899/0.1417, allocations: 250.5 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.1454, allocations: 1.187 MB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008909/0.1463, allocations: 353.4 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001632/0.148, allocations: 1.038 MB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.1482, allocations: 73.75 kB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006862/0.1489, allocations: 366.4 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007029/0.1496, allocations: 378.3 kB / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.1498, allocations: 44 kB / 490.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008139/0.1506, allocations: 247.8 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.1508, allocations: 111.4 kB / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005001/0.1513, allocations: 350.1 kB / 491.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.1525, allocations: 0.8643 MB / 492.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1525, allocations: 0 / 492.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1525, allocations: 0 / 492.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.841e-05/0.1525, allocations: 0 / 492.2 MB, free: 8.793 MB / 366.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.003677/0.1562, allocations: 1.22 MB / 493.5 MB, free: 7.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.1563, allocations: 8.031 kB / 493.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.1567, allocations: 92.16 kB / 493.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.1578, allocations: 0.5103 MB / 494.1 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.1578, allocations: 29.38 kB / 494.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.1579, allocations: 40.38 kB / 494.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007773/0.1587, allocations: 0.5192 MB / 494.7 MB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1587, allocations: 7.938 kB / 494.7 MB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.1587, allocations: 16 kB / 494.7 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.1588, allocations: 12 kB / 494.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005442/0.1593, allocations: 350.1 kB / 495 MB, free: 5.828 MB / 366.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.003523/0.1629, allocations: 3.412 MB / 498.5 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.1634, allocations: 290.3 kB / 498.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.1636, allocations: 88.84 kB / 498.8 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.887e-05/0.1637, allocations: 4 kB / 498.8 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1637, allocations: 34.56 kB / 498.9 MB, free: 1.793 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.324e-06/0.1637, allocations: 0 / 498.9 MB, free: 1.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001021/0.1647, allocations: 479.2 kB / 499.3 MB, free: 1.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1648, allocations: 59.39 kB / 499.4 MB, free: 1.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006757/0.1655, allocations: 0.6081 MB / 500 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1655, allocations: 29.7 kB / 0.4883 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.1657, allocations: 316 kB / 0.4886 GB, free: 264 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1658, allocations: 130.4 kB / 0.4887 GB, free: 132 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.1662, allocations: 238.7 kB / 0.489 GB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1663, allocations: 382.8 kB / 0.4893 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.1668, allocations: 302.5 kB / 0.4896 GB, free: 15.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.1673, allocations: 410.5 kB / 0.49 GB, free: 14.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007608/0.1681, allocations: 0.5649 MB / 0.4906 GB, free: 14.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1681, allocations: 0 / 0.4906 GB, free: 14.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00149/0.1696, allocations: 0.9891 MB / 0.4915 GB, free: 13.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1696, allocations: 4 kB / 0.4915 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1696, allocations: 7.938 kB / 0.4915 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.1699, allocations: 48.83 kB / 0.4916 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009298/0.1708, allocations: 251.7 kB / 0.4918 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.1708, allocations: 11.94 kB / 0.4918 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/0.1716, allocations: 79.27 kB / 0.4919 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.1717, allocations: 36 kB / 0.4919 GB, free: 12.79 MB / 382.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.0002953/0.172, allocations: 205.6 kB / 0.4921 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1721, allocations: 71.19 kB / 0.4922 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/0.1728, allocations: 325.3 kB / 0.4925 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.1728, allocations: 4 kB / 0.4925 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1728, allocations: 0 / 0.4925 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1728, allocations: 0 / 0.4925 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.174, allocations: 0.9501 MB / 0.4934 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.174, allocations: 0 / 0.4934 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.1742, allocations: 51.92 kB / 0.4935 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.1744, allocations: 36.83 kB / 0.4935 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.1744, allocations: 4 kB / 0.4935 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1744, allocations: 3.938 kB / 0.4935 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1744, allocations: 4.094 kB / 0.4935 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.175, allocations: 422.1 kB / 0.4939 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.1752, allocations: 188.2 kB / 0.4941 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.1753, allocations: 0 / 0.4941 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.1758, allocations: 31.89 kB / 0.4942 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1758, allocations: 19.97 kB / 0.4942 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.1758, allocations: 12 kB / 0.4942 GB, free: 10.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004671/0.1763, allocations: 402.8 kB / 0.4946 GB, free: 9.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1763, allocations: 0 / 0.4946 GB, free: 9.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006695/0.177, allocations: 227.9 kB / 0.4948 GB, free: 9.723 MB / 382.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.0002762/0.1773, allocations: 159.2 kB / 0.4949 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009984/0.1783, allocations: 0.7044 MB / 0.4956 GB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1783, allocations: 0 / 0.4956 GB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.1785, allocations: 202.2 kB / 0.4958 GB, free: 8.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.1791, allocations: 62.3 kB / 0.4959 GB, free: 8.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1804, allocations: 0.7998 MB / 0.4967 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1808, allocations: 0.8438 MB / 0.4975 GB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002898/0.1811, allocations: 101.1 kB / 0.4976 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1812, allocations: 47.38 kB / 0.4976 GB, free: 6.691 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1812, allocations: 0 / 0.4976 GB, free: 6.691 MB / 382.1 MB Notification: Performance of Templates: time 0.2662/0.4474, allocations: 6.942 MB / 0.5044 GB, free: 34.96 MB / 382.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)