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.001461/0.001461, allocations: 182.2 kB / 13.64 MB, free: 1.676 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.453/1.453, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001759/0.001759, allocations: 116.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1729/0.1729, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.745e-05/4.766e-05, allocations: 4 kB / 397.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2962, allocations: 53.22 MB / 450.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4951/0.7914, allocations: 105 MB / 0.5427 GB, free: 29.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.7917, allocations: 94.36 kB / 0.5428 GB, free: 29.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07459/0.8663, allocations: 29.69 MB / 0.5718 GB, free: 22.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.8664, allocations: 0 / 0.5718 GB, free: 22.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.086e-05/0.8664, allocations: 19.25 kB / 0.5718 GB, free: 22.43 MB / 378.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.001875/0.8683, allocations: 1.107 MB / 0.5729 GB, free: 21.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.8683, allocations: 9.906 kB / 0.5729 GB, free: 21.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.8697, allocations: 250.4 kB / 0.5732 GB, free: 21.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/0.8732, allocations: 1.444 MB / 0.5746 GB, free: 20.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.8732, allocations: 69.02 kB / 0.5746 GB, free: 20.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.8734, allocations: 80.36 kB / 0.5747 GB, free: 20.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.875, allocations: 1.32 MB / 0.576 GB, free: 20.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.8751, allocations: 11.8 kB / 0.576 GB, free: 20.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.403e-05/0.8752, allocations: 40.44 kB / 0.5761 GB, free: 20.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/0.8753, allocations: 97.73 kB / 0.5761 GB, free: 20.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.8767, allocations: 1.008 MB / 0.5771 GB, free: 20.15 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004843/0.8815, allocations: 5.767 MB / 0.5828 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/0.8825, allocations: 0.8053 MB / 0.5835 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004008/0.8829, allocations: 367.9 kB / 0.5839 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.412e-05/0.8829, allocations: 11.66 kB / 0.5839 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005859/0.8835, allocations: 0.5207 MB / 0.5844 GB, free: 15.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 2.705e-06/0.8836, allocations: 0 / 0.5844 GB, free: 15.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002789/0.8864, allocations: 2.073 MB / 0.5864 GB, free: 14.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.8864, allocations: 178.3 kB / 0.5866 GB, free: 14.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.887, allocations: 0.5341 MB / 0.5871 GB, free: 14.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.887, allocations: 40.98 kB / 0.5872 GB, free: 14.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.8873, allocations: 0.5104 MB / 0.5877 GB, free: 13.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.8874, allocations: 255.2 kB / 0.5879 GB, free: 13.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.8875, allocations: 18.06 kB / 0.5879 GB, free: 13.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.8876, allocations: 395.1 kB / 0.5883 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/0.888, allocations: 361.9 kB / 0.5887 GB, free: 13.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.8886, allocations: 0.7518 MB / 0.5894 GB, free: 12.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005814/0.8892, allocations: 0.5276 MB / 0.5899 GB, free: 12.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.8892, allocations: 3.875 kB / 0.5899 GB, free: 12.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002041/0.8913, allocations: 1.475 MB / 0.5913 GB, free: 12.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.8913, allocations: 37.58 kB / 0.5914 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001282/0.8926, allocations: 0.8634 MB / 0.5922 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/0.8933, allocations: 258.1 kB / 0.5925 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.8939, allocations: 217 kB / 0.5927 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/0.8971, allocations: 4.02 MB / 0.5966 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006374/0.8978, allocations: 76.23 kB / 0.5967 GB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/0.8979, allocations: 61.28 kB / 0.5967 GB, free: 8.824 MB / 378.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 () * 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.0002126/0.8981, allocations: 210.9 kB / 0.5969 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.8982, allocations: 76.95 kB / 0.597 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.8995, allocations: 0.9529 MB / 0.5979 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.8996, allocations: 12.81 kB / 0.598 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8996, allocations: 3.984 kB / 0.598 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.8996, allocations: 3.188 kB / 0.598 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.9022, allocations: 1.916 MB / 0.5998 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.9022, allocations: 3.875 kB / 0.5998 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006744/0.9029, allocations: 164.8 kB / 0.6 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.9029, allocations: 3.875 kB / 0.6 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.903, allocations: 22.42 kB / 0.6 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.903, allocations: 3.938 kB / 0.6 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.903, allocations: 4.156 kB / 0.6 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.9046, allocations: 1.527 MB / 0.6015 GB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.905, allocations: 213.7 kB / 0.6017 GB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.9051, allocations: 15.78 kB / 0.6017 GB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.9054, allocations: 44.27 kB / 0.6018 GB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.9055, allocations: 52.45 kB / 0.6018 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.396e-05/0.9056, allocations: 43.33 kB / 0.6019 GB, free: 6.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004091/0.906, allocations: 399.3 kB / 0.6022 GB, free: 6.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.906, allocations: 0 / 0.6022 GB, free: 6.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009225/0.907, allocations: 271.9 kB / 0.6025 GB, free: 6.727 MB / 378.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) * 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.0002837/0.9073, allocations: 184.8 kB / 0.6027 GB, free: 6.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.9088, allocations: 1.287 MB / 0.6039 GB, free: 6.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9089, allocations: 0 / 0.6039 GB, free: 6.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.9094, allocations: 0.5071 MB / 0.6044 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.91, allocations: 118.1 kB / 0.6045 GB, free: 5.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.9123, allocations: 1.606 MB / 0.6061 GB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.9128, allocations: 1.144 MB / 0.6072 GB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006562/0.9135, allocations: 286.2 kB / 0.6075 GB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.9136, allocations: 61.23 kB / 0.6076 GB, free: 3.234 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.9136, allocations: 0 / 0.6076 GB, free: 3.234 MB / 378.7 MB Notification: Performance of Templates: time 0.015/0.9287, allocations: 8.898 MB / 0.6163 GB, free: 10.37 MB / 394.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)