Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001061/0.001061, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.436/1.436, 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.001666/0.001666, allocations: 123 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1958/0.1958, allocations: 37.99 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 12 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07824/0.07858, allocations: 53.23 MB / 457 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2808/0.3594, allocations: 94.97 MB / 0.539 GB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.3597, allocations: 95 kB / 0.5391 GB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02963/0.3893, allocations: 11.5 MB / 0.5504 GB, free: 6.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3893, allocations: 0 / 0.5504 GB, free: 6.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.521e-05/0.3894, allocations: 15.94 kB / 0.5504 GB, free: 6.336 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001203/0.3906, allocations: 0.8304 MB / 0.5512 GB, free: 5.492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3906, allocations: 20 kB / 0.5512 GB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.895e-05/0.3907, allocations: 55.34 kB / 0.5513 GB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/0.3936, allocations: 1.225 MB / 0.5525 GB, free: 4.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.3936, allocations: 31.81 kB / 0.5525 GB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.3937, allocations: 37.94 kB / 0.5525 GB, free: 4.289 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007008/0.3944, allocations: 0.5299 MB / 0.553 GB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3944, allocations: 3.953 kB / 0.5531 GB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.3944, allocations: 21.48 kB / 0.5531 GB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.3945, allocations: 24.67 kB / 0.5531 GB, free: 3.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005485/0.395, allocations: 393.1 kB / 0.5535 GB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.3971, allocations: 1.933 MB / 0.5554 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.3976, allocations: 330 kB / 0.5557 GB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3976, allocations: 4.062 kB / 0.5557 GB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.3979, allocations: 283.4 kB / 0.5559 GB, free: 1.273 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.398, allocations: 3.938 kB / 0.5559 GB, free: 1.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001819/0.3998, allocations: 1.44 MB / 0.5574 GB, free: 15.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/0.3999, allocations: 162.2 kB / 0.5575 GB, free: 15.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.4002, allocations: 351.4 kB / 0.5578 GB, free: 15.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.4002, allocations: 32.83 kB / 0.5579 GB, free: 15.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.4004, allocations: 299.2 kB / 0.5582 GB, free: 15.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.4005, allocations: 123.9 kB / 0.5583 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.4005, allocations: 6.25 kB / 0.5583 GB, free: 15.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4006, allocations: 358.2 kB / 0.5586 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.4008, allocations: 122.6 kB / 0.5587 GB, free: 14.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.4011, allocations: 286.1 kB / 0.559 GB, free: 14.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.4014, allocations: 182.4 kB / 0.5592 GB, free: 14.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4014, allocations: 4 kB / 0.5592 GB, free: 14.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007928/0.4022, allocations: 0.6154 MB / 0.5598 GB, free: 13.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.4022, allocations: 33.7 kB / 0.5598 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4022, allocations: 12.06 kB / 0.5598 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.74e-05/0.4023, allocations: 28.97 kB / 0.5599 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.4027, allocations: 103.5 kB / 0.56 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009001/0.4036, allocations: 1.376 MB / 0.5613 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.4039, allocations: 27.36 kB / 0.5613 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.404, allocations: 32.61 kB / 0.5614 GB, free: 12.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.4042, allocations: 256.3 kB / 0.5616 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.4043, allocations: 47.44 kB / 0.5617 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000682/0.405, allocations: 0.5443 MB / 0.5622 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.405, allocations: 4 kB / 0.5622 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.405, allocations: 0 / 0.5622 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.405, allocations: 8.047 kB / 0.5622 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.4062, allocations: 1.054 MB / 0.5632 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4062, allocations: 0 / 0.5632 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.4065, allocations: 59.53 kB / 0.5633 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.271e-05/0.4065, allocations: 24.53 kB / 0.5633 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.4065, allocations: 7.625 kB / 0.5633 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007866/0.4073, allocations: 1.375 MB / 0.5647 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.4074, allocations: 8.141 kB / 0.5647 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/0.4082, allocations: 0.829 MB / 0.5655 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.4084, allocations: 139.5 kB / 0.5656 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.4085, allocations: 10.25 kB / 0.5656 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.4087, allocations: 19.3 kB / 0.5656 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.4088, allocations: 28.16 kB / 0.5657 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.4088, allocations: 34.7 kB / 0.5657 GB, free: 7.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000232/0.4091, allocations: 267.7 kB / 0.566 GB, free: 7.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4091, allocations: 0 / 0.566 GB, free: 7.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005023/0.4096, allocations: 115.1 kB / 0.5661 GB, free: 7.543 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.4098, allocations: 151.8 kB / 0.5662 GB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006478/0.4105, allocations: 0.5081 MB / 0.5667 GB, free: 6.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4105, allocations: 0 / 0.5667 GB, free: 6.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.4108, allocations: 375.5 kB / 0.5671 GB, free: 6.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.4112, allocations: 96.47 kB / 0.5672 GB, free: 6.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.4126, allocations: 1.183 MB / 0.5683 GB, free: 5.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4131, allocations: 0.8965 MB / 0.5692 GB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002762/0.4134, allocations: 84.31 kB / 0.5693 GB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.4135, allocations: 39.42 kB / 0.5693 GB, free: 4.387 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4135, allocations: 0 / 0.5693 GB, free: 4.387 MB / 378.7 MB Notification: Performance of Templates: time 0.008214/0.4217, allocations: 4.37 MB / 0.5736 GB, free: 32 kB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)