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.001405/0.001405, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.001135/0.001135, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07674/0.07674, allocations: 16.75 MB / 307.9 MB, free: 14.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 65.66 kB / 373.1 MB, free: 48.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08118/0.08245, allocations: 53.57 MB / 426.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.006796/0.08928, allocations: 10.3 MB / 437 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004403/0.09371, allocations: 3.464 MB / 440.5 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000467/0.0942, allocations: 19.94 kB / 440.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008538/0.09509, allocations: 417.5 kB / 440.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.09833, allocations: 1.627 MB / 442.5 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.09942, allocations: 0.5857 MB / 443.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.1015, allocations: 1.963 MB / 445.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.1018, allocations: 134.7 kB / 445.2 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006919/0.1025, allocations: 0.638 MB / 445.8 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000728/0.1032, allocations: 0.7041 MB / 446.5 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.1033, allocations: 75.94 kB / 446.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007628/0.1041, allocations: 395.7 kB / 447 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.1042, allocations: 187 kB / 447.2 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005865/0.1048, allocations: 0.6258 MB / 447.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.1064, allocations: 1.542 MB / 449.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1064, allocations: 0 / 449.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1064, allocations: 0 / 449.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1064, allocations: 0 / 449.4 MB, free: 5.266 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.005/0.1114, allocations: 1.777 MB / 451.1 MB, free: 3.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1114, allocations: 8.031 kB / 451.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006074/0.1121, allocations: 163.5 kB / 451.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.1133, allocations: 0.7978 MB / 452.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.1134, allocations: 58.38 kB / 452.2 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.1135, allocations: 80.38 kB / 452.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1147, allocations: 0.9541 MB / 453.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1147, allocations: 7.938 kB / 453.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.1148, allocations: 36 kB / 453.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.1148, allocations: 23.98 kB / 453.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1159, allocations: 0.719 MB / 454 MB, free: 436 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.006503/0.1224, allocations: 6.463 MB / 460.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.1236, allocations: 0.8129 MB / 461.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.1239, allocations: 248.2 kB / 461.5 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.124, allocations: 4.562 kB / 461.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.124, allocations: 51.06 kB / 461.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 1.833e-06/0.124, allocations: 0 / 461.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.002196/0.1262, allocations: 0.9758 MB / 462.5 MB, free: 7.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1263, allocations: 55.97 kB / 462.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.1273, allocations: 0.9462 MB / 463.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.1274, allocations: 37.7 kB / 463.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.1278, allocations: 0.5216 MB / 464.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.128, allocations: 268.7 kB / 464.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005641/0.1285, allocations: 436.4 kB / 464.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1287, allocations: 341.9 kB / 465.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000863/0.1295, allocations: 0.5631 MB / 465.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.1306, allocations: 0.7589 MB / 466.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.132, allocations: 1.067 MB / 467.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1321, allocations: 0 / 467.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.002935/0.135, allocations: 1.904 MB / 469.4 MB, free: 364 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.135, allocations: 8 kB / 469.4 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.135, allocations: 0 / 469.4 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/0.1356, allocations: 140.7 kB / 469.5 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.1374, allocations: 475.4 kB / 470 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.14, allocations: 2.357 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.1415, allocations: 150.6 kB / 472.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.1416, allocations: 68 kB / 472.6 MB, free: 13.04 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 (297): * Single equations (assignments): 296 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003898/0.142, allocations: 294.3 kB / 472.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.1422, allocations: 98.81 kB / 473 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.1434, allocations: 0.6342 MB / 473.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.1434, allocations: 11.94 kB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1434, allocations: 0 / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1434, allocations: 7.984 kB / 473.6 MB, free: 11.98 MB / 350.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.003399/0.1468, allocations: 1.897 MB / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.1469, allocations: 8 kB / 475.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.1475, allocations: 99.83 kB / 475.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006984/0.1482, allocations: 132.8 kB / 475.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.1483, allocations: 15.94 kB / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/0.1521, allocations: 2.319 MB / 478.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.1522, allocations: 4.031 kB / 478.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.1541, allocations: 0.7672 MB / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006415/0.1548, allocations: 251.8 kB / 479.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.155, allocations: 12 kB / 479.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.1561, allocations: 27.97 kB / 479.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.1562, allocations: 44.45 kB / 479.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.1563, allocations: 23.98 kB / 479.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001244/0.1576, allocations: 0.5888 MB / 479.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1576, allocations: 0 / 479.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001812/0.1594, allocations: 475.7 kB / 480.3 MB, free: 5.031 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (53): * Single equations (assignments): 52 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003345/0.1597, allocations: 175.1 kB / 480.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003165/0.1629, allocations: 1.379 MB / 481.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.163, allocations: 0 / 481.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008536/0.1638, allocations: 410.3 kB / 482.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.165, allocations: 93.53 kB / 482.3 MB, free: 2.953 MB / 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.003605/0.1686, allocations: 1.4 MB / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.1694, allocations: 0.9801 MB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001079/0.1705, allocations: 169.3 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.1709, allocations: 75.44 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1709, allocations: 7.938 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of Templates: time 0.04466/0.2156, allocations: 13.38 MB / 498.3 MB, free: 2.883 MB / 366.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 -s gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)