Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.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.OneSlackOnePVWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 104.3 kB / 16.27 MB, free: 6.414 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.001329/0.00133, 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.555/1.555, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0779/0.0779, allocations: 16.77 MB / 307.8 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.67 kB / 372.4 MB, free: 48.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.09956, allocations: 53.57 MB / 426 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.007265/0.1069, allocations: 10.39 MB / 436.4 MB, free: 2.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004754/0.1117, allocations: 3.511 MB / 439.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00079/0.1125, allocations: 19.88 kB / 439.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009527/0.1135, allocations: 417.5 kB / 440.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.1172, allocations: 1.639 MB / 441.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1185, allocations: 0.6531 MB / 442.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002349/0.1209, allocations: 2.024 MB / 444.6 MB, free: 9.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.1212, allocations: 142.9 kB / 444.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008548/0.122, allocations: 0.673 MB / 445.4 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007561/0.1228, allocations: 0.7508 MB / 446.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.1229, allocations: 80 kB / 446.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009672/0.1239, allocations: 403.7 kB / 446.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.1241, allocations: 211 kB / 446.9 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006186/0.1247, allocations: 0.6529 MB / 447.5 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.1266, allocations: 1.598 MB / 449.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1266, allocations: 0 / 449.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1267, allocations: 0 / 449.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.1267, allocations: 0 / 449.1 MB, free: 5.438 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006924/0.1336, allocations: 2.126 MB / 451.2 MB, free: 3.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1337, allocations: 12.03 kB / 451.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006942/0.1344, allocations: 171.4 kB / 451.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.1357, allocations: 0.7939 MB / 452.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.1358, allocations: 62.38 kB / 452.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1359, allocations: 88.38 kB / 452.4 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.1372, allocations: 1.022 MB / 453.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.1373, allocations: 7.938 kB / 453.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-05/0.1374, allocations: 36 kB / 453.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.1374, allocations: 24 kB / 453.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.1385, allocations: 0.7999 MB / 454.2 MB, free: 80 kB / 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.00709/0.1456, allocations: 6.621 MB / 460.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.147, allocations: 0.7276 MB / 461.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/0.1475, allocations: 278.8 kB / 461.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.1475, allocations: 12.72 kB / 461.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.1476, allocations: 47.22 kB / 461.9 MB, free: 8.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.645e-06/0.1476, allocations: 4 kB / 461.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.003422/0.151, allocations: 1.295 MB / 463.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.1511, allocations: 56.06 kB / 463.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.1523, allocations: 0.9953 MB / 464.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/0.1524, allocations: 41.7 kB / 464.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.1528, allocations: 0.5143 MB / 464.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/0.153, allocations: 304.1 kB / 465.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006119/0.1537, allocations: 489.3 kB / 465.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1538, allocations: 333.9 kB / 465.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009587/0.1548, allocations: 0.6495 MB / 466.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.1559, allocations: 0.8519 MB / 467.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.1575, allocations: 1.236 MB / 468.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.1575, allocations: 0 / 468.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003901/0.1614, allocations: 2.148 MB / 470.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.1615, allocations: 4 kB / 470.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.1615, allocations: 7.984 kB / 470.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007653/0.1623, allocations: 176.9 kB / 471 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/0.1644, allocations: 0.5071 MB / 471.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/0.1687, allocations: 2.715 MB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.171, allocations: 174.4 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.1713, allocations: 83.92 kB / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (node1.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 324 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006922/0.172, allocations: 290.3 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/0.1723, allocations: 114.7 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.174, allocations: 0.7821 MB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.174, allocations: 12 kB / 475.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1741, allocations: 0 / 475.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.1741, allocations: 3.984 kB / 475.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.1771, allocations: 1.805 MB / 477.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1771, allocations: 4.031 kB / 477.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.1776, allocations: 111.9 kB / 477.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005734/0.1781, allocations: 163.7 kB / 477.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.1782, allocations: 12 kB / 477.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/0.1814, allocations: 2.665 MB / 480.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.1814, allocations: 7.875 kB / 480.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.1831, allocations: 0.855 MB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005919/0.1837, allocations: 283.8 kB / 481.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.1839, allocations: 12 kB / 481.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008544/0.1848, allocations: 27.92 kB / 481.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.1849, allocations: 52.53 kB / 481.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.185, allocations: 23.98 kB / 481.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009681/0.1859, allocations: 0.6174 MB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1859, allocations: 0 / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001595/0.1875, allocations: 0.4981 MB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003105/0.1879, allocations: 179.1 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.1908, allocations: 1.593 MB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.1909, allocations: 8.125 kB / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.1916, allocations: 482 kB / 485 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000868/0.1925, allocations: 99.89 kB / 485.1 MB, free: 144 kB / 350.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.002844/0.1954, allocations: 1.546 MB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.196, allocations: 0.9969 MB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.1963, allocations: 91.44 kB / 487.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1963, allocations: 0 / 487.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of Templates: time 0.0275/0.2239, allocations: 18.59 MB / 0.4945 GB, free: 10.82 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)