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.001152/0.001152, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.194/1.194, allocations: 194.5 MB / 211.6 MB, free: 3.066 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.001497/0.001497, allocations: 112.8 kB / 256.9 MB, free: 4.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1612/0.1612, allocations: 37.99 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 12 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07998/0.08035, allocations: 53.24 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3009/0.3813, allocations: 105.1 MB / 0.5489 GB, free: 6.598 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.3816, allocations: 98.31 kB / 0.549 GB, free: 6.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07883/0.4604, allocations: 29.71 MB / 0.578 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4604, allocations: 0 / 0.578 GB, free: 12.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.913e-05/0.4605, allocations: 16 kB / 0.578 GB, free: 12.84 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.002302/0.4628, allocations: 1.207 MB / 0.5792 GB, free: 11.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4628, allocations: 12.02 kB / 0.5792 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.4642, allocations: 254.5 kB / 0.5795 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.4678, allocations: 1.434 MB / 0.5809 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.4678, allocations: 66.19 kB / 0.5809 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.468, allocations: 93.53 kB / 0.581 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.4698, allocations: 1.333 MB / 0.5823 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.4698, allocations: 11.31 kB / 0.5823 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.4699, allocations: 33.36 kB / 0.5824 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.4701, allocations: 95.27 kB / 0.5825 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.4715, allocations: 1.027 MB / 0.5835 GB, free: 8.086 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.005961/0.4775, allocations: 5.785 MB / 0.5891 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.4786, allocations: 0.8216 MB / 0.5899 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.4786, allocations: 16.17 kB / 0.5899 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006514/0.4793, allocations: 0.5163 MB / 0.5904 GB, free: 1.602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 2.134e-06/0.4793, allocations: 0 / 0.5904 GB, free: 1.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.003399/0.4827, allocations: 2.635 MB / 0.593 GB, free: 15.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.4828, allocations: 169.4 kB / 0.5932 GB, free: 15.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005507/0.4834, allocations: 0.5345 MB / 0.5937 GB, free: 14.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.4834, allocations: 40.39 kB / 0.5937 GB, free: 14.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.4838, allocations: 0.4973 MB / 0.5942 GB, free: 14.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.484, allocations: 263.4 kB / 0.5945 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.484, allocations: 24.75 kB / 0.5945 GB, free: 14.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4842, allocations: 389 kB / 0.5949 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.4847, allocations: 373 kB / 0.5952 GB, free: 13.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007224/0.4854, allocations: 0.763 MB / 0.596 GB, free: 12.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007117/0.4861, allocations: 0.5359 MB / 0.5965 GB, free: 12.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4862, allocations: 4 kB / 0.5965 GB, free: 12.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002294/0.4885, allocations: 1.475 MB / 0.5979 GB, free: 10.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.4885, allocations: 45.66 kB / 0.598 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001485/0.49, allocations: 0.8779 MB / 0.5988 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007141/0.4907, allocations: 246.5 kB / 0.5991 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/0.4914, allocations: 223.6 kB / 0.5993 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.4956, allocations: 4.131 MB / 0.6033 GB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.4962, allocations: 67.86 kB / 0.6034 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/0.4963, allocations: 59.98 kB / 0.6034 GB, free: 4.832 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.000551/0.4969, allocations: 397.5 kB / 0.6038 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.497, allocations: 79.02 kB / 0.6039 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.4985, allocations: 0.9546 MB / 0.6048 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.4985, allocations: 12 kB / 0.6048 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.4985, allocations: 0 / 0.6048 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.4985, allocations: 3.984 kB / 0.6048 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.5014, allocations: 1.934 MB / 0.6067 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5014, allocations: 0 / 0.6067 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007514/0.5022, allocations: 171.9 kB / 0.6069 GB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.5022, allocations: 4 kB / 0.6069 GB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.5022, allocations: 19.98 kB / 0.6069 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.5023, allocations: 4 kB / 0.6069 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5023, allocations: 0 / 0.6069 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.5041, allocations: 1.547 MB / 0.6084 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.5045, allocations: 208.1 kB / 0.6086 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.555e-05/0.5046, allocations: 16 kB / 0.6086 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.505, allocations: 51.88 kB / 0.6087 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.5051, allocations: 48.41 kB / 0.6087 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.5052, allocations: 43.95 kB / 0.6088 GB, free: 15.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004253/0.5056, allocations: 415 kB / 0.6092 GB, free: 14.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5056, allocations: 0 / 0.6092 GB, free: 14.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008796/0.5065, allocations: 263.9 kB / 0.6094 GB, free: 14.5 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.0002908/0.5068, allocations: 183.1 kB / 0.6096 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.5086, allocations: 1.3 MB / 0.6109 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5086, allocations: 0 / 0.6109 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.5092, allocations: 0.5144 MB / 0.6114 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.5098, allocations: 114.9 kB / 0.6115 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.5128, allocations: 2.418 MB / 0.6138 GB, free: 9.863 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.5136, allocations: 1.146 MB / 0.615 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007293/0.5144, allocations: 286.2 kB / 0.6152 GB, free: 8.402 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.5146, allocations: 55.42 kB / 0.6153 GB, free: 8.348 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5146, allocations: 4 kB / 0.6153 GB, free: 8.344 MB / 426.7 MB Notification: Performance of Templates: time 0.01474/0.5293, allocations: 8.671 MB / 0.6238 GB, free: 15.66 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)