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.007038/0.007038, allocations: 104.3 kB / 15.74 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.001824/0.001824, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2231/0.2231, allocations: 16.78 MB / 307.3 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.11 kB / 426.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1147, allocations: 53.58 MB / 480.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.008873/0.1237, allocations: 10.39 MB / 490.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005327/0.129, allocations: 3.507 MB / 494 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007416/0.1298, allocations: 23.88 kB / 494.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009501/0.1308, allocations: 425.4 kB / 494.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.1346, allocations: 1.7 MB / 496.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.1361, allocations: 0.6662 MB / 496.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002704/0.1388, allocations: 2.035 MB / 498.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.1392, allocations: 138.8 kB / 499 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009755/0.1401, allocations: 0.6886 MB / 499.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008383/0.141, allocations: 0.743 MB / 0.4887 GB, free: 8.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.1411, allocations: 80 kB / 0.4888 GB, free: 8.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1421, allocations: 403.7 kB / 0.4892 GB, free: 7.938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.1423, allocations: 215 kB / 0.4894 GB, free: 7.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006558/0.143, allocations: 0.649 MB / 0.49 GB, free: 7.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.1449, allocations: 1.608 MB / 0.4916 GB, free: 5.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1449, allocations: 4 kB / 0.4916 GB, free: 5.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1449, allocations: 0 / 0.4916 GB, free: 5.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.145, allocations: 0 / 0.4916 GB, free: 5.457 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.006382/0.1514, allocations: 2.124 MB / 0.4937 GB, free: 3.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1514, allocations: 12.03 kB / 0.4937 GB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006463/0.1521, allocations: 175.3 kB / 0.4938 GB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.1534, allocations: 0.8057 MB / 0.4946 GB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.1535, allocations: 70.38 kB / 0.4947 GB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.1536, allocations: 84.38 kB / 0.4948 GB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.155, allocations: 1.018 MB / 0.4958 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.155, allocations: 7.938 kB / 0.4958 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.1551, allocations: 40 kB / 0.4958 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.1551, allocations: 24 kB / 0.4958 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.1564, allocations: 0.792 MB / 0.4966 GB, free: 88 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.00741/0.1638, allocations: 6.617 MB / 0.5031 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.1653, allocations: 0.72 MB / 0.5038 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/0.1657, allocations: 282.8 kB / 0.5041 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.853e-05/0.1658, allocations: 8.656 kB / 0.5041 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.1658, allocations: 39.22 kB / 0.5041 GB, free: 8.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 4.238e-06/0.1658, allocations: 0 / 0.5041 GB, free: 8.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003377/0.1692, allocations: 1.299 MB / 0.5054 GB, free: 6.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1693, allocations: 60.06 kB / 0.5054 GB, free: 6.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.1706, allocations: 1.003 MB / 0.5064 GB, free: 5.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/0.1707, allocations: 41.7 kB / 0.5064 GB, free: 5.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/0.1711, allocations: 0.5105 MB / 0.5069 GB, free: 5.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.1714, allocations: 308.1 kB / 0.5072 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006206/0.172, allocations: 485.3 kB / 0.5077 GB, free: 4.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1722, allocations: 341.9 kB / 0.508 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.1732, allocations: 0.6456 MB / 0.5087 GB, free: 3.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.1744, allocations: 0.8519 MB / 0.5095 GB, free: 2.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.1761, allocations: 1.232 MB / 0.5107 GB, free: 1.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.1761, allocations: 0 / 0.5107 GB, free: 1.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003578/0.1797, allocations: 2.144 MB / 0.5128 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.1797, allocations: 9.875 kB / 0.5128 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.1797, allocations: 0 / 0.5128 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006981/0.1804, allocations: 187.3 kB / 0.513 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.1823, allocations: 0.5149 MB / 0.5135 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.1861, allocations: 2.708 MB / 0.5161 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.1881, allocations: 170.6 kB / 0.5163 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.1883, allocations: 87.97 kB / 0.5164 GB, free: 11.14 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.0004675/0.1887, allocations: 293.3 kB / 0.5166 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.1889, allocations: 102.8 kB / 0.5167 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.1904, allocations: 0.7859 MB / 0.5175 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1904, allocations: 4.094 kB / 0.5175 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1904, allocations: 11.94 kB / 0.5175 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.1904, allocations: 3.984 kB / 0.5175 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.1929, allocations: 1.801 MB / 0.5193 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.193, allocations: 0 / 0.5193 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.1934, allocations: 111.9 kB / 0.5194 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/0.194, allocations: 168.7 kB / 0.5196 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.1941, allocations: 15.94 kB / 0.5196 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.197, allocations: 2.656 MB / 0.5222 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1971, allocations: 3.938 kB / 0.5222 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.1986, allocations: 0.8588 MB / 0.523 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/0.199, allocations: 275.8 kB / 0.5233 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.1991, allocations: 19.98 kB / 0.5233 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/0.1998, allocations: 27.98 kB / 0.5233 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.1999, allocations: 48.53 kB / 0.5234 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.2, allocations: 20 kB / 0.5234 GB, free: 3.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008444/0.2008, allocations: 0.6174 MB / 0.524 GB, free: 3.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2009, allocations: 4 kB / 0.524 GB, free: 3.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001305/0.2022, allocations: 0.4998 MB / 0.5245 GB, free: 2.543 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.0002883/0.2025, allocations: 183 kB / 0.5247 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002421/0.2049, allocations: 1.577 MB / 0.5262 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2049, allocations: 0 / 0.5262 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006867/0.2056, allocations: 486 kB / 0.5267 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.2063, allocations: 87.55 kB / 0.5267 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.2085, allocations: 1.501 MB / 0.5282 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.209, allocations: 0.9969 MB / 0.5292 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005418/0.2096, allocations: 178 kB / 0.5293 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.2098, allocations: 91.36 kB / 0.5294 GB, free: 13.37 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2098, allocations: 4 kB / 0.5294 GB, free: 13.36 MB / 414.1 MB Notification: Performance of Templates: time 0.02587/0.2357, allocations: 15.01 MB / 0.5441 GB, free: 14.38 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)