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.001256/0.001256, allocations: 178.7 kB / 17.4 MB, free: 4.414 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.477/1.477, allocations: 194.5 MB / 212.6 MB, free: 2.855 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.001671/0.001671, allocations: 122.7 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.1724/0.1724, allocations: 38.01 MB / 341.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09869, allocations: 53.23 MB / 458.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3773/0.476, allocations: 95 MB / 0.5403 GB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4764, allocations: 104.9 kB / 0.5404 GB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03357/0.5099, allocations: 11.47 MB / 0.5516 GB, free: 5.953 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.51, allocations: 0 / 0.5516 GB, free: 5.953 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.135e-05/0.5101, allocations: 12 kB / 0.5516 GB, free: 5.941 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.001857/0.5119, allocations: 0.8319 MB / 0.5524 GB, free: 5.094 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.512, allocations: 8.031 kB / 0.5524 GB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.5122, allocations: 60.19 kB / 0.5525 GB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.514, allocations: 0.8047 MB / 0.5533 GB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.5141, allocations: 36.86 kB / 0.5533 GB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-05/0.5142, allocations: 36.38 kB / 0.5533 GB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009056/0.5151, allocations: 0.5349 MB / 0.5539 GB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.5151, allocations: 7.938 kB / 0.5539 GB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.5152, allocations: 17.06 kB / 0.5539 GB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.5152, allocations: 17 kB / 0.5539 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.5159, allocations: 394 kB / 0.5543 GB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002699/0.5186, allocations: 1.942 MB / 0.5562 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.5192, allocations: 323 kB / 0.5565 GB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.5195, allocations: 180.7 kB / 0.5567 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.5196, allocations: 4 kB / 0.5567 GB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.5199, allocations: 280.6 kB / 0.5569 GB, free: 1.109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.106e-06/0.52, allocations: 0 / 0.5569 GB, free: 1.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00203/0.522, allocations: 1.184 MB / 0.5581 GB, free: 80 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.5221, allocations: 166.2 kB / 0.5582 GB, free: 15.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.5226, allocations: 400.2 kB / 0.5586 GB, free: 15.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.5227, allocations: 33.08 kB / 0.5587 GB, free: 15.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.5229, allocations: 288.4 kB / 0.5589 GB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.523, allocations: 115.7 kB / 0.559 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.5231, allocations: 11.19 kB / 0.559 GB, free: 15.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.5232, allocations: 358.3 kB / 0.5594 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.5235, allocations: 116.8 kB / 0.5595 GB, free: 14.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.5238, allocations: 289.8 kB / 0.5598 GB, free: 14.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/0.5245, allocations: 475.7 kB / 0.5602 GB, free: 14.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5245, allocations: 4 kB / 0.5602 GB, free: 14.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008864/0.5254, allocations: 0.5198 MB / 0.5607 GB, free: 13.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.5255, allocations: 33.7 kB / 0.5608 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.5255, allocations: 4 kB / 0.5608 GB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.099e-05/0.5255, allocations: 8 kB / 0.5608 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/0.5261, allocations: 115.2 kB / 0.5609 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.5261, allocations: 11.94 kB / 0.5609 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.5264, allocations: 26.7 kB / 0.5609 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.5264, allocations: 35.42 kB / 0.561 GB, free: 13.38 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 (60): * Single equations (assignments): 59 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003033/0.5268, allocations: 252.4 kB / 0.5612 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.5268, allocations: 43.44 kB / 0.5612 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.5275, allocations: 447.6 kB / 0.5617 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.5275, allocations: 7.938 kB / 0.5617 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5275, allocations: 0 / 0.5617 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.5276, allocations: 4.047 kB / 0.5617 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.5288, allocations: 0.9529 MB / 0.5626 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5288, allocations: 0 / 0.5626 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.5291, allocations: 63.84 kB / 0.5627 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.5292, allocations: 4 kB / 0.5627 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.5292, allocations: 14.48 kB / 0.5627 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5292, allocations: 0 / 0.5627 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5292, allocations: 4 kB / 0.5627 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009368/0.5302, allocations: 0.7085 MB / 0.5634 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.5303, allocations: 143.2 kB / 0.5635 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.5304, allocations: 11.25 kB / 0.5635 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.5307, allocations: 15.61 kB / 0.5636 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.5307, allocations: 27.14 kB / 0.5636 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.5308, allocations: 31.22 kB / 0.5636 GB, free: 11.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000319/0.5311, allocations: 272.6 kB / 0.5639 GB, free: 10.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5311, allocations: 0 / 0.5639 GB, free: 10.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005448/0.5317, allocations: 113.6 kB / 0.564 GB, free: 10.77 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 (33): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003243/0.532, allocations: 141.4 kB / 0.5641 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006377/0.5327, allocations: 405.9 kB / 0.5645 GB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.143e-05/0.5327, allocations: 1.375 kB / 0.5645 GB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.5331, allocations: 260.2 kB / 0.5647 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.5337, allocations: 100.2 kB / 0.5648 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.5355, allocations: 1.185 MB / 0.566 GB, free: 8.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.5362, allocations: 0.8814 MB / 0.5669 GB, free: 7.996 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003433/0.5365, allocations: 88.31 kB / 0.5669 GB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.5366, allocations: 39.42 kB / 0.567 GB, free: 7.871 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5366, allocations: 0 / 0.567 GB, free: 7.871 MB / 378.7 MB Notification: Performance of Templates: time 0.01009/0.5467, allocations: 4.209 MB / 0.5711 GB, free: 3.672 MB / 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)