Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.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.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001292/0.001292, allocations: 183.2 kB / 17.4 MB, free: 4.297 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.462/1.462, allocations: 194.5 MB / 212.6 MB, free: 2.957 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.001737/0.001737, allocations: 118.9 kB / 257.9 MB, free: 4.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1785/0.1785, allocations: 38.01 MB / 341.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 12 kB / 405 MB, free: 68.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 53.23 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.4967, allocations: 104.9 MB / 0.55 GB, free: 6.402 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.497, allocations: 92.88 kB / 0.5501 GB, free: 6.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1401/0.6372, allocations: 48.84 MB / 0.5978 GB, free: 12.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6372, allocations: 0 / 0.5978 GB, free: 12.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001142/0.6374, allocations: 47.92 kB / 0.5978 GB, free: 12.04 MB / 410.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.004981/0.6424, allocations: 1.713 MB / 0.5995 GB, free: 10.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.6424, allocations: 8.031 kB / 0.5995 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002918/0.6453, allocations: 454.2 kB / 0.5999 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004345/0.6497, allocations: 1.607 MB / 0.6015 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.6499, allocations: 108.8 kB / 0.6016 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006298/0.6505, allocations: 146.2 kB / 0.6017 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004301/0.6548, allocations: 2.261 MB / 0.604 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.89e-05/0.6549, allocations: 15.88 kB / 0.604 GB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.6551, allocations: 63.97 kB / 0.604 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003444/0.6554, allocations: 182.8 kB / 0.6042 GB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.6583, allocations: 1.744 MB / 0.6059 GB, free: 3.949 MB / 410.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.01108/0.6694, allocations: 9.302 MB / 0.615 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.6716, allocations: 1.467 MB / 0.6164 GB, free: 8.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009339/0.6725, allocations: 0.6807 MB / 0.6171 GB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.76e-05/0.6726, allocations: 20.98 kB / 0.6171 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/0.6739, allocations: 0.9347 MB / 0.618 GB, free: 6.992 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 4.378e-06/0.6739, allocations: 0 / 0.618 GB, free: 6.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=143): time 0.006467/0.6804, allocations: 4.347 MB / 0.6223 GB, free: 2.547 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.6805, allocations: 290.6 kB / 0.6225 GB, free: 2.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.6816, allocations: 0.8701 MB / 0.6234 GB, free: 1.309 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/0.6817, allocations: 49.7 kB / 0.6234 GB, free: 1.254 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005997/0.6823, allocations: 0.7398 MB / 0.6242 GB, free: 0.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.6827, allocations: 497 kB / 0.6246 GB, free: 8 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.6828, allocations: 32.05 kB / 0.6247 GB, free: 15.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.683, allocations: 430.7 kB / 0.6251 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009813/0.6839, allocations: 0.6246 MB / 0.6257 GB, free: 14.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.6853, allocations: 1.166 MB / 0.6268 GB, free: 13.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.6878, allocations: 2.052 MB / 0.6288 GB, free: 11.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.6878, allocations: 4 kB / 0.6288 GB, free: 11.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004539/0.6924, allocations: 2.531 MB / 0.6313 GB, free: 8.629 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.378e-05/0.6925, allocations: 72.39 kB / 0.6314 GB, free: 8.547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003038/0.6955, allocations: 1.702 MB / 0.633 GB, free: 6.836 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/0.6971, allocations: 0.5419 MB / 0.6336 GB, free: 6.285 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.6983, allocations: 331.4 kB / 0.6339 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009527/0.7079, allocations: 8.692 MB / 0.6424 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.7091, allocations: 99.94 kB / 0.6425 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.7093, allocations: 99.95 kB / 0.6426 GB, free: 12.55 MB / 458.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.001123/0.7104, allocations: 0.5842 MB / 0.6431 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.7106, allocations: 130.4 kB / 0.6433 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.7134, allocations: 1.695 MB / 0.6449 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-05/0.7134, allocations: 23.94 kB / 0.6449 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.7134, allocations: 0 / 0.6449 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.7134, allocations: 7.969 kB / 0.6449 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004849/0.7183, allocations: 3.216 MB / 0.6481 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.7183, allocations: 0 / 0.6481 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.7197, allocations: 311.6 kB / 0.6484 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.3e-05/0.7198, allocations: 12.19 kB / 0.6484 GB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.7199, allocations: 39.91 kB / 0.6484 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.507e-05/0.7199, allocations: 15.98 kB / 0.6484 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.7199, allocations: 3.938 kB / 0.6484 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/0.7238, allocations: 2.558 MB / 0.6509 GB, free: 3.773 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007726/0.7246, allocations: 307.5 kB / 0.6512 GB, free: 3.453 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.7249, allocations: 36 kB / 0.6513 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007365/0.7256, allocations: 59.94 kB / 0.6513 GB, free: 3.359 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.7258, allocations: 88.81 kB / 0.6514 GB, free: 3.273 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.7259, allocations: 79.92 kB / 0.6515 GB, free: 3.195 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009878/0.7269, allocations: 0.5703 MB / 0.652 GB, free: 2.613 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7269, allocations: 0 / 0.652 GB, free: 2.613 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001837/0.7288, allocations: 467.9 kB / 0.6525 GB, free: 2.156 MB / 458.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.0004844/0.7293, allocations: 231.5 kB / 0.6527 GB, free: 1.918 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004127/0.7334, allocations: 2.426 MB / 0.6551 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7335, allocations: 3.938 kB / 0.6551 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.7348, allocations: 0.9456 MB / 0.656 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.7365, allocations: 201 kB / 0.6562 GB, free: 14.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007315/0.7438, allocations: 4.147 MB / 0.6603 GB, free: 10.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.7456, allocations: 1.469 MB / 0.6617 GB, free: 8.551 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001484/0.7471, allocations: 462.1 kB / 0.6621 GB, free: 8.094 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.7475, allocations: 95.42 kB / 0.6622 GB, free: 8 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/0.7475, allocations: 0 / 0.6622 GB, free: 8 MB / 474.7 MB Notification: Performance of Templates: time 0.2471/0.9947, allocations: 15.5 MB / 0.6774 GB, free: 131.3 MB / 474.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)