Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.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.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001659, allocations: 105.5 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.001863/0.001863, allocations: 189.8 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.507/1.507, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08097/0.08097, allocations: 16.68 MB / 307.7 MB, free: 14.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 66.02 kB / 372.3 MB, free: 48.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1244, allocations: 53.56 MB / 425.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.007604/0.132, allocations: 10.38 MB / 436.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005677/0.1377, allocations: 3.511 MB / 439.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.139, allocations: 23.88 kB / 439.8 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.1405, allocations: 421.4 kB / 440.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004722/0.1452, allocations: 1.628 MB / 441.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.1467, allocations: 0.6597 MB / 442.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.15, allocations: 2.018 MB / 444.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.1503, allocations: 138.9 kB / 444.6 MB, free: 10 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.1515, allocations: 0.6769 MB / 445.3 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009305/0.1524, allocations: 0.7469 MB / 446 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.1526, allocations: 80 kB / 446.1 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.1537, allocations: 403.7 kB / 446.5 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.154, allocations: 214.9 kB / 446.7 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007541/0.1547, allocations: 0.6529 MB / 447.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.157, allocations: 1.598 MB / 449 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.157, allocations: 4 kB / 449 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.157, allocations: 0 / 449 MB, free: 5.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1571, allocations: 0 / 449 MB, free: 5.629 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.006941/0.164, allocations: 2.116 MB / 451.1 MB, free: 3.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1641, allocations: 12.03 kB / 451.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007222/0.1648, allocations: 175.4 kB / 451.3 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.1663, allocations: 0.7861 MB / 452.1 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/0.1664, allocations: 70.36 kB / 452.1 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.1665, allocations: 84.38 kB / 452.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.168, allocations: 1.022 MB / 453.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.168, allocations: 7.938 kB / 453.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/0.1681, allocations: 40 kB / 453.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.1681, allocations: 27.94 kB / 453.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.1694, allocations: 0.7921 MB / 454.1 MB, free: 284 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.0083/0.1777, allocations: 6.599 MB / 460.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.1793, allocations: 0.7406 MB / 461.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.1797, allocations: 288.4 kB / 461.7 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.1798, allocations: 8.656 kB / 461.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.1799, allocations: 39.22 kB / 461.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 3.787e-06/0.1799, allocations: 0 / 461.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.003326/0.1832, allocations: 1.24 MB / 463 MB, free: 6.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1833, allocations: 64.06 kB / 463.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.1847, allocations: 1.004 MB / 464.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.1847, allocations: 41.7 kB / 464.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/0.1852, allocations: 0.4948 MB / 464.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.1856, allocations: 316.1 kB / 464.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006718/0.1863, allocations: 485.1 kB / 465.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1864, allocations: 337.9 kB / 465.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.1875, allocations: 0.6494 MB / 466.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.1888, allocations: 0.8517 MB / 467.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.1907, allocations: 1.228 MB / 468.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.1907, allocations: 4 kB / 468.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.004004/0.1947, allocations: 2.135 MB / 470.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.1948, allocations: 8 kB / 470.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1948, allocations: 0 / 470.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006707/0.1955, allocations: 171.8 kB / 470.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.1973, allocations: 0.5188 MB / 471.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/0.2008, allocations: 2.619 MB / 473.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.2026, allocations: 170.5 kB / 474.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.2028, allocations: 83.98 kB / 474.2 MB, free: 11.52 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 (load.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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000494/0.2033, allocations: 297.3 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.2035, allocations: 102.8 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.205, allocations: 0.7859 MB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.205, allocations: 8 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.205, allocations: 3.938 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.205, allocations: 7.969 kB / 475.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.2077, allocations: 1.805 MB / 477.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.2077, allocations: 4.031 kB / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.2082, allocations: 123.8 kB / 477.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005433/0.2088, allocations: 156.7 kB / 477.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.2088, allocations: 16 kB / 477.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003094/0.2119, allocations: 2.576 MB / 480 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2119, allocations: 0 / 480 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.2135, allocations: 0.8589 MB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/0.214, allocations: 271.6 kB / 481.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.2142, allocations: 16 kB / 481.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/0.2149, allocations: 31.97 kB / 481.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.215, allocations: 44.59 kB / 481.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.2151, allocations: 20 kB / 481.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009113/0.216, allocations: 0.6254 MB / 481.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.216, allocations: 0 / 481.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001398/0.2174, allocations: 0.4959 MB / 482.4 MB, free: 2.996 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 (62): * Single equations (assignments): 61 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003251/0.2177, allocations: 179.2 kB / 482.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.2206, allocations: 1.589 MB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.2207, allocations: 0 / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.2214, allocations: 482.1 kB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.2222, allocations: 102.4 kB / 484.7 MB, free: 0.6289 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.002583/0.2248, allocations: 1.546 MB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/0.2255, allocations: 0.9969 MB / 487.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.2258, allocations: 91.42 kB / 487.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2258, allocations: 4 kB / 487.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of Templates: time 0.02999/0.2558, allocations: 18.62 MB / 0.4941 GB, free: 11.28 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)