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.001443/0.001443, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.3/1.3, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001736/0.001735, allocations: 118 kB / 248.1 MB, free: 6.312 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1624/0.1624, allocations: 37.91 MB / 330.9 MB, free: 7.316 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.296e-05/1.299e-05, allocations: 0 / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/0.08741, allocations: 53.24 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3416/0.4291, allocations: 104.3 MB / 0.5351 GB, free: 4.18 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4294, allocations: 93.12 kB / 0.5352 GB, free: 4.133 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08102/0.5104, allocations: 29.43 MB / 0.5639 GB, free: 11.09 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5104, allocations: 0 / 0.5639 GB, free: 11.09 MB / 379.1 MB Notification: Performance of Transformations before backend: time 4.281e-05/0.5105, allocations: 23.94 kB / 0.5639 GB, free: 11.07 MB / 379.1 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.001871/0.5124, allocations: 1.094 MB / 0.565 GB, free: 9.98 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5124, allocations: 16.02 kB / 0.565 GB, free: 9.965 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.5139, allocations: 254.4 kB / 0.5652 GB, free: 9.715 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/0.5173, allocations: 1.437 MB / 0.5666 GB, free: 8.469 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.5173, allocations: 31.95 kB / 0.5667 GB, free: 8.438 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.5174, allocations: 51.94 kB / 0.5667 GB, free: 8.387 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00126/0.5187, allocations: 0.8931 MB / 0.5676 GB, free: 7.773 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.5203, allocations: 1.209 MB / 0.5688 GB, free: 6.742 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.5203, allocations: 4 kB / 0.5688 GB, free: 6.738 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/0.5204, allocations: 4 kB / 0.5688 GB, free: 6.734 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.5206, allocations: 98.75 kB / 0.5689 GB, free: 6.645 MB / 379.1 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.00543/0.526, allocations: 5.597 MB / 0.5744 GB, free: 1.434 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.5271, allocations: 0.7926 MB / 0.5751 GB, free: 0.7773 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.5275, allocations: 354.3 kB / 0.5755 GB, free: 0.5391 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.5276, allocations: 8.562 kB / 0.5755 GB, free: 0.5273 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006036/0.5282, allocations: 0.4957 MB / 0.576 GB, free: 120 kB / 379.1 MB Notification: Performance of pre-optimization done (n=74): time 4.338e-06/0.5282, allocations: 3.938 kB / 0.576 GB, free: 116 kB / 379.1 MB Notification: Performance of matching and sorting (n=75): time 0.003022/0.5312, allocations: 1.927 MB / 0.5778 GB, free: 14.49 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.5313, allocations: 170.7 kB / 0.578 GB, free: 14.29 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/0.5318, allocations: 0.5074 MB / 0.5785 GB, free: 13.88 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.5319, allocations: 25.7 kB / 0.5785 GB, free: 13.85 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.5322, allocations: 0.5075 MB / 0.579 GB, free: 13.44 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.5324, allocations: 243 kB / 0.5793 GB, free: 13.23 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.5324, allocations: 0 / 0.5793 GB, free: 13.23 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5326, allocations: 389.8 kB / 0.5796 GB, free: 12.87 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.533, allocations: 353.9 kB / 0.58 GB, free: 12.63 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/0.5337, allocations: 0.7231 MB / 0.5807 GB, free: 11.87 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/0.5344, allocations: 0.4941 MB / 0.5811 GB, free: 11.5 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.5344, allocations: 4 kB / 0.5812 GB, free: 11.5 MB / 395.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002223/0.5367, allocations: 1.337 MB / 0.5825 GB, free: 10.25 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.5367, allocations: 37.7 kB / 0.5825 GB, free: 10.21 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001421/0.5382, allocations: 0.8404 MB / 0.5833 GB, free: 9.355 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006764/0.5388, allocations: 251.4 kB / 0.5836 GB, free: 9.105 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007205/0.5396, allocations: 223.6 kB / 0.5838 GB, free: 8.887 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.5433, allocations: 3.859 MB / 0.5875 GB, free: 4.805 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005891/0.5439, allocations: 43.94 kB / 0.5876 GB, free: 4.762 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.523e-05/0.544, allocations: 55.98 kB / 0.5876 GB, free: 4.707 MB / 395.1 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 (116): * Single equations (assignments): 111 * 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.0002256/0.5442, allocations: 189.1 kB / 0.5878 GB, free: 4.512 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.5443, allocations: 75.06 kB / 0.5879 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.5458, allocations: 0.8822 MB / 0.5887 GB, free: 3.543 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.5458, allocations: 12 kB / 0.5888 GB, free: 3.531 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5458, allocations: 3.953 kB / 0.5888 GB, free: 3.527 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.5459, allocations: 7.922 kB / 0.5888 GB, free: 3.52 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.5485, allocations: 1.732 MB / 0.5905 GB, free: 1.727 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.5485, allocations: 4 kB / 0.5905 GB, free: 1.723 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/0.5493, allocations: 163.8 kB / 0.5906 GB, free: 1.562 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5493, allocations: 4.156 kB / 0.5906 GB, free: 1.559 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-05/0.5494, allocations: 19.98 kB / 0.5906 GB, free: 1.539 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/0.5494, allocations: 7.938 kB / 0.5906 GB, free: 1.531 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.5495, allocations: 4 kB / 0.5907 GB, free: 1.527 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.5513, allocations: 1.455 MB / 0.5921 GB, free: 0 / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.5516, allocations: 220.1 kB / 0.5923 GB, free: 15.77 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.843e-05/0.5517, allocations: 16 kB / 0.5923 GB, free: 15.75 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.5521, allocations: 31.95 kB / 0.5923 GB, free: 15.72 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.5522, allocations: 44.5 kB / 0.5924 GB, free: 15.68 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-05/0.5523, allocations: 39.95 kB / 0.5924 GB, free: 15.64 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0003764/0.5527, allocations: 371.1 kB / 0.5928 GB, free: 15.28 MB / 411.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5527, allocations: 0 / 0.5928 GB, free: 15.28 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008469/0.5535, allocations: 232 kB / 0.593 GB, free: 15.05 MB / 411.1 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 (67): * Single equations (assignments): 63 * 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.0002988/0.5538, allocations: 167 kB / 0.5931 GB, free: 14.88 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.5555, allocations: 1.227 MB / 0.5943 GB, free: 13.62 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5555, allocations: 4.125 kB / 0.5943 GB, free: 13.62 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.5561, allocations: 0.4897 MB / 0.5948 GB, free: 13.12 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.5567, allocations: 115.5 kB / 0.5949 GB, free: 13.01 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.5592, allocations: 1.58 MB / 0.5965 GB, free: 11.38 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/0.5599, allocations: 1.143 MB / 0.5976 GB, free: 10.21 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0007621/0.5607, allocations: 298.3 kB / 0.5979 GB, free: 9.914 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.5609, allocations: 59.42 kB / 0.5979 GB, free: 9.855 MB / 411.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5609, allocations: 0 / 0.5979 GB, free: 9.855 MB / 411.1 MB Notification: Performance of Templates: time 0.01494/0.5758, allocations: 8.108 MB / 0.6059 GB, free: 1.77 MB / 411.1 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)