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.001436/0.001436, allocations: 99.52 kB / 16.35 MB, free: 5.828 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.001556/0.001556, allocations: 197.6 kB / 17.3 MB, free: 5.484 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07458/0.07458, allocations: 16.75 MB / 307.9 MB, free: 14.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 66.66 kB / 373.1 MB, free: 48.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.124, allocations: 53.57 MB / 426.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.004931/0.129, allocations: 4.493 MB / 431.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.1324, allocations: 2.325 MB / 433.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003937/0.1328, allocations: 15.94 kB / 433.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.1336, allocations: 234.6 kB / 433.8 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.1361, allocations: 1.152 MB / 434.9 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.1366, allocations: 218.5 kB / 435.1 MB, free: 3.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.1379, allocations: 0.9998 MB / 436.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.1381, allocations: 65.75 kB / 436.2 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.1385, allocations: 338.6 kB / 436.5 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.1388, allocations: 358.3 kB / 436.9 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.8e-05/0.1389, allocations: 40 kB / 436.9 MB, free: 1.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005743/0.1395, allocations: 227.8 kB / 437.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.1395, allocations: 99.48 kB / 437.2 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.1398, allocations: 330.3 kB / 437.6 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008566/0.1407, allocations: 0.806 MB / 438.4 MB, free: 248 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.1407, allocations: 4 kB / 438.4 MB, free: 244 kB / 302.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1407, allocations: 0 / 438.4 MB, free: 244 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.1407, allocations: 3.938 kB / 438.4 MB, free: 240 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002582/0.1433, allocations: 1.025 MB / 439.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.1434, allocations: 12.03 kB / 439.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.1438, allocations: 88.08 kB / 439.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.1448, allocations: 0.4986 MB / 440 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.1449, allocations: 29.38 kB / 440 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.1449, allocations: 40.38 kB / 440.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007652/0.1457, allocations: 0.4896 MB / 440.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1458, allocations: 4 kB / 440.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.1458, allocations: 16 kB / 440.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.1458, allocations: 12 kB / 440.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.1463, allocations: 317.7 kB / 440.9 MB, free: 13.54 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.003889/0.1502, allocations: 3.372 MB / 444.3 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.1507, allocations: 270.7 kB / 444.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1509, allocations: 80.84 kB / 444.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.1509, allocations: 0 / 444.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.151, allocations: 50.55 kB / 444.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.151, allocations: 0 / 444.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009635/0.152, allocations: 417.2 kB / 445.1 MB, free: 9.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.152, allocations: 55.34 kB / 445.1 MB, free: 9.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006982/0.1527, allocations: 0.5844 MB / 445.7 MB, free: 8.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.1528, allocations: 37.7 kB / 445.7 MB, free: 8.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.153, allocations: 311.3 kB / 446 MB, free: 8.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.1531, allocations: 114.7 kB / 446.2 MB, free: 7.969 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.1534, allocations: 210.7 kB / 446.4 MB, free: 7.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1536, allocations: 382.8 kB / 446.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.154, allocations: 258.5 kB / 447 MB, free: 7.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.1545, allocations: 366.6 kB / 447.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/0.1551, allocations: 498.2 kB / 447.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1551, allocations: 0 / 447.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001342/0.1565, allocations: 0.8759 MB / 448.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.1565, allocations: 8 kB / 448.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1565, allocations: 3.984 kB / 448.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/0.1568, allocations: 48.77 kB / 448.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/0.1577, allocations: 219.7 kB / 449 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.1589, allocations: 1.449 MB / 450.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007796/0.1597, allocations: 67.42 kB / 450.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.1598, allocations: 36 kB / 450.5 MB, free: 3.395 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 (143): * Single equations (assignments): 142 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003001/0.1601, allocations: 201.5 kB / 450.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1602, allocations: 55.34 kB / 450.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/0.1607, allocations: 284 kB / 451.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1608, allocations: 0 / 451.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1608, allocations: 4 kB / 451.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1608, allocations: 7.875 kB / 451.1 MB, free: 2.824 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 postOpt removeSimpleEquations (simulation): time 0.001295/0.1621, allocations: 1.016 MB / 452.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.1621, allocations: 4 kB / 452.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.1622, allocations: 39.92 kB / 452.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.1624, allocations: 40.81 kB / 452.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.1624, allocations: 8.25 kB / 452.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.1636, allocations: 1.449 MB / 453.6 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1636, allocations: 0 / 453.6 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.1641, allocations: 412.1 kB / 454 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.1644, allocations: 176.3 kB / 454.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.1644, allocations: 11.98 kB / 454.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.1649, allocations: 27.98 kB / 454.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.1649, allocations: 19.86 kB / 454.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.1649, allocations: 15.98 kB / 454.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000474/0.1654, allocations: 382.8 kB / 454.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1654, allocations: 0 / 454.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007391/0.1662, allocations: 227.8 kB / 454.9 MB, free: 14.72 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (23): * Single equations (assignments): 22 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002503/0.1664, allocations: 146.2 kB / 455 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.1675, allocations: 0.6543 MB / 455.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1675, allocations: 4.188 kB / 455.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.1678, allocations: 214.5 kB / 455.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.1683, allocations: 63.33 kB / 455.9 MB, free: 13.62 MB / 334.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.001226/0.1696, allocations: 0.8119 MB / 456.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.17, allocations: 0.8391 MB / 457.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002659/0.1702, allocations: 88.91 kB / 457.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.1703, allocations: 47.42 kB / 457.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1703, allocations: 0 / 457.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of Templates: time 0.01274/0.1831, allocations: 6.663 MB / 464.4 MB, free: 5.102 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 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1)