Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.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.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005104/0.005104, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001154/0.001154, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07498/0.07498, allocations: 16.78 MB / 307.3 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 68.09 kB / 426.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 53.56 MB / 480.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.006421/0.1336, allocations: 4.589 MB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.1379, allocations: 2.504 MB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.1383, allocations: 15.94 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007548/0.1391, allocations: 254.4 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.1418, allocations: 1.196 MB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009412/0.1427, allocations: 484.2 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.144, allocations: 1.043 MB / 490.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1442, allocations: 77.73 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004139/0.1447, allocations: 374.4 kB / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.1451, allocations: 382.3 kB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/0.1452, allocations: 40 kB / 491.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/0.1459, allocations: 303.7 kB / 491.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.146, allocations: 115.4 kB / 491.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.1463, allocations: 346.1 kB / 491.8 MB, free: 9.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.1473, allocations: 0.9073 MB / 492.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1473, allocations: 0 / 492.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1474, allocations: 4 kB / 492.7 MB, free: 8.324 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1474, allocations: 0 / 492.7 MB, free: 8.324 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003242/0.1506, allocations: 1.259 MB / 494 MB, free: 7.012 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1507, allocations: 15.91 kB / 494 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.151, allocations: 96.06 kB / 494.1 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.1519, allocations: 0.5103 MB / 494.6 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.152, allocations: 37.31 kB / 494.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.152, allocations: 44.38 kB / 494.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.1527, allocations: 0.5232 MB / 495.2 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1527, allocations: 0 / 495.2 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.1528, allocations: 23.94 kB / 495.2 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1528, allocations: 8 kB / 495.2 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005549/0.1534, allocations: 374.2 kB / 495.6 MB, free: 5.273 MB / 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.003435/0.1568, allocations: 3.42 MB / 499 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.1574, allocations: 307.1 kB / 499.3 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.1576, allocations: 109.4 kB / 499.4 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.1577, allocations: 4.281 kB / 499.4 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1577, allocations: 38.84 kB / 499.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 3.627e-06/0.1577, allocations: 0 / 499.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009641/0.1587, allocations: 0.497 MB / 500 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.1588, allocations: 59.34 kB / 0.4883 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006935/0.1595, allocations: 0.5962 MB / 0.4889 GB, free: 15.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.1595, allocations: 33.7 kB / 0.4889 GB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.1597, allocations: 312.1 kB / 0.4892 GB, free: 15.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.1599, allocations: 134.3 kB / 0.4893 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.1602, allocations: 254.6 kB / 0.4896 GB, free: 15.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1604, allocations: 382.8 kB / 0.4899 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004685/0.1608, allocations: 318.5 kB / 0.4902 GB, free: 14.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.1614, allocations: 434.5 kB / 0.4907 GB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007928/0.1622, allocations: 0.6078 MB / 0.4913 GB, free: 13.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1622, allocations: 0 / 0.4913 GB, free: 13.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00146/0.1637, allocations: 1.02 MB / 0.4922 GB, free: 12.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1637, allocations: 8.125 kB / 0.4923 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1637, allocations: 8 kB / 0.4923 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.164, allocations: 44.7 kB / 0.4923 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/0.1649, allocations: 259.6 kB / 0.4926 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.1661, allocations: 1.426 MB / 0.4939 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007485/0.1668, allocations: 87.2 kB / 0.494 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.1669, allocations: 40.12 kB / 0.4941 GB, free: 10.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (165): * Single equations (assignments): 164 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002912/0.1672, allocations: 209.5 kB / 0.4943 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1673, allocations: 59.25 kB / 0.4943 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005815/0.1679, allocations: 341 kB / 0.4946 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1679, allocations: 4 kB / 0.4947 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1679, allocations: 0 / 0.4947 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.1679, allocations: 11.92 kB / 0.4947 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.1691, allocations: 0.9892 MB / 0.4956 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1691, allocations: 0 / 0.4956 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.1693, allocations: 55.92 kB / 0.4957 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.1694, allocations: 28.83 kB / 0.4957 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.1695, allocations: 8 kB / 0.4957 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.1705, allocations: 1.434 MB / 0.4971 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1705, allocations: 3.938 kB / 0.4971 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.1711, allocations: 439 kB / 0.4975 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.1713, allocations: 184.2 kB / 0.4977 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.1714, allocations: 15.98 kB / 0.4977 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.1718, allocations: 19.98 kB / 0.4978 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.1718, allocations: 23.97 kB / 0.4978 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.1719, allocations: 12 kB / 0.4978 GB, free: 6.359 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004321/0.1723, allocations: 394.8 kB / 0.4982 GB, free: 5.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1723, allocations: 0 / 0.4982 GB, free: 5.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006839/0.173, allocations: 243.8 kB / 0.4984 GB, free: 5.738 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 30 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002778/0.1733, allocations: 151.4 kB / 0.4985 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.1745, allocations: 0.7871 MB / 0.4993 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1745, allocations: 4.25 kB / 0.4993 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.1748, allocations: 242.5 kB / 0.4995 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.1753, allocations: 62.27 kB / 0.4996 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1767, allocations: 0.8477 MB / 0.5004 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1771, allocations: 0.8406 MB / 0.5013 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002985/0.1774, allocations: 101.2 kB / 0.5013 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.1775, allocations: 51.42 kB / 0.5014 GB, free: 2.566 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1775, allocations: 0 / 0.5014 GB, free: 2.566 MB / 382.1 MB Notification: Performance of Templates: time 0.2707/0.4482, allocations: 7.378 MB / 0.5086 GB, free: 33.39 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1)