Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001906/0.001907, allocations: 173 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.693/2.693, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.000814/0.0008139, allocations: 86.41 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1902/0.1902, allocations: 38.08 MB / 357.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005392/0.0005392, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3896, allocations: 56.32 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1583/0.548, allocations: 110.2 MB / 0.5766 GB, free: 8.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.5484, allocations: 95.95 kB / 0.5767 GB, free: 8.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08507/0.6334, allocations: 29.68 MB / 0.6057 GB, free: 9.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.6335, allocations: 0 / 0.6057 GB, free: 9.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000106/0.6336, allocations: 27.94 kB / 0.6057 GB, free: 9.953 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003978/0.6376, allocations: 1.187 MB / 0.6069 GB, free: 8.703 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.6377, allocations: 16.03 kB / 0.6069 GB, free: 8.688 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.6395, allocations: 247.4 kB / 0.6071 GB, free: 8.445 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/0.6424, allocations: 1.029 MB / 0.6081 GB, free: 7.375 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.543e-05/0.6425, allocations: 59.12 kB / 0.6082 GB, free: 7.316 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003463/0.6429, allocations: 83.98 kB / 0.6083 GB, free: 7.234 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.6458, allocations: 1.357 MB / 0.6096 GB, free: 5.777 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/0.6458, allocations: 7.938 kB / 0.6096 GB, free: 5.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.646, allocations: 35.98 kB / 0.6096 GB, free: 5.734 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002168/0.6462, allocations: 101.9 kB / 0.6097 GB, free: 5.633 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.6486, allocations: 1.026 MB / 0.6107 GB, free: 4.609 MB / 442.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.00738/0.656, allocations: 5.777 MB / 0.6164 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.6571, allocations: 0.7923 MB / 0.6171 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005433/0.6577, allocations: 379.2 kB / 0.6175 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.926e-05/0.6577, allocations: 8.562 kB / 0.6175 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007848/0.6585, allocations: 0.5206 MB / 0.618 GB, free: 12.76 MB / 458.7 MB Notification: Performance of pre-optimization done (n=73): time 2.926e-06/0.6586, allocations: 0 / 0.618 GB, free: 12.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=74): time 0.003981/0.6625, allocations: 2.395 MB / 0.6204 GB, free: 10.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.6627, allocations: 166.7 kB / 0.6205 GB, free: 10.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008596/0.6636, allocations: 0.6131 MB / 0.6211 GB, free: 9.469 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.032e-05/0.6637, allocations: 41.64 kB / 0.6212 GB, free: 9.422 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/0.6641, allocations: 0.5058 MB / 0.6217 GB, free: 8.906 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.6644, allocations: 252.5 kB / 0.6219 GB, free: 8.656 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.6644, allocations: 20.12 kB / 0.6219 GB, free: 8.637 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.6646, allocations: 390.8 kB / 0.6223 GB, free: 8.246 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/0.6652, allocations: 370.4 kB / 0.6226 GB, free: 7.883 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008669/0.6661, allocations: 0.7725 MB / 0.6234 GB, free: 6.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.6678, allocations: 1.276 MB / 0.6246 GB, free: 5.457 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.6678, allocations: 4 kB / 0.6246 GB, free: 5.453 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002764/0.6705, allocations: 1.486 MB / 0.6261 GB, free: 3.949 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.6706, allocations: 41.69 kB / 0.6261 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001607/0.6722, allocations: 0.882 MB / 0.627 GB, free: 3.012 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000757/0.673, allocations: 245.5 kB / 0.6272 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/0.6737, allocations: 211.6 kB / 0.6274 GB, free: 2.559 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/0.6782, allocations: 4.031 MB / 0.6314 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008535/0.6791, allocations: 75.72 kB / 0.6314 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.6792, allocations: 55.98 kB / 0.6315 GB, free: 14.13 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007142/0.68, allocations: 407 kB / 0.6319 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.6801, allocations: 79 kB / 0.632 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.6817, allocations: 0.947 MB / 0.6329 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.6817, allocations: 12 kB / 0.6329 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.6818, allocations: 0 / 0.6329 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.6818, allocations: 7.984 kB / 0.6329 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.6853, allocations: 1.926 MB / 0.6348 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.6853, allocations: 160 / 0.6348 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.686, allocations: 159.9 kB / 0.6349 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.686, allocations: 4 kB / 0.6349 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/0.6861, allocations: 27.92 kB / 0.635 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.6861, allocations: 4 kB / 0.635 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.6861, allocations: 4 kB / 0.635 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.6882, allocations: 1.475 MB / 0.6364 GB, free: 8.938 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.6886, allocations: 220 kB / 0.6366 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/0.6887, allocations: 16 kB / 0.6366 GB, free: 8.688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.6891, allocations: 47.94 kB / 0.6367 GB, free: 8.641 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.6892, allocations: 48.53 kB / 0.6367 GB, free: 8.594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.223e-05/0.6893, allocations: 43.94 kB / 0.6368 GB, free: 8.551 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005473/0.6899, allocations: 407 kB / 0.6372 GB, free: 8.156 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6899, allocations: 0 / 0.6372 GB, free: 8.156 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001108/0.691, allocations: 264 kB / 0.6374 GB, free: 7.898 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * 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 (66): * Single equations (assignments): 62 * Array equations: 2 * 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.0003407/0.6913, allocations: 175 kB / 0.6376 GB, free: 7.719 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.6935, allocations: 1.299 MB / 0.6389 GB, free: 6.383 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6935, allocations: 3.938 kB / 0.6389 GB, free: 6.379 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006887/0.6942, allocations: 0.5141 MB / 0.6394 GB, free: 5.852 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000899/0.6951, allocations: 124.9 kB / 0.6395 GB, free: 5.734 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.699, allocations: 2.536 MB / 0.642 GB, free: 3.156 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008767/0.6999, allocations: 1.11 MB / 0.643 GB, free: 2.016 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.7002, allocations: 67.42 kB / 0.6431 GB, free: 1.949 MB / 474.7 MB Notification: Performance of SimCode: time 8.02e-07/0.7002, allocations: 0 / 0.6431 GB, free: 1.949 MB / 474.7 MB Notification: Performance of Templates: time 0.2534/0.9537, allocations: 14.43 MB / 0.6572 GB, free: 131.6 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)