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.001627/0.001627, allocations: 113.1 kB / 16.41 MB, free: 6.484 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.001951/0.001951, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07738/0.07738, allocations: 16.78 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 427.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1102, allocations: 53.56 MB / 480.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.011/0.1212, allocations: 10.39 MB / 491.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00656/0.1278, allocations: 3.515 MB / 494.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.1294, allocations: 23.88 kB / 494.7 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.131, allocations: 413.5 kB / 495.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.1358, allocations: 1.635 MB / 496.8 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.1374, allocations: 0.6529 MB / 497.4 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003047/0.1405, allocations: 2.047 MB / 499.5 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.1409, allocations: 138.8 kB / 499.6 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.1423, allocations: 0.6886 MB / 0.4886 GB, free: 1.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.1437, allocations: 0.7469 MB / 0.4893 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.1441, allocations: 80 kB / 0.4894 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.1455, allocations: 403.7 kB / 0.4898 GB, free: 180 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.1458, allocations: 211 kB / 0.49 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.147, allocations: 0.6568 MB / 0.4906 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.1498, allocations: 1.604 MB / 0.4922 GB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1498, allocations: 0 / 0.4922 GB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1498, allocations: 0 / 0.4922 GB, free: 13.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.23e-05/0.1499, allocations: 0 / 0.4922 GB, free: 13.7 MB / 382.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.007576/0.1574, allocations: 2.128 MB / 0.4943 GB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1575, allocations: 11.97 kB / 0.4943 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/0.1584, allocations: 175.4 kB / 0.4944 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.1603, allocations: 0.8018 MB / 0.4952 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.1604, allocations: 66.38 kB / 0.4953 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.1605, allocations: 88.38 kB / 0.4954 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.1622, allocations: 1.022 MB / 0.4964 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.1622, allocations: 3.938 kB / 0.4964 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/0.1623, allocations: 40 kB / 0.4964 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.1623, allocations: 24 kB / 0.4964 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.1637, allocations: 0.7999 MB / 0.4972 GB, free: 8.32 MB / 382.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.008307/0.172, allocations: 6.609 MB / 0.5037 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.1735, allocations: 0.722 MB / 0.5044 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.1739, allocations: 278.8 kB / 0.5046 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.718e-05/0.174, allocations: 12.72 kB / 0.5046 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.1741, allocations: 47.22 kB / 0.5047 GB, free: 296 kB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.345e-06/0.1741, allocations: 0 / 0.5047 GB, free: 296 kB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.2665/0.4406, allocations: 1.291 MB / 0.5059 GB, free: 34.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.4406, allocations: 59.73 kB / 0.506 GB, free: 34.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.4422, allocations: 0.9942 MB / 0.507 GB, free: 33.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/0.4423, allocations: 42.3 kB / 0.507 GB, free: 33.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.4427, allocations: 0.5058 MB / 0.5075 GB, free: 33.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.443, allocations: 312 kB / 0.5078 GB, free: 33.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006895/0.4437, allocations: 488.3 kB / 0.5083 GB, free: 33.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.4438, allocations: 337.1 kB / 0.5086 GB, free: 33.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.4448, allocations: 0.6532 MB / 0.5092 GB, free: 32.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.446, allocations: 0.8556 MB / 0.5101 GB, free: 32.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.4477, allocations: 1.234 MB / 0.5113 GB, free: 31.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.4477, allocations: 1.188 kB / 0.5113 GB, free: 31.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003467/0.4512, allocations: 2.142 MB / 0.5134 GB, free: 31.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4512, allocations: 5.625 kB / 0.5134 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.4513, allocations: 5.141 kB / 0.5134 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006795/0.4519, allocations: 182.9 kB / 0.5135 GB, free: 30.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/0.4539, allocations: 0.5137 MB / 0.5141 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.4573, allocations: 2.702 MB / 0.5167 GB, free: 28.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.4593, allocations: 167.1 kB / 0.5168 GB, free: 28.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.4595, allocations: 79.55 kB / 0.5169 GB, free: 28.65 MB / 382.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.0004949/0.46, allocations: 292.1 kB / 0.5172 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.4602, allocations: 109.3 kB / 0.5173 GB, free: 28.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.4619, allocations: 0.7896 MB / 0.5181 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4619, allocations: 12.16 kB / 0.5181 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4619, allocations: 0 / 0.5181 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.4619, allocations: 4.078 kB / 0.5181 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.4646, allocations: 1.804 MB / 0.5199 GB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4647, allocations: 1.406 kB / 0.5199 GB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.4651, allocations: 110.3 kB / 0.52 GB, free: 27.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005671/0.4657, allocations: 168.9 kB / 0.5201 GB, free: 27.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.4658, allocations: 16 kB / 0.5201 GB, free: 27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00273/0.4685, allocations: 2.647 MB / 0.5227 GB, free: 24.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4685, allocations: 8.656 kB / 0.5227 GB, free: 24.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.4701, allocations: 0.8656 MB / 0.5236 GB, free: 24.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.4706, allocations: 274.9 kB / 0.5238 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.4708, allocations: 24.22 kB / 0.5239 GB, free: 24.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007562/0.4715, allocations: 26.72 kB / 0.5239 GB, free: 24.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4716, allocations: 46 kB / 0.5239 GB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.4717, allocations: 22.08 kB / 0.524 GB, free: 24.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009019/0.4726, allocations: 0.6155 MB / 0.5246 GB, free: 23.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4726, allocations: 0 / 0.5246 GB, free: 23.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001448/0.474, allocations: 0.5068 MB / 0.525 GB, free: 23.79 MB / 382.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.0003068/0.4744, allocations: 179.3 kB / 0.5252 GB, free: 23.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.477, allocations: 1.574 MB / 0.5268 GB, free: 23.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.477, allocations: 1.031 kB / 0.5268 GB, free: 23.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.4777, allocations: 484.1 kB / 0.5272 GB, free: 22.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.4785, allocations: 96.45 kB / 0.5273 GB, free: 22.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.4807, allocations: 1.519 MB / 0.5288 GB, free: 21.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.4813, allocations: 0.9992 MB / 0.5298 GB, free: 21.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.4816, allocations: 97.36 kB / 0.5299 GB, free: 21.14 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4816, allocations: 0 / 0.5299 GB, free: 21.14 MB / 382.1 MB Notification: Performance of Templates: time 0.02203/0.5036, allocations: 18.77 MB / 0.5482 GB, free: 5.691 MB / 382.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)