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.008557/0.008557, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001446/0.001446, allocations: 196 kB / 16.67 MB, free: 6.352 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.236/0.236, allocations: 16.79 MB / 307.3 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 64.94 kB / 426.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1434, allocations: 53.58 MB / 480.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.009227/0.1527, allocations: 10.39 MB / 490.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006037/0.1588, allocations: 3.513 MB / 494.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.16, allocations: 19.88 kB / 494.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.1612, allocations: 417.5 kB / 494.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.1655, allocations: 1.696 MB / 496.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.1669, allocations: 0.6603 MB / 496.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.1697, allocations: 2.045 MB / 498.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.17, allocations: 140.5 kB / 499 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.1711, allocations: 0.6886 MB / 499.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008261/0.1719, allocations: 0.743 MB / 0.4887 GB, free: 8.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.1721, allocations: 80 kB / 0.4888 GB, free: 8.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.1731, allocations: 403.7 kB / 0.4892 GB, free: 7.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.1733, allocations: 215 kB / 0.4894 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000629/0.174, allocations: 0.6568 MB / 0.49 GB, free: 7.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.176, allocations: 1.619 MB / 0.4916 GB, free: 5.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.176, allocations: 0 / 0.4916 GB, free: 5.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.176, allocations: 4 kB / 0.4916 GB, free: 5.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.176, allocations: 0 / 0.4916 GB, free: 5.48 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006517/0.1826, allocations: 2.165 MB / 0.4937 GB, free: 3.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.1826, allocations: 11.97 kB / 0.4937 GB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006989/0.1833, allocations: 180.1 kB / 0.4939 GB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.1848, allocations: 0.8103 MB / 0.4947 GB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.1849, allocations: 66.38 kB / 0.4948 GB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.185, allocations: 88.38 kB / 0.4948 GB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1864, allocations: 1.014 MB / 0.4958 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.1864, allocations: 11.94 kB / 0.4959 GB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.1865, allocations: 36 kB / 0.4959 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.1866, allocations: 24 kB / 0.4959 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.1877, allocations: 0.7998 MB / 0.4967 GB, free: 56 kB / 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.007592/0.1953, allocations: 6.61 MB / 0.5031 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.1967, allocations: 0.7203 MB / 0.5038 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.1972, allocations: 286.7 kB / 0.5041 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.822e-05/0.1972, allocations: 12.72 kB / 0.5041 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1973, allocations: 43.22 kB / 0.5042 GB, free: 8.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 3.006e-06/0.1973, allocations: 0 / 0.5042 GB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003347/0.2007, allocations: 1.303 MB / 0.5054 GB, free: 6.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.2007, allocations: 60.06 kB / 0.5055 GB, free: 6.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.2021, allocations: 0.9994 MB / 0.5065 GB, free: 5.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.2022, allocations: 45.69 kB / 0.5065 GB, free: 5.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/0.2026, allocations: 0.5119 MB / 0.507 GB, free: 5.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/0.203, allocations: 329.5 kB / 0.5073 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006775/0.2037, allocations: 485.5 kB / 0.5078 GB, free: 4.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2039, allocations: 342 kB / 0.5081 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.205, allocations: 0.6456 MB / 0.5088 GB, free: 3.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.2062, allocations: 0.8597 MB / 0.5096 GB, free: 2.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.2079, allocations: 1.232 MB / 0.5108 GB, free: 1.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.208, allocations: 0 / 0.5108 GB, free: 1.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003686/0.2116, allocations: 2.152 MB / 0.5129 GB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.2117, allocations: 5.875 kB / 0.5129 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.2117, allocations: 4.109 kB / 0.5129 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006552/0.2124, allocations: 180.7 kB / 0.5131 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.2142, allocations: 0.5071 MB / 0.5136 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/0.2182, allocations: 2.711 MB / 0.5162 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.2208, allocations: 178.8 kB / 0.5164 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.2209, allocations: 80 kB / 0.5165 GB, free: 11.08 MB / 398.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.0006429/0.2216, allocations: 293.3 kB / 0.5168 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.2219, allocations: 115.3 kB / 0.5169 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.2234, allocations: 0.7821 MB / 0.5176 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.2234, allocations: 8 kB / 0.5176 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2235, allocations: 0 / 0.5176 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.2235, allocations: 3.984 kB / 0.5176 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.2261, allocations: 1.817 MB / 0.5194 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2261, allocations: 0 / 0.5194 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.2266, allocations: 103.9 kB / 0.5195 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005255/0.2271, allocations: 167.3 kB / 0.5197 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.2271, allocations: 12 kB / 0.5197 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.23, allocations: 2.66 MB / 0.5223 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.23, allocations: 8 kB / 0.5223 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.2315, allocations: 0.871 MB / 0.5231 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.2319, allocations: 284.2 kB / 0.5234 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.232, allocations: 12 kB / 0.5234 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006925/0.2327, allocations: 27.98 kB / 0.5234 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.2328, allocations: 48.53 kB / 0.5235 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.2329, allocations: 23.98 kB / 0.5235 GB, free: 3.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000799/0.2337, allocations: 0.6174 MB / 0.5241 GB, free: 2.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2337, allocations: 0 / 0.5241 GB, free: 2.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001307/0.235, allocations: 0.5037 MB / 0.5246 GB, free: 2.453 MB / 398.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.0002785/0.2353, allocations: 171.1 kB / 0.5248 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002348/0.2376, allocations: 1.581 MB / 0.5263 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2377, allocations: 384 / 0.5263 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.2383, allocations: 486 kB / 0.5268 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000664/0.239, allocations: 85.97 kB / 0.5269 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.2413, allocations: 1.549 MB / 0.5284 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.2418, allocations: 0.9969 MB / 0.5294 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005388/0.2423, allocations: 181.9 kB / 0.5295 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.2426, allocations: 79.44 kB / 0.5296 GB, free: 13.24 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2426, allocations: 0 / 0.5296 GB, free: 13.24 MB / 414.1 MB Notification: Performance of Templates: time 0.02383/0.2664, allocations: 15.02 MB / 0.5443 GB, free: 14.24 MB / 430.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)