Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.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.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001429/0.001429, allocations: 187 kB / 17.34 MB, free: 5.742 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07305/0.07305, allocations: 16.77 MB / 308 MB, free: 14.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 427.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1188, allocations: 53.56 MB / 480.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02718/0.146, allocations: 28.74 MB / 0.4976 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3142/0.4602, allocations: 8.164 MB / 0.5056 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005449/0.4658, allocations: 59.53 kB / 0.5056 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005466/0.4713, allocations: 1.069 MB / 0.5067 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.4832, allocations: 3.511 MB / 0.5101 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00436/0.4876, allocations: 1.393 MB / 0.5115 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0128/0.5004, allocations: 6.481 MB / 0.5178 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.5025, allocations: 467.9 kB / 0.5182 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006855/0.5094, allocations: 2.193 MB / 0.5204 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006625/0.5161, allocations: 2.375 MB / 0.5227 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001974/0.5181, allocations: 255.7 kB / 0.5229 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005659/0.5238, allocations: 0.7513 MB / 0.5237 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0018/0.5256, allocations: 0.6662 MB / 0.5243 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007581/0.5332, allocations: 2.071 MB / 0.5264 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.546, allocations: 4.695 MB / 0.5309 GB, free: 13.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.5461, allocations: 2.375 kB / 0.5309 GB, free: 13.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5461, allocations: 0 / 0.5309 GB, free: 13.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002473/0.5463, allocations: 0 / 0.5309 GB, free: 13.61 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 664 * Number of variables: 664 Notification: Performance of Generate backend data structure: time 0.02799/0.5743, allocations: 5.971 MB / 0.5368 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.5744, allocations: 11.16 kB / 0.5368 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.5781, allocations: 0.54 MB / 0.5373 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00713/0.5853, allocations: 2.179 MB / 0.5394 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/0.5857, allocations: 203.4 kB / 0.5396 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009748/0.5867, allocations: 274.4 kB / 0.5399 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009521/0.5962, allocations: 3.181 MB / 0.543 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.5964, allocations: 20.75 kB / 0.543 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006802/0.5971, allocations: 119.8 kB / 0.5431 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.59e-05/0.5972, allocations: 71.06 kB / 0.5432 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004551/0.6017, allocations: 2.525 MB / 0.5457 GB, free: 3.52 MB / 398.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.0271/0.6289, allocations: 20.49 MB / 0.5657 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00497/0.6339, allocations: 2.523 MB / 0.5681 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.6355, allocations: 0.9483 MB / 0.5691 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.6356, allocations: 41.12 kB / 0.5691 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/0.6357, allocations: 64.56 kB / 0.5692 GB, free: 10.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=252): time 4.749e-06/0.6357, allocations: 0 / 0.5692 GB, free: 10.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.02197/0.6577, allocations: 5.983 MB / 0.575 GB, free: 4.621 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.6578, allocations: 77.41 kB / 0.5751 GB, free: 4.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006584/0.6644, allocations: 2.942 MB / 0.578 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005559/0.665, allocations: 77.7 kB / 0.578 GB, free: 1.504 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.6668, allocations: 1.417 MB / 0.5794 GB, free: 108 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00189/0.6687, allocations: 1.016 MB / 0.5804 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004949/0.6736, allocations: 1.509 MB / 0.5819 GB, free: 13.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6738, allocations: 309.1 kB / 0.5822 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004632/0.6784, allocations: 2.078 MB / 0.5842 GB, free: 11.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005207/0.6836, allocations: 2.749 MB / 0.5869 GB, free: 8.355 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008414/0.6921, allocations: 3.972 MB / 0.5908 GB, free: 4.262 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-05/0.6922, allocations: 0 / 0.5908 GB, free: 4.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.0183/0.7105, allocations: 6.984 MB / 0.5976 GB, free: 13.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.7106, allocations: 8 kB / 0.5976 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/0.7106, allocations: 4 kB / 0.5976 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002797/0.7134, allocations: 0.9358 MB / 0.5985 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007095/0.7205, allocations: 1.654 MB / 0.6001 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.733, allocations: 6.991 MB / 0.607 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008407/0.7415, allocations: 0.5459 MB / 0.6075 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/0.743, allocations: 263.9 kB / 0.6077 GB, free: 2.641 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1034): * Single equations (assignments): 1032 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(8,56)} Notification: Performance of prepare postOptimizeDAE: time 0.002938/0.7459, allocations: 0.6763 MB / 0.6084 GB, free: 1.957 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/0.7476, allocations: 344 kB / 0.6087 GB, free: 1.617 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00667/0.7543, allocations: 2.686 MB / 0.6114 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.879e-05/0.7544, allocations: 27.98 kB / 0.6114 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.7544, allocations: 4 kB / 0.6114 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.7544, allocations: 11.95 kB / 0.6114 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.767, allocations: 5.539 MB / 0.6168 GB, free: 9.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.767, allocations: 0 / 0.6168 GB, free: 9.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.7686, allocations: 379.6 kB / 0.6172 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/0.7711, allocations: 0.752 MB / 0.6179 GB, free: 8.168 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.7713, allocations: 40 kB / 0.6179 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/0.7834, allocations: 6.767 MB / 0.6245 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7834, allocations: 3.938 kB / 0.6246 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009579/0.793, allocations: 2.755 MB / 0.6272 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002963/0.796, allocations: 0.7035 MB / 0.6279 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/0.7976, allocations: 44 kB / 0.628 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003906/0.8015, allocations: 107.8 kB / 0.6281 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004639/0.802, allocations: 161.7 kB / 0.6282 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002688/0.8023, allocations: 71.97 kB / 0.6283 GB, free: 13.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004397/0.8067, allocations: 1.775 MB / 0.63 GB, free: 11.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.8068, allocations: 0 / 0.63 GB, free: 11.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009372/0.8161, allocations: 1.609 MB / 0.6316 GB, free: 9.906 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (188): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(8,56)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.8174, allocations: 296.7 kB / 0.6319 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01517/0.8326, allocations: 5.089 MB / 0.6369 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.8327, allocations: 0 / 0.6369 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003549/0.8362, allocations: 1.543 MB / 0.6384 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005462/0.8417, allocations: 255.1 kB / 0.6386 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.8533, allocations: 4.614 MB / 0.6431 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002133/0.8555, allocations: 1.726 MB / 0.6448 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.8572, allocations: 279.4 kB / 0.6451 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/0.8572, allocations: 0 / 0.6451 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.1134/0.9706, allocations: 70.09 MB / 0.7135 GB, free: 5.785 MB / 0.5606 GB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)