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.006687/0.006687, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.00126/0.00126, allocations: 188.4 kB / 16.67 MB, free: 5.422 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07341/0.07341, allocations: 16.78 MB / 307.3 MB, free: 14.38 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 426.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1114, allocations: 53.56 MB / 480.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02564/0.1371, allocations: 28.73 MB / 0.4969 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2869/0.4241, allocations: 8.154 MB / 0.5049 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004854/0.429, allocations: 66.22 kB / 0.505 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003819/0.4328, allocations: 1.067 MB / 0.506 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.4443, allocations: 3.728 MB / 0.5097 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003653/0.4479, allocations: 1.392 MB / 0.511 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01062/0.4585, allocations: 6.489 MB / 0.5174 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.46, allocations: 460.9 kB / 0.5178 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005262/0.4652, allocations: 2.184 MB / 0.5199 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005367/0.4706, allocations: 2.384 MB / 0.5223 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.4718, allocations: 255.4 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.4758, allocations: 0.7408 MB / 0.5232 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006761/0.4765, allocations: 0.6674 MB / 0.5239 GB, free: 388 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00454/0.481, allocations: 2.071 MB / 0.5259 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008265/0.4893, allocations: 4.699 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.4894, allocations: 2.906 kB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4894, allocations: 0 / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001458/0.4895, allocations: 0 / 0.5305 GB, free: 13.42 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.02377/0.5133, allocations: 5.975 MB / 0.5363 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5134, allocations: 11.84 kB / 0.5363 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/0.5159, allocations: 0.5347 MB / 0.5369 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005243/0.5212, allocations: 2.182 MB / 0.539 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.5213, allocations: 207.6 kB / 0.5392 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.5217, allocations: 267.2 kB / 0.5394 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004469/0.5262, allocations: 3.178 MB / 0.5425 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/0.5262, allocations: 28.48 kB / 0.5426 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.5265, allocations: 123.5 kB / 0.5427 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/0.5265, allocations: 69.38 kB / 0.5428 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003754/0.5303, allocations: 2.524 MB / 0.5452 GB, free: 3.27 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.02288/0.5532, allocations: 20.5 MB / 0.5652 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004278/0.5575, allocations: 2.519 MB / 0.5677 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.5588, allocations: 0.9483 MB / 0.5686 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.5589, allocations: 44.03 kB / 0.5687 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.559, allocations: 64.56 kB / 0.5687 GB, free: 10.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=252): time 4.058e-06/0.559, allocations: 0 / 0.5687 GB, free: 10.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.01963/0.5786, allocations: 5.984 MB / 0.5746 GB, free: 4.371 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.5787, allocations: 77.41 kB / 0.5746 GB, free: 4.285 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004692/0.5834, allocations: 2.942 MB / 0.5775 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003638/0.5838, allocations: 73.7 kB / 0.5776 GB, free: 1.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.585, allocations: 1.42 MB / 0.579 GB, free: 15.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/0.5862, allocations: 1.009 MB / 0.58 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002105/0.5884, allocations: 1.512 MB / 0.5814 GB, free: 13.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.5885, allocations: 309.1 kB / 0.5817 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003099/0.5916, allocations: 2.071 MB / 0.5837 GB, free: 10.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003708/0.5953, allocations: 2.75 MB / 0.5864 GB, free: 8.113 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005797/0.6011, allocations: 3.98 MB / 0.5903 GB, free: 4.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.6011, allocations: 0 / 0.5903 GB, free: 4.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01185/0.613, allocations: 6.98 MB / 0.5971 GB, free: 12.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.6131, allocations: 8 kB / 0.5971 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.6131, allocations: 4 kB / 0.5971 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/0.6157, allocations: 0.9355 MB / 0.5981 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005947/0.6216, allocations: 1.658 MB / 0.5997 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.632, allocations: 6.998 MB / 0.6065 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006336/0.6384, allocations: 0.5459 MB / 0.607 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000593/0.639, allocations: 256 kB / 0.6073 GB, free: 2.395 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.001326/0.6403, allocations: 0.6778 MB / 0.608 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006896/0.641, allocations: 344 kB / 0.6083 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/0.6459, allocations: 2.682 MB / 0.6109 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.6459, allocations: 24 kB / 0.6109 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6459, allocations: 0 / 0.6109 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.646, allocations: 15.95 kB / 0.6109 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008592/0.6546, allocations: 5.537 MB / 0.6163 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.6546, allocations: 4.062 kB / 0.6163 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.656, allocations: 375.5 kB / 0.6167 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/0.6583, allocations: 0.7442 MB / 0.6174 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/0.6585, allocations: 47.98 kB / 0.6175 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.6692, allocations: 6.778 MB / 0.6241 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6693, allocations: 3.938 kB / 0.6241 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00601/0.6753, allocations: 2.767 MB / 0.6268 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/0.6776, allocations: 0.6957 MB / 0.6275 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005363/0.6781, allocations: 44 kB / 0.6275 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00223/0.6804, allocations: 111.7 kB / 0.6276 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/0.6807, allocations: 157.7 kB / 0.6278 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.6809, allocations: 79.97 kB / 0.6279 GB, free: 13.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002572/0.6834, allocations: 1.77 MB / 0.6296 GB, free: 11.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6835, allocations: 0 / 0.6296 GB, free: 11.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003973/0.6874, allocations: 1.605 MB / 0.6312 GB, free: 9.656 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.0005314/0.688, allocations: 296.7 kB / 0.6314 GB, free: 9.371 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008284/0.6963, allocations: 5.08 MB / 0.6364 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/0.6963, allocations: 4 kB / 0.6364 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002474/0.6988, allocations: 1.547 MB / 0.6379 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.701, allocations: 258.5 kB / 0.6382 GB, free: 2.418 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.7085, allocations: 4.559 MB / 0.6426 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.7096, allocations: 1.726 MB / 0.6443 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001929/0.7115, allocations: 0.5582 MB / 0.6448 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006597/0.7122, allocations: 247.4 kB / 0.6451 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of SimCode: time 1.814e-06/0.7122, allocations: 0 / 0.6451 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.07396/0.7862, allocations: 45.52 MB / 0.6895 GB, free: 13.9 MB / 0.545 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)