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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001227/0.001226, allocations: 108.8 kB / 17.06 MB, free: 6.137 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.001254/0.001254, allocations: 191 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1812/0.1812, allocations: 37.98 MB / 309.2 MB, free: 5.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1149, allocations: 55.25 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.009865/0.1248, allocations: 9.077 MB / 496.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006305/0.1311, allocations: 3.42 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.1323, allocations: 39.75 kB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003097/0.1354, allocations: 1.038 MB / 0.489 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003092/0.1385, allocations: 1.101 MB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.1407, allocations: 0.6938 MB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003446/0.1442, allocations: 2.378 MB / 0.493 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.1456, allocations: 0.819 MB / 0.4938 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.1477, allocations: 1.004 MB / 0.4948 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/0.1503, allocations: 1.336 MB / 0.4961 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005839/0.1509, allocations: 136 kB / 0.4962 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.1524, allocations: 0.5772 MB / 0.4968 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.1535, allocations: 0.9275 MB / 0.4977 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.1553, allocations: 0.8979 MB / 0.4986 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.1584, allocations: 2.344 MB / 0.5009 GB, free: 14.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1585, allocations: 4 kB / 0.5009 GB, free: 14.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1585, allocations: 0 / 0.5009 GB, free: 14.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.609e-05/0.1586, allocations: 0 / 0.5009 GB, free: 14.44 MB / 398.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.004116/0.1627, allocations: 2.011 MB / 0.5028 GB, free: 12.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1627, allocations: 11.89 kB / 0.5029 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.1645, allocations: 354.3 kB / 0.5032 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.1666, allocations: 1.079 MB / 0.5042 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.866e-05/0.1667, allocations: 111.1 kB / 0.5044 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003396/0.167, allocations: 167.9 kB / 0.5045 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/0.1702, allocations: 2.324 MB / 0.5068 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/0.1702, allocations: 11.94 kB / 0.5068 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.1704, allocations: 59.97 kB / 0.5069 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005048/0.1709, allocations: 222.8 kB / 0.5071 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.1735, allocations: 1.85 MB / 0.5089 GB, free: 5.977 MB / 398.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.01037/0.1839, allocations: 9.512 MB / 0.5182 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.186, allocations: 1.544 MB / 0.5197 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.1867, allocations: 0.6059 MB / 0.5203 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.025e-05/0.1868, allocations: 16.98 kB / 0.5203 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.1879, allocations: 0.8529 MB / 0.5211 GB, free: 8.828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 2.986e-06/0.1879, allocations: 0 / 0.5211 GB, free: 8.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.005744/0.1937, allocations: 4.011 MB / 0.525 GB, free: 4.719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.1938, allocations: 282.3 kB / 0.5253 GB, free: 4.383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.1949, allocations: 0.9224 MB / 0.5262 GB, free: 3.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/0.195, allocations: 45.95 kB / 0.5262 GB, free: 3.387 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.1956, allocations: 0.7745 MB / 0.527 GB, free: 2.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/0.1959, allocations: 449.7 kB / 0.5274 GB, free: 2.152 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004139/0.1963, allocations: 327.2 kB / 0.5277 GB, free: 1.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1965, allocations: 353.9 kB / 0.5281 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008563/0.1974, allocations: 0.5817 MB / 0.5286 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3263/0.5237, allocations: 1.169 MB / 0.5298 GB, free: 50.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.527, allocations: 2.003 MB / 0.5317 GB, free: 49.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.527, allocations: 6.875 kB / 0.5317 GB, free: 49.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004957/0.532, allocations: 2.494 MB / 0.5342 GB, free: 48.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.025e-05/0.5321, allocations: 67.62 kB / 0.5342 GB, free: 48.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003098/0.5352, allocations: 1.568 MB / 0.5358 GB, free: 48.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.5372, allocations: 0.5383 MB / 0.5363 GB, free: 47.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.5383, allocations: 329.5 kB / 0.5366 GB, free: 47.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.549, allocations: 9.449 MB / 0.5458 GB, free: 40.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.5507, allocations: 76.03 kB / 0.5459 GB, free: 40.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/0.551, allocations: 101.8 kB / 0.546 GB, free: 40.8 MB / 414.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.001367/0.5524, allocations: 0.5994 MB / 0.5466 GB, free: 40.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.5527, allocations: 129.7 kB / 0.5467 GB, free: 40.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003059/0.5557, allocations: 1.535 MB / 0.5482 GB, free: 39.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.5558, allocations: 13.62 kB / 0.5482 GB, free: 39.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5558, allocations: 5.094 kB / 0.5482 GB, free: 39.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.5558, allocations: 6.953 kB / 0.5482 GB, free: 39.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00535/0.5612, allocations: 3.069 MB / 0.5512 GB, free: 38.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.5612, allocations: 2.016 kB / 0.5512 GB, free: 38.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.5627, allocations: 299.4 kB / 0.5515 GB, free: 38.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.84e-05/0.5627, allocations: 5.469 kB / 0.5515 GB, free: 38.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.5628, allocations: 45.94 kB / 0.5516 GB, free: 38.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.581e-05/0.5628, allocations: 9.359 kB / 0.5516 GB, free: 38.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.5628, allocations: 2.562 kB / 0.5516 GB, free: 38.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/0.5659, allocations: 2.315 MB / 0.5539 GB, free: 37.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005991/0.5665, allocations: 292.1 kB / 0.5541 GB, free: 37.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.5666, allocations: 41.2 kB / 0.5542 GB, free: 37.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.5672, allocations: 38.53 kB / 0.5542 GB, free: 37.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.5674, allocations: 79.97 kB / 0.5543 GB, free: 37.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.5675, allocations: 86.48 kB / 0.5544 GB, free: 37.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009142/0.5685, allocations: 0.5958 MB / 0.5549 GB, free: 37.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5685, allocations: 0 / 0.5549 GB, free: 37.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001802/0.5703, allocations: 421.7 kB / 0.5553 GB, free: 36.98 MB / 414.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.0002178/0.5705, allocations: 151.2 kB / 0.5555 GB, free: 36.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003499/0.574, allocations: 2.329 MB / 0.5578 GB, free: 35.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.574, allocations: 4.688 kB / 0.5578 GB, free: 35.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.5751, allocations: 0.8791 MB / 0.5586 GB, free: 35.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5762, allocations: 222 kB / 0.5588 GB, free: 35.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.5812, allocations: 3.37 MB / 0.5621 GB, free: 33.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009471/0.5822, allocations: 1.457 MB / 0.5636 GB, free: 31.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009478/0.5831, allocations: 466.3 kB / 0.564 GB, free: 31.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.5833, allocations: 95.42 kB / 0.5641 GB, free: 30.96 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5833, allocations: 0 / 0.5641 GB, free: 30.96 MB / 414.1 MB Notification: Performance of Templates: time 0.02725/0.6106, allocations: 15.7 MB / 0.5794 GB, free: 15.26 MB / 414.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)