Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001201/0.001201, 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.183/1.183, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001521/0.001521, allocations: 115 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1626/0.1626, allocations: 38 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005602/0.0005602, allocations: 12 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.0932, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2731/0.3664, allocations: 90.37 MB / 0.5345 GB, free: 5.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.3667, allocations: 85.64 kB / 0.5346 GB, free: 5.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03091/0.3976, allocations: 14.64 MB / 0.5489 GB, free: 9.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3976, allocations: 0 / 0.5489 GB, free: 9.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.3977, allocations: 11.94 kB / 0.5489 GB, free: 9.406 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.0006754/0.3983, allocations: 0.5023 MB / 0.5494 GB, free: 8.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3984, allocations: 12.02 kB / 0.5494 GB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009012/0.3993, allocations: 112.7 kB / 0.5495 GB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.3997, allocations: 264.4 kB / 0.5498 GB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3997, allocations: 12.69 kB / 0.5498 GB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.3998, allocations: 25.42 kB / 0.5498 GB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.4003, allocations: 315.4 kB / 0.5501 GB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4003, allocations: 0 / 0.5501 GB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.4003, allocations: 9.188 kB / 0.5501 GB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.4004, allocations: 17.14 kB / 0.5502 GB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.4008, allocations: 301.3 kB / 0.5504 GB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.4023, allocations: 1.274 MB / 0.5517 GB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.4026, allocations: 199.8 kB / 0.5519 GB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.4026, allocations: 0 / 0.5519 GB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.4026, allocations: 34.25 kB / 0.5519 GB, free: 6.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.4026, allocations: 0 / 0.5519 GB, free: 6.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000282/0.4029, allocations: 142.9 kB / 0.552 GB, free: 6.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.403, allocations: 81.09 kB / 0.5521 GB, free: 6.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.4032, allocations: 184.5 kB / 0.5523 GB, free: 6.113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4032, allocations: 29.64 kB / 0.5523 GB, free: 6.078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.4033, allocations: 172.5 kB / 0.5525 GB, free: 5.926 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.4033, allocations: 34.72 kB / 0.5525 GB, free: 5.898 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.4033, allocations: 4 kB / 0.5525 GB, free: 5.895 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4035, allocations: 333.8 kB / 0.5528 GB, free: 5.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.4035, allocations: 39.05 kB / 0.5529 GB, free: 5.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.4036, allocations: 135.1 kB / 0.553 GB, free: 5.379 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.5e-05/0.4037, allocations: 65.73 kB / 0.5531 GB, free: 5.332 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4038, allocations: 4 kB / 0.5531 GB, free: 5.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002489/0.404, allocations: 201.1 kB / 0.5533 GB, free: 5.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.404, allocations: 8 kB / 0.5533 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-06/0.404, allocations: 496 / 0.5533 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.4041, allocations: 15.98 kB / 0.5533 GB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.4042, allocations: 46.92 kB / 0.5533 GB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4043, allocations: 4 kB / 0.5533 GB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.4044, allocations: 27.2 kB / 0.5534 GB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.4044, allocations: 8 kB / 0.5534 GB, free: 5.059 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 (23): * Single equations (assignments): 23 * 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.0001128/0.4045, allocations: 154.3 kB / 0.5535 GB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.4046, allocations: 15.81 kB / 0.5535 GB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.4048, allocations: 119.2 kB / 0.5537 GB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.4048, allocations: 8 kB / 0.5537 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4048, allocations: 0 / 0.5537 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4048, allocations: 0 / 0.5537 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006698/0.4055, allocations: 0.5856 MB / 0.5542 GB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4055, allocations: 4 kB / 0.5542 GB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.4056, allocations: 19.94 kB / 0.5543 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4056, allocations: 0 / 0.5543 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.4056, allocations: 7.953 kB / 0.5543 GB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.4056, allocations: 7.984 kB / 0.5543 GB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4056, allocations: 4 kB / 0.5543 GB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.4059, allocations: 409.5 kB / 0.5547 GB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.406, allocations: 92.92 kB / 0.5548 GB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.406, allocations: 8.062 kB / 0.5548 GB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.4061, allocations: 7.672 kB / 0.5548 GB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.4061, allocations: 15.89 kB / 0.5548 GB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.4062, allocations: 7.938 kB / 0.5548 GB, free: 3.547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.4063, allocations: 160.3 kB / 0.5549 GB, free: 3.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4063, allocations: 0 / 0.5549 GB, free: 3.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003239/0.4066, allocations: 59.72 kB / 0.555 GB, free: 3.355 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.0001152/0.4067, allocations: 114.9 kB / 0.5551 GB, free: 3.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.4069, allocations: 111.6 kB / 0.5552 GB, free: 3.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4069, allocations: 4.125 kB / 0.5552 GB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.108e-05/0.407, allocations: 39.55 kB / 0.5553 GB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.4073, allocations: 35.61 kB / 0.5553 GB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.4079, allocations: 0.5101 MB / 0.5558 GB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.4082, allocations: 0.7669 MB / 0.5565 GB, free: 1.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.4083, allocations: 37.52 kB / 0.5566 GB, free: 1.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.4084, allocations: 15.44 kB / 0.5566 GB, free: 1.715 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4084, allocations: 0 / 0.5566 GB, free: 1.715 MB / 362.7 MB Notification: Performance of Templates: time 0.003127/0.4115, allocations: 1.121 MB / 0.5577 GB, free: 0.6055 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)