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.0009745/0.0009746, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.226/1.226, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001553/0.001553, allocations: 126 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2302/0.2302, allocations: 38 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08085/0.08121, allocations: 53.22 MB / 457 MB, free: 15.58 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2881/0.3693, allocations: 89.02 MB / 0.5332 GB, free: 6.633 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.3695, allocations: 82.25 kB / 0.5333 GB, free: 6.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02875/0.3983, allocations: 13.19 MB / 0.5462 GB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3984, allocations: 3.938 kB / 0.5462 GB, free: 11.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.3984, allocations: 7.625 kB / 0.5462 GB, free: 11.64 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.0007647/0.3992, allocations: 0.4964 MB / 0.5467 GB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3992, allocations: 12.02 kB / 0.5467 GB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008765/0.4001, allocations: 95.7 kB / 0.5468 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.4005, allocations: 262.8 kB / 0.547 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.4005, allocations: 11.19 kB / 0.547 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.4006, allocations: 23.05 kB / 0.5471 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.401, allocations: 309.5 kB / 0.5474 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4011, allocations: 3.938 kB / 0.5474 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.4011, allocations: 9.016 kB / 0.5474 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.989e-05/0.4012, allocations: 25.09 kB / 0.5474 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.4016, allocations: 284.7 kB / 0.5477 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.4032, allocations: 1.286 MB / 0.5489 GB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.4035, allocations: 229.8 kB / 0.5491 GB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.4036, allocations: 0 / 0.5491 GB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.4036, allocations: 41.81 kB / 0.5492 GB, free: 8.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.4036, allocations: 224 / 0.5492 GB, free: 8.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006007/0.4042, allocations: 265.4 kB / 0.5494 GB, free: 8.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.4043, allocations: 77.11 kB / 0.5495 GB, free: 8.402 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.4045, allocations: 180.5 kB / 0.5497 GB, free: 8.238 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4045, allocations: 27.2 kB / 0.5497 GB, free: 8.207 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4046, allocations: 169.1 kB / 0.5499 GB, free: 8.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.4046, allocations: 42.73 kB / 0.5499 GB, free: 8.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-06/0.4047, allocations: 11 kB / 0.5499 GB, free: 8.012 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4048, allocations: 329.2 kB / 0.5502 GB, free: 7.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/0.4049, allocations: 44.41 kB / 0.5503 GB, free: 7.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.4051, allocations: 139.9 kB / 0.5504 GB, free: 7.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.4052, allocations: 70.98 kB / 0.5505 GB, free: 7.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4052, allocations: 7.938 kB / 0.5505 GB, free: 7.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003419/0.4056, allocations: 214.6 kB / 0.5507 GB, free: 7.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4056, allocations: 8 kB / 0.5507 GB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4056, allocations: 4 kB / 0.5507 GB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4056, allocations: 4 kB / 0.5507 GB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.4058, allocations: 45.61 kB / 0.5507 GB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.4058, allocations: 4 kB / 0.5508 GB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.406, allocations: 15.48 kB / 0.5508 GB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.406, allocations: 9.188 kB / 0.5508 GB, free: 7.18 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.0001356/0.4061, allocations: 159.1 kB / 0.5509 GB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.4062, allocations: 23.83 kB / 0.5509 GB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.4064, allocations: 150.1 kB / 0.5511 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4065, allocations: 0 / 0.5511 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4065, allocations: 4 kB / 0.5511 GB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4065, allocations: 0 / 0.5511 GB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.4073, allocations: 0.6568 MB / 0.5517 GB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4073, allocations: 4.438 kB / 0.5517 GB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4074, allocations: 35.88 kB / 0.5518 GB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.4075, allocations: 11.94 kB / 0.5518 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4075, allocations: 6.875 kB / 0.5518 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.4075, allocations: 7.984 kB / 0.5518 GB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.4075, allocations: 7.938 kB / 0.5518 GB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.4079, allocations: 0.493 MB / 0.5523 GB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.4079, allocations: 96.91 kB / 0.5524 GB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.408, allocations: 8 kB / 0.5524 GB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.4081, allocations: 7.625 kB / 0.5524 GB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.4081, allocations: 27.56 kB / 0.5524 GB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.4081, allocations: 4 kB / 0.5524 GB, free: 5.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.4082, allocations: 145.6 kB / 0.5526 GB, free: 5.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4083, allocations: 0 / 0.5526 GB, free: 5.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.4086, allocations: 43.62 kB / 0.5526 GB, free: 5.254 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.0001377/0.4088, allocations: 121.3 kB / 0.5527 GB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.409, allocations: 126.1 kB / 0.5528 GB, free: 5.035 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.409, allocations: 0 / 0.5528 GB, free: 5.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.4091, allocations: 68.41 kB / 0.5529 GB, free: 4.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.4094, allocations: 35.62 kB / 0.5529 GB, free: 4.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007454/0.4101, allocations: 0.5688 MB / 0.5535 GB, free: 4.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.4104, allocations: 0.7703 MB / 0.5543 GB, free: 3.566 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.4106, allocations: 41.52 kB / 0.5543 GB, free: 3.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.4106, allocations: 23.42 kB / 0.5543 GB, free: 3.504 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4106, allocations: 0 / 0.5543 GB, free: 3.504 MB / 362.7 MB Notification: Performance of Templates: time 0.00359/0.4142, allocations: 1.209 MB / 0.5555 GB, free: 2.301 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)