Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.000945/0.000945, allocations: 183.6 kB / 17.41 MB, free: 4.391 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.549/1.549, allocations: 194.5 MB / 212.6 MB, free: 2.953 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001955/0.001956, allocations: 115.4 kB / 257.9 MB, free: 4.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1821/0.1821, allocations: 38.02 MB / 341.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.000348, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09512, allocations: 53.23 MB / 458.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3375/0.4327, allocations: 89.04 MB / 0.5345 GB, free: 6.258 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.433, allocations: 90.48 kB / 0.5346 GB, free: 6.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02992/0.4629, allocations: 13.21 MB / 0.5475 GB, free: 11.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.463, allocations: 4 kB / 0.5475 GB, free: 11.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.463, allocations: 4 kB / 0.5475 GB, free: 11.23 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008685/0.4639, allocations: 0.4939 MB / 0.5479 GB, free: 10.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4639, allocations: 8.031 kB / 0.548 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.4648, allocations: 92.64 kB / 0.548 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.4651, allocations: 270.5 kB / 0.5483 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.4652, allocations: 23.94 kB / 0.5483 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.4653, allocations: 15.62 kB / 0.5483 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.4658, allocations: 313.9 kB / 0.5486 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.4658, allocations: 0 / 0.5486 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.4658, allocations: 10.81 kB / 0.5486 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-05/0.4659, allocations: 19.98 kB / 0.5487 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.4664, allocations: 280.7 kB / 0.5489 GB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.4684, allocations: 1.288 MB / 0.5502 GB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.4688, allocations: 225.4 kB / 0.5504 GB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.4689, allocations: 51.86 kB / 0.5505 GB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.469, allocations: 13 kB / 0.5505 GB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.469, allocations: 35.19 kB / 0.5505 GB, free: 8.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.469, allocations: 4 kB / 0.5505 GB, free: 8.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007493/0.4698, allocations: 264.8 kB / 0.5508 GB, free: 8.047 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.4698, allocations: 81.8 kB / 0.5508 GB, free: 7.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.4702, allocations: 196.3 kB / 0.551 GB, free: 7.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.4702, allocations: 27.52 kB / 0.5511 GB, free: 7.738 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.4703, allocations: 173.8 kB / 0.5512 GB, free: 7.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.4704, allocations: 46.05 kB / 0.5513 GB, free: 7.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.4704, allocations: 3.125 kB / 0.5513 GB, free: 7.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4705, allocations: 330.5 kB / 0.5516 GB, free: 7.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/0.4706, allocations: 45.09 kB / 0.5516 GB, free: 7.188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.4708, allocations: 145.5 kB / 0.5518 GB, free: 7.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.471, allocations: 209.9 kB / 0.552 GB, free: 6.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4711, allocations: 4 kB / 0.552 GB, free: 6.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004156/0.4715, allocations: 221.3 kB / 0.5522 GB, free: 6.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.4715, allocations: 4 kB / 0.5522 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4715, allocations: 4 kB / 0.5522 GB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4715, allocations: 4.438 kB / 0.5522 GB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.4717, allocations: 51.61 kB / 0.5522 GB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.4717, allocations: 11.92 kB / 0.5522 GB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.4718, allocations: 4 kB / 0.5523 GB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.4719, allocations: 19.5 kB / 0.5523 GB, free: 6.531 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.472, allocations: 162.5 kB / 0.5524 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.4721, allocations: 19.75 kB / 0.5524 GB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.4723, allocations: 139.7 kB / 0.5526 GB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4723, allocations: 4 kB / 0.5526 GB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4723, allocations: 4 kB / 0.5526 GB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4723, allocations: 0 / 0.5526 GB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007367/0.4731, allocations: 0.6518 MB / 0.5532 GB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4731, allocations: 4 kB / 0.5532 GB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.4732, allocations: 35.48 kB / 0.5533 GB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4732, allocations: 4 kB / 0.5533 GB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4732, allocations: 8.375 kB / 0.5533 GB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.4732, allocations: 11.92 kB / 0.5533 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.4732, allocations: 8 kB / 0.5533 GB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.4735, allocations: 326.2 kB / 0.5536 GB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.4736, allocations: 104.7 kB / 0.5537 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.4736, allocations: 7.938 kB / 0.5537 GB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4737, allocations: 11.56 kB / 0.5537 GB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.4738, allocations: 19.48 kB / 0.5537 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.4738, allocations: 11.94 kB / 0.5538 GB, free: 5.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.4739, allocations: 136.4 kB / 0.5539 GB, free: 4.902 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4739, allocations: 4 kB / 0.5539 GB, free: 4.898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004435/0.4744, allocations: 47.5 kB / 0.5539 GB, free: 4.855 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001303/0.4745, allocations: 118.6 kB / 0.554 GB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.4748, allocations: 133.2 kB / 0.5542 GB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4748, allocations: 192 / 0.5542 GB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.4749, allocations: 60.48 kB / 0.5542 GB, free: 4.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.4753, allocations: 44.41 kB / 0.5543 GB, free: 4.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.4762, allocations: 0.5761 MB / 0.5548 GB, free: 3.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.4765, allocations: 0.7562 MB / 0.5556 GB, free: 3.172 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.4767, allocations: 45.5 kB / 0.5556 GB, free: 3.125 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.4767, allocations: 17 kB / 0.5556 GB, free: 3.113 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4767, allocations: 0 / 0.5556 GB, free: 3.113 MB / 362.7 MB Notification: Performance of Templates: time 0.004007/0.4807, allocations: 1.224 MB / 0.5568 GB, free: 1.902 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)