Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 173.5 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009075/0.0009072, allocations: 93.95 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1756/0.1756, allocations: 38.06 MB / 357.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.000538, allocations: 12 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4497, allocations: 56.32 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.6778, allocations: 110 MB / 0.5764 GB, free: 8.324 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004192/0.6783, allocations: 95.89 kB / 0.5765 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2553/0.9336, allocations: 48.88 MB / 0.6243 GB, free: 6.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.9337, allocations: 0 / 0.6243 GB, free: 6.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001832/0.9339, allocations: 40 kB / 0.6243 GB, free: 6.691 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.007992/0.9419, allocations: 1.732 MB / 0.626 GB, free: 4.887 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.942, allocations: 8.031 kB / 0.626 GB, free: 4.879 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/0.9474, allocations: 446.3 kB / 0.6264 GB, free: 4.441 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006514/0.954, allocations: 1.61 MB / 0.628 GB, free: 2.785 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.9542, allocations: 106.7 kB / 0.6281 GB, free: 2.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006234/0.9548, allocations: 143.9 kB / 0.6282 GB, free: 2.539 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006118/0.961, allocations: 2.265 MB / 0.6304 GB, free: 120 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.227e-05/0.9611, allocations: 7.938 kB / 0.6305 GB, free: 112 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.9613, allocations: 59.97 kB / 0.6305 GB, free: 52 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000596/0.9619, allocations: 190.7 kB / 0.6307 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005024/0.967, allocations: 1.752 MB / 0.6324 GB, free: 14.11 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.9858, allocations: 9.291 MB / 0.6415 GB, free: 4.348 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003818/0.9896, allocations: 1.479 MB / 0.6429 GB, free: 2.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.9914, allocations: 0.6729 MB / 0.6436 GB, free: 2.164 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.9916, allocations: 20.97 kB / 0.6436 GB, free: 2.145 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002079/0.9937, allocations: 0.9385 MB / 0.6445 GB, free: 1.164 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 5.811e-06/0.9937, allocations: 0 / 0.6445 GB, free: 1.164 MB / 474.7 MB Notification: Performance of matching and sorting (n=143): time 0.3136/1.307, allocations: 4.336 MB / 0.6487 GB, free: 121.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.307, allocations: 287.8 kB / 0.649 GB, free: 121.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/1.31, allocations: 0.8722 MB / 0.6499 GB, free: 121.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/1.31, allocations: 54.62 kB / 0.6499 GB, free: 121.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008675/1.311, allocations: 0.7298 MB / 0.6506 GB, free: 121.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006601/1.311, allocations: 492.6 kB / 0.6511 GB, free: 120.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/1.311, allocations: 35.86 kB / 0.6511 GB, free: 120.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002626/1.312, allocations: 435.8 kB / 0.6516 GB, free: 120.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/1.314, allocations: 0.6215 MB / 0.6522 GB, free: 120.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/1.316, allocations: 1.164 MB / 0.6533 GB, free: 119.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003902/1.32, allocations: 2.043 MB / 0.6553 GB, free: 119.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/1.32, allocations: 5.094 kB / 0.6553 GB, free: 119.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.007259/1.327, allocations: 2.545 MB / 0.6578 GB, free: 118.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/1.327, allocations: 76.55 kB / 0.6579 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005389/1.332, allocations: 1.694 MB / 0.6595 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002985/1.335, allocations: 0.5367 MB / 0.66 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/1.338, allocations: 329 kB / 0.6604 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/1.354, allocations: 8.704 MB / 0.6689 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/1.356, allocations: 90.66 kB / 0.6689 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006153/1.357, allocations: 96.66 kB / 0.669 GB, free: 113.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 11,(2,100.0%) 12,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002392/1.359, allocations: 0.5916 MB / 0.6696 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007267/1.36, allocations: 126.5 kB / 0.6697 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006172/1.366, allocations: 1.701 MB / 0.6714 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.104e-05/1.367, allocations: 27.72 kB / 0.6714 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/1.367, allocations: 0 / 0.6714 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/1.367, allocations: 8.781 kB / 0.6714 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/1.377, allocations: 3.215 MB / 0.6746 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.377, allocations: 3.938 kB / 0.6746 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002462/1.38, allocations: 319.2 kB / 0.6749 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.891e-05/1.38, allocations: 3.938 kB / 0.6749 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/1.38, allocations: 40.09 kB / 0.6749 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.092e-05/1.38, allocations: 7.656 kB / 0.6749 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.38, allocations: 0 / 0.6749 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005551/1.385, allocations: 2.56 MB / 0.6774 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.387, allocations: 308.3 kB / 0.6777 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004104/1.387, allocations: 34.56 kB / 0.6778 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.388, allocations: 66 kB / 0.6778 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/1.389, allocations: 84.34 kB / 0.6779 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.389, allocations: 75.33 kB / 0.678 GB, free: 110.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001573/1.39, allocations: 0.5804 MB / 0.6785 GB, free: 110.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.391, allocations: 2.625 kB / 0.6785 GB, free: 110.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003031/1.394, allocations: 474.5 kB / 0.679 GB, free: 110.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * Array equations: 3 * Algorithm blocks: 2 * 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.0005821/1.394, allocations: 226 kB / 0.6792 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005532/1.4, allocations: 2.425 MB / 0.6816 GB, free: 109.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.4, allocations: 0 / 0.6816 GB, free: 109.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/1.402, allocations: 0.956 MB / 0.6825 GB, free: 108.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/1.404, allocations: 206.1 kB / 0.6827 GB, free: 108.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009956/1.414, allocations: 4.282 MB / 0.6869 GB, free: 106.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/1.416, allocations: 1.475 MB / 0.6883 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007501/1.417, allocations: 102.2 kB / 0.6884 GB, free: 105.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.212e-06/1.417, allocations: 0 / 0.6884 GB, free: 105.7 MB / 474.7 MB Notification: Performance of Templates: time 0.04549/1.462, allocations: 28.79 MB / 0.7165 GB, free: 98.69 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)