Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1758/0.1758, allocations: 38.03 MB / 330.4 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 64.98 kB / 399.5 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.1013, allocations: 58.07 MB / 457.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01045/0.1118, allocations: 9.089 MB / 466.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005965/0.1178, allocations: 3.365 MB / 470 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009223/0.1188, allocations: 43.69 kB / 470 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.1217, allocations: 1.031 MB / 471.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002933/0.1246, allocations: 1.097 MB / 472.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.1268, allocations: 0.6899 MB / 472.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003177/0.13, allocations: 2.386 MB / 475.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.1315, allocations: 0.819 MB / 476 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.1334, allocations: 0.9846 MB / 477 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.1357, allocations: 1.344 MB / 478.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005059/0.1363, allocations: 128 kB / 478.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.1378, allocations: 0.5812 MB / 479.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.1391, allocations: 0.9275 MB / 480 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.1408, allocations: 0.8979 MB / 480.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.144, allocations: 2.29 MB / 483.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1441, allocations: 0 / 483.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1441, allocations: 3.938 kB / 483.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001064/0.1442, allocations: 0 / 483.2 MB, free: 14.26 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.004609/0.1488, allocations: 2.019 MB / 485.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1489, allocations: 15.89 kB / 485.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/0.151, allocations: 354.3 kB / 485.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.153, allocations: 1.02 MB / 486.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.625e-05/0.1531, allocations: 107.1 kB / 486.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004397/0.1536, allocations: 171.9 kB / 486.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003754/0.1573, allocations: 2.324 MB / 489.2 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/0.1574, allocations: 7.938 kB / 489.2 MB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.1576, allocations: 55.98 kB / 489.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005946/0.1582, allocations: 226.8 kB / 489.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.1615, allocations: 1.846 MB / 491.3 MB, free: 5.852 MB / 366.1 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.01197/0.1735, allocations: 9.575 MB / 0.4892 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.1758, allocations: 1.547 MB / 0.4907 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008968/0.1767, allocations: 0.6106 MB / 0.4913 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-05/0.1768, allocations: 20.97 kB / 0.4913 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.178, allocations: 0.8528 MB / 0.4921 GB, free: 8.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 4.068e-06/0.1781, allocations: 0 / 0.4921 GB, free: 8.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.006499/0.1846, allocations: 4.015 MB / 0.496 GB, free: 4.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.1847, allocations: 282.3 kB / 0.4963 GB, free: 4.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.186, allocations: 0.9185 MB / 0.4972 GB, free: 3.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.957e-05/0.1861, allocations: 49.7 kB / 0.4973 GB, free: 3.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006336/0.1868, allocations: 0.7628 MB / 0.498 GB, free: 2.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.1872, allocations: 453.7 kB / 0.4984 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004416/0.1876, allocations: 327.4 kB / 0.4987 GB, free: 1.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1878, allocations: 357.9 kB / 0.4991 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009012/0.1887, allocations: 0.5777 MB / 0.4996 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.1899, allocations: 1.174 MB / 0.5008 GB, free: 15.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002319/0.1923, allocations: 2.004 MB / 0.5028 GB, free: 12.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.1923, allocations: 4 kB / 0.5028 GB, free: 12.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004388/0.1967, allocations: 2.491 MB / 0.5052 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.1968, allocations: 63.41 kB / 0.5052 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002789/0.1996, allocations: 1.577 MB / 0.5068 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.2012, allocations: 0.5475 MB / 0.5073 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.2023, allocations: 327.5 kB / 0.5076 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2107/0.413, allocations: 9.454 MB / 0.5169 GB, free: 67.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.4143, allocations: 76.28 kB / 0.5169 GB, free: 67.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.4145, allocations: 100.1 kB / 0.517 GB, free: 67.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009175/0.4154, allocations: 0.602 MB / 0.5176 GB, free: 67.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.4156, allocations: 128.5 kB / 0.5177 GB, free: 67.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.418, allocations: 1.533 MB / 0.5192 GB, free: 67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.418, allocations: 15.86 kB / 0.5193 GB, free: 67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.418, allocations: 1.156 kB / 0.5193 GB, free: 67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.4181, allocations: 7.188 kB / 0.5193 GB, free: 67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00479/0.4229, allocations: 3.074 MB / 0.5223 GB, free: 65.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.4229, allocations: 3.453 kB / 0.5223 GB, free: 65.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.4243, allocations: 302.9 kB / 0.5226 GB, free: 65.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/0.4243, allocations: 9.781 kB / 0.5226 GB, free: 65.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.111e-05/0.4244, allocations: 39.23 kB / 0.5226 GB, free: 65.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.4244, allocations: 7.406 kB / 0.5226 GB, free: 65.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4244, allocations: 1.344 kB / 0.5226 GB, free: 65.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/0.4277, allocations: 2.315 MB / 0.5249 GB, free: 64.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.4283, allocations: 297 kB / 0.5252 GB, free: 64.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.4285, allocations: 31.23 kB / 0.5252 GB, free: 64.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.4291, allocations: 43.14 kB / 0.5252 GB, free: 64.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/0.4294, allocations: 75.84 kB / 0.5253 GB, free: 64.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.4295, allocations: 83.05 kB / 0.5254 GB, free: 64.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001031/0.4306, allocations: 0.603 MB / 0.526 GB, free: 64.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4306, allocations: 0 / 0.526 GB, free: 64.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001561/0.4321, allocations: 421.2 kB / 0.5264 GB, free: 64.29 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001798/0.4323, allocations: 154.2 kB / 0.5265 GB, free: 64.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004818/0.4371, allocations: 2.995 MB / 0.5294 GB, free: 63.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.4372, allocations: 1.031 kB / 0.5294 GB, free: 63.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.4383, allocations: 0.878 MB / 0.5303 GB, free: 62.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.4395, allocations: 221.2 kB / 0.5305 GB, free: 62.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/0.4449, allocations: 3.541 MB / 0.534 GB, free: 60.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.446, allocations: 1.462 MB / 0.5354 GB, free: 60.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/0.4464, allocations: 105.5 kB / 0.5355 GB, free: 60.09 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4464, allocations: 4 kB / 0.5355 GB, free: 60.09 MB / 398.1 MB Notification: Performance of Templates: time 0.02877/0.4752, allocations: 28.05 MB / 0.5629 GB, free: 36.39 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)