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.008633/0.008633, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001969/0.001969, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1926/0.1926, allocations: 16.68 MB / 307.2 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.67 kB / 426.5 MB, free: 36.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1131, allocations: 53.57 MB / 480 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.008118/0.1212, allocations: 10.4 MB / 490.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005375/0.1267, allocations: 3.503 MB / 493.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009023/0.1276, allocations: 19.94 kB / 493.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.1288, allocations: 421.4 kB / 494.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004246/0.1331, allocations: 1.636 MB / 496 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.1346, allocations: 0.6523 MB / 496.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003614/0.1382, allocations: 2.034 MB / 498.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.1386, allocations: 146.8 kB / 498.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.1396, allocations: 0.673 MB / 499.5 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009392/0.1406, allocations: 0.743 MB / 0.4885 GB, free: 8.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1407, allocations: 84 kB / 0.4886 GB, free: 8.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009996/0.1417, allocations: 403.7 kB / 0.489 GB, free: 8.293 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.142, allocations: 210.9 kB / 0.4892 GB, free: 8.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000766/0.1427, allocations: 0.6529 MB / 0.4898 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002377/0.1451, allocations: 1.619 MB / 0.4914 GB, free: 5.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1451, allocations: 0 / 0.4914 GB, free: 5.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1451, allocations: 0 / 0.4914 GB, free: 5.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.1452, allocations: 0 / 0.4914 GB, free: 5.805 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.006703/0.1519, allocations: 2.169 MB / 0.4935 GB, free: 3.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1519, allocations: 8.031 kB / 0.4935 GB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006504/0.1526, allocations: 176.1 kB / 0.4937 GB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.1541, allocations: 0.8297 MB / 0.4945 GB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.1542, allocations: 66.38 kB / 0.4946 GB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.1543, allocations: 84.38 kB / 0.4947 GB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.1557, allocations: 1.022 MB / 0.4956 GB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.1558, allocations: 7.938 kB / 0.4957 GB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.156, allocations: 36 kB / 0.4957 GB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.156, allocations: 24 kB / 0.4957 GB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.1573, allocations: 0.7959 MB / 0.4965 GB, free: 372 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.008783/0.1661, allocations: 6.614 MB / 0.5029 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.1677, allocations: 0.7164 MB / 0.5036 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.1681, allocations: 282.8 kB / 0.5039 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.614e-05/0.1682, allocations: 8.656 kB / 0.5039 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.1682, allocations: 39.22 kB / 0.504 GB, free: 8.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.405e-06/0.1682, allocations: 0 / 0.504 GB, free: 8.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.00376/0.172, allocations: 1.307 MB / 0.5052 GB, free: 7.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.1721, allocations: 60.06 kB / 0.5053 GB, free: 6.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.1735, allocations: 0.9994 MB / 0.5063 GB, free: 5.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.1736, allocations: 41.7 kB / 0.5063 GB, free: 5.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004874/0.1741, allocations: 0.5236 MB / 0.5068 GB, free: 5.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/0.1744, allocations: 321.5 kB / 0.5071 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006699/0.1751, allocations: 493.5 kB / 0.5076 GB, free: 4.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1753, allocations: 337.9 kB / 0.5079 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.1763, allocations: 0.6456 MB / 0.5086 GB, free: 3.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.1776, allocations: 0.8519 MB / 0.5094 GB, free: 2.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.1795, allocations: 1.232 MB / 0.5106 GB, free: 1.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.1795, allocations: 0 / 0.5106 GB, free: 1.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.00377/0.1833, allocations: 2.156 MB / 0.5127 GB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.1833, allocations: 4 kB / 0.5127 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1833, allocations: 4 kB / 0.5127 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006989/0.1841, allocations: 176.8 kB / 0.5129 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.1859, allocations: 0.5072 MB / 0.5134 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003823/0.1897, allocations: 2.731 MB / 0.516 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.1914, allocations: 174.8 kB / 0.5162 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.1915, allocations: 79.98 kB / 0.5163 GB, free: 11.38 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.0004634/0.192, allocations: 293.3 kB / 0.5166 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.1922, allocations: 111.3 kB / 0.5167 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.1938, allocations: 0.7861 MB / 0.5174 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.1938, allocations: 11.94 kB / 0.5174 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1938, allocations: 4 kB / 0.5174 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1938, allocations: 3.984 kB / 0.5174 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.1964, allocations: 1.801 MB / 0.5192 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/0.1965, allocations: 3.984 kB / 0.5192 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000455/0.1969, allocations: 111.9 kB / 0.5193 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/0.1975, allocations: 168.7 kB / 0.5195 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.1975, allocations: 12 kB / 0.5195 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003395/0.2009, allocations: 2.649 MB / 0.5221 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.201, allocations: 3.938 kB / 0.5221 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.2025, allocations: 0.8788 MB / 0.5229 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/0.2029, allocations: 280.2 kB / 0.5232 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.2031, allocations: 11.98 kB / 0.5232 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007359/0.2038, allocations: 27.98 kB / 0.5232 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.2039, allocations: 48.53 kB / 0.5233 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.204, allocations: 20 kB / 0.5233 GB, free: 3.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008506/0.2048, allocations: 0.6213 MB / 0.5239 GB, free: 3.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2048, allocations: 4 kB / 0.5239 GB, free: 3.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001231/0.2061, allocations: 0.4998 MB / 0.5244 GB, free: 2.762 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.0003013/0.2064, allocations: 182.4 kB / 0.5246 GB, free: 2.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.209, allocations: 1.577 MB / 0.5261 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.209, allocations: 3.938 kB / 0.5261 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.2098, allocations: 482 kB / 0.5266 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/0.2104, allocations: 94.22 kB / 0.5267 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.2128, allocations: 1.529 MB / 0.5282 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006341/0.2135, allocations: 0.9969 MB / 0.5291 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005892/0.2141, allocations: 177.9 kB / 0.5293 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.2143, allocations: 83.42 kB / 0.5294 GB, free: 13.56 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2143, allocations: 4 kB / 0.5294 GB, free: 13.56 MB / 414.1 MB Notification: Performance of Templates: time 0.1274/0.3417, allocations: 15.01 MB / 0.5441 GB, free: 14.57 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)