Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001401/0.001401, allocations: 179.4 kB / 17.4 MB, free: 4.41 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.416/1.416, allocations: 194.5 MB / 212.6 MB, free: 2.938 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.001682/0.001682, allocations: 118.8 kB / 257.9 MB, free: 4.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1838/0.1838, allocations: 38 MB / 341.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 8 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08366/0.08403, allocations: 53.24 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.325/0.4091, allocations: 105.1 MB / 0.5502 GB, free: 6.262 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4094, allocations: 100.1 kB / 0.5503 GB, free: 6.211 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0827/0.4921, allocations: 29.65 MB / 0.5792 GB, free: 12.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4921, allocations: 0 / 0.5792 GB, free: 12.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.152e-05/0.4922, allocations: 20 kB / 0.5792 GB, free: 12.54 MB / 394.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.002403/0.4946, allocations: 1.199 MB / 0.5804 GB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4947, allocations: 8.031 kB / 0.5804 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.4961, allocations: 251.4 kB / 0.5807 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.4981, allocations: 1.03 MB / 0.5817 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.4982, allocations: 61.98 kB / 0.5817 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.4983, allocations: 83.05 kB / 0.5818 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.5004, allocations: 1.356 MB / 0.5831 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.5004, allocations: 7.938 kB / 0.5831 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.103e-05/0.5005, allocations: 39.42 kB / 0.5832 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.5007, allocations: 99.75 kB / 0.5833 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.5024, allocations: 1.027 MB / 0.5843 GB, free: 8.133 MB / 394.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.006854/0.5093, allocations: 5.764 MB / 0.5899 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.5104, allocations: 0.7922 MB / 0.5907 GB, free: 2.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.5109, allocations: 378.9 kB / 0.591 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.748e-05/0.511, allocations: 16.55 kB / 0.5911 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000705/0.5117, allocations: 0.5168 MB / 0.5916 GB, free: 1.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 2.946e-06/0.5117, allocations: 0 / 0.5916 GB, free: 1.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.003914/0.5156, allocations: 2.391 MB / 0.5939 GB, free: 15.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.5158, allocations: 173.7 kB / 0.5941 GB, free: 15.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/0.5166, allocations: 0.6166 MB / 0.5947 GB, free: 14.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.5166, allocations: 38.39 kB / 0.5947 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.5171, allocations: 0.5083 MB / 0.5952 GB, free: 14.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.5173, allocations: 256.8 kB / 0.5954 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.5174, allocations: 18.5 kB / 0.5955 GB, free: 14.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.5176, allocations: 384.6 kB / 0.5958 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006017/0.5182, allocations: 374 kB / 0.5962 GB, free: 13.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008886/0.5191, allocations: 0.7648 MB / 0.5969 GB, free: 12.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.5206, allocations: 1.282 MB / 0.5982 GB, free: 11.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.5206, allocations: 4 kB / 0.5982 GB, free: 11.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002466/0.5231, allocations: 1.487 MB / 0.5996 GB, free: 9.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.5232, allocations: 41.69 kB / 0.5997 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001474/0.5246, allocations: 0.8777 MB / 0.6005 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007078/0.5254, allocations: 254.4 kB / 0.6008 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006901/0.5261, allocations: 211.6 kB / 0.601 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.5305, allocations: 4.026 MB / 0.6049 GB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008381/0.5314, allocations: 67.8 kB / 0.605 GB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.5315, allocations: 63.97 kB / 0.605 GB, free: 3.926 MB / 410.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.0007581/0.5323, allocations: 393.4 kB / 0.6054 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.5324, allocations: 83.02 kB / 0.6055 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.5341, allocations: 0.9587 MB / 0.6064 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/0.5341, allocations: 15.98 kB / 0.6064 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5341, allocations: 4.062 kB / 0.6064 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.5341, allocations: 3.984 kB / 0.6064 GB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.5373, allocations: 1.918 MB / 0.6083 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.5373, allocations: 0 / 0.6083 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.538, allocations: 155.8 kB / 0.6085 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.5381, allocations: 8.156 kB / 0.6085 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/0.5381, allocations: 27.97 kB / 0.6085 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.5381, allocations: 4 kB / 0.6085 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5382, allocations: 4 kB / 0.6085 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.5401, allocations: 1.475 MB / 0.6099 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.5405, allocations: 212.1 kB / 0.6102 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/0.5406, allocations: 16 kB / 0.6102 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.541, allocations: 47.88 kB / 0.6102 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.5411, allocations: 48.39 kB / 0.6103 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/0.5412, allocations: 47.95 kB / 0.6103 GB, free: 14.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005114/0.5417, allocations: 407 kB / 0.6107 GB, free: 13.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5417, allocations: 0 / 0.6107 GB, free: 13.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001122/0.5429, allocations: 260 kB / 0.6109 GB, free: 13.7 MB / 426.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.0003193/0.5432, allocations: 194.9 kB / 0.6111 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.5452, allocations: 1.296 MB / 0.6124 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5452, allocations: 4.125 kB / 0.6124 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006508/0.5459, allocations: 0.5102 MB / 0.6129 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008938/0.5468, allocations: 123.3 kB / 0.613 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.5505, allocations: 2.432 MB / 0.6154 GB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.5514, allocations: 1.114 MB / 0.6165 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008277/0.5522, allocations: 290.2 kB / 0.6168 GB, free: 7.625 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.5524, allocations: 59.42 kB / 0.6168 GB, free: 7.566 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5524, allocations: 11.94 kB / 0.6168 GB, free: 7.555 MB / 426.7 MB Notification: Performance of Templates: time 0.01762/0.57, allocations: 8.732 MB / 0.6253 GB, free: 14.82 MB / 442.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)