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.001322/0.001322, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.00125/0.001251, allocations: 187 kB / 17.34 MB, free: 5.766 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07654/0.07654, allocations: 16.79 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 60.05 kB / 427.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.124, allocations: 53.57 MB / 480.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.007505/0.1315, allocations: 4.546 MB / 485.4 MB, free: 420 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.1362, allocations: 2.357 MB / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.1366, allocations: 11.94 kB / 487.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008403/0.1374, allocations: 230.6 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.1406, allocations: 1.189 MB / 489.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.1417, allocations: 348.3 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.1433, allocations: 1.035 MB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.1435, allocations: 77.73 kB / 490.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.144, allocations: 366.4 kB / 491 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005611/0.1446, allocations: 382.3 kB / 491.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.11e-05/0.1447, allocations: 40 kB / 491.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00071/0.1454, allocations: 247.8 kB / 491.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1455, allocations: 115.4 kB / 491.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.1459, allocations: 346.1 kB / 492.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.1473, allocations: 0.8642 MB / 492.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1474, allocations: 0 / 492.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1474, allocations: 0 / 492.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.1474, allocations: 0 / 492.9 MB, free: 8.824 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.004318/0.1517, allocations: 1.212 MB / 494.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.1518, allocations: 12.03 kB / 494.1 MB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004946/0.1523, allocations: 88.16 kB / 494.2 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.1534, allocations: 0.5219 MB / 494.8 MB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.1534, allocations: 33.38 kB / 494.8 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.1535, allocations: 48.38 kB / 494.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.1541, allocations: 0.5114 MB / 495.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1541, allocations: 3.938 kB / 495.3 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.1542, allocations: 23.94 kB / 495.4 MB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.1542, allocations: 16 kB / 495.4 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.1547, allocations: 346.1 kB / 495.7 MB, free: 5.848 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.003481/0.1582, allocations: 3.396 MB / 499.1 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.1588, allocations: 291.3 kB / 499.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.159, allocations: 88.84 kB / 499.5 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.159, allocations: 7.984 kB / 499.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.159, allocations: 46.44 kB / 499.5 MB, free: 1.809 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.414e-06/0.1591, allocations: 0 / 499.5 MB, free: 1.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001025/0.1601, allocations: 479.2 kB / 0.4883 GB, free: 1.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.1601, allocations: 55.41 kB / 0.4883 GB, free: 1.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007161/0.1609, allocations: 0.6042 MB / 0.4889 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.1609, allocations: 33.7 kB / 0.489 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.1612, allocations: 319.9 kB / 0.4893 GB, free: 280 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.1613, allocations: 126.5 kB / 0.4894 GB, free: 152 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/0.1616, allocations: 250.6 kB / 0.4896 GB, free: 15.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1618, allocations: 374.8 kB / 0.49 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.1623, allocations: 306.5 kB / 0.4903 GB, free: 15.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.1629, allocations: 410.5 kB / 0.4907 GB, free: 14.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007903/0.1637, allocations: 0.5649 MB / 0.4912 GB, free: 14.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1637, allocations: 0 / 0.4912 GB, free: 14.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001495/0.1652, allocations: 0.9852 MB / 0.4922 GB, free: 13.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1652, allocations: 4.125 kB / 0.4922 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1652, allocations: 8 kB / 0.4922 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.1655, allocations: 40.83 kB / 0.4922 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/0.1664, allocations: 255.6 kB / 0.4925 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.1664, allocations: 8 kB / 0.4925 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007371/0.1672, allocations: 79.27 kB / 0.4926 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.1672, allocations: 44 kB / 0.4926 GB, free: 12.8 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.0002629/0.1675, allocations: 203.4 kB / 0.4928 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.1676, allocations: 63.19 kB / 0.4929 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006046/0.1682, allocations: 329.2 kB / 0.4932 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1682, allocations: 4 kB / 0.4932 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1682, allocations: 0 / 0.4932 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1683, allocations: 3.984 kB / 0.4932 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.1694, allocations: 0.9462 MB / 0.4941 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1694, allocations: 0 / 0.4941 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.1697, allocations: 47.97 kB / 0.4942 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/0.1699, allocations: 40.92 kB / 0.4942 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.1699, allocations: 12 kB / 0.4942 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1699, allocations: 7.875 kB / 0.4942 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.1699, allocations: 0 / 0.4942 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.1705, allocations: 414.2 kB / 0.4946 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.1707, allocations: 188.2 kB / 0.4948 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/0.1708, allocations: 8 kB / 0.4948 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.1713, allocations: 23.89 kB / 0.4948 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.1713, allocations: 15.97 kB / 0.4948 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.1714, allocations: 16 kB / 0.4948 GB, free: 10.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005167/0.1719, allocations: 402.8 kB / 0.4952 GB, free: 9.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.112e-06/0.1719, allocations: 7.938 kB / 0.4952 GB, free: 9.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007249/0.1726, allocations: 231.9 kB / 0.4955 GB, free: 9.734 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.0003095/0.173, allocations: 151.1 kB / 0.4956 GB, free: 9.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.1742, allocations: 0.7046 MB / 0.4963 GB, free: 8.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.1743, allocations: 3.938 kB / 0.4963 GB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.1745, allocations: 197.9 kB / 0.4965 GB, free: 8.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.1752, allocations: 62.23 kB / 0.4965 GB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.1771, allocations: 0.8369 MB / 0.4974 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.1778, allocations: 0.836 MB / 0.4982 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.178, allocations: 55.42 kB / 0.4982 GB, free: 6.766 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.178, allocations: 7.938 kB / 0.4982 GB, free: 6.758 MB / 382.1 MB Notification: Performance of Templates: time 0.2374/0.4154, allocations: 10.12 MB / 0.5081 GB, free: 33.3 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)