Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001426, allocations: 173.1 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007745/0.0007748, allocations: 94.3 kB / 270.3 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1812/0.1812, allocations: 38.07 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003622, allocations: 16 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1094, allocations: 56.33 MB / 479.1 MB, free: 2.055 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.009156/0.1186, allocations: 9.582 MB / 488.6 MB, free: 8.434 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007307/0.126, allocations: 3.726 MB / 492.4 MB, free: 4.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.1276, allocations: 63.56 kB / 492.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009489/0.1285, allocations: 337.6 kB / 492.8 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003081/0.1316, allocations: 1.121 MB / 493.9 MB, free: 3.176 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.1337, allocations: 0.6355 MB / 494.5 MB, free: 2.539 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003674/0.1374, allocations: 3.092 MB / 497.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.1394, allocations: 1.104 MB / 498.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.1415, allocations: 0.8323 MB / 499.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/0.1443, allocations: 1.363 MB / 0.4892 GB, free: 12.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004701/0.1448, allocations: 64 kB / 0.4892 GB, free: 12.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.1463, allocations: 439.3 kB / 0.4896 GB, free: 11.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.1476, allocations: 0.8729 MB / 0.4905 GB, free: 10.71 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006572/0.1482, allocations: 336.8 kB / 0.4908 GB, free: 10.38 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.1505, allocations: 1.734 MB / 0.4925 GB, free: 8.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1505, allocations: 4 kB / 0.4925 GB, free: 8.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1505, allocations: 0 / 0.4925 GB, free: 8.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.1506, allocations: 0 / 0.4925 GB, free: 8.637 MB / 346.7 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.003026/0.1536, allocations: 1.703 MB / 0.4942 GB, free: 6.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1537, allocations: 8.031 kB / 0.4942 GB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.1553, allocations: 361.3 kB / 0.4945 GB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.157, allocations: 0.9962 MB / 0.4955 GB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/0.1571, allocations: 102.7 kB / 0.4956 GB, free: 5.359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.1574, allocations: 163.9 kB / 0.4958 GB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/0.1607, allocations: 2.328 MB / 0.498 GB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.1608, allocations: 11.84 kB / 0.498 GB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.1609, allocations: 67.92 kB / 0.4981 GB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005232/0.1614, allocations: 222.8 kB / 0.4983 GB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.1642, allocations: 1.83 MB / 0.5001 GB, free: 0.582 MB / 346.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.01089/0.1751, allocations: 9.564 MB / 0.5094 GB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.1773, allocations: 1.536 MB / 0.5109 GB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/0.1782, allocations: 0.6143 MB / 0.5115 GB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-05/0.1783, allocations: 20.98 kB / 0.5116 GB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.1794, allocations: 0.8489 MB / 0.5124 GB, free: 3.387 MB / 362.7 MB Notification: Performance of pre-optimization done (n=130): time 3.807e-06/0.1795, allocations: 0 / 0.5124 GB, free: 3.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=131): time 0.2106/0.3901, allocations: 3.987 MB / 0.5163 GB, free: 52.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.3902, allocations: 288.7 kB / 0.5166 GB, free: 51.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.3916, allocations: 0.9074 MB / 0.5175 GB, free: 51.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.3917, allocations: 50.33 kB / 0.5175 GB, free: 51.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005327/0.3923, allocations: 0.7689 MB / 0.5183 GB, free: 51.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.3926, allocations: 451.6 kB / 0.5187 GB, free: 50.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.3927, allocations: 35.53 kB / 0.5187 GB, free: 50.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3929, allocations: 436.7 kB / 0.5191 GB, free: 50.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009098/0.3938, allocations: 0.5738 MB / 0.5197 GB, free: 50.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.395, allocations: 1.165 MB / 0.5208 GB, free: 49.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.3962, allocations: 0.8393 MB / 0.5217 GB, free: 49.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.3962, allocations: 6.672 kB / 0.5217 GB, free: 49.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004498/0.4007, allocations: 2.477 MB / 0.5241 GB, free: 48.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.618e-05/0.4008, allocations: 68.42 kB / 0.5241 GB, free: 48.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003023/0.4038, allocations: 1.561 MB / 0.5257 GB, free: 47.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/0.4058, allocations: 0.5464 MB / 0.5262 GB, free: 47.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.4071, allocations: 326.2 kB / 0.5265 GB, free: 47.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008758/0.4158, allocations: 8.684 MB / 0.535 GB, free: 40.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.4173, allocations: 80.27 kB / 0.5351 GB, free: 40.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/0.4175, allocations: 97.23 kB / 0.5352 GB, free: 40.8 MB / 362.7 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,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 11,(2,100.0%) 12,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008931/0.4184, allocations: 0.6019 MB / 0.5357 GB, free: 40.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.4186, allocations: 123 kB / 0.5359 GB, free: 40.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.4208, allocations: 1.535 MB / 0.5374 GB, free: 39.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.4208, allocations: 11.66 kB / 0.5374 GB, free: 39.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4209, allocations: 3.938 kB / 0.5374 GB, free: 39.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.4209, allocations: 6.328 kB / 0.5374 GB, free: 39.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/0.4247, allocations: 3.077 MB / 0.5404 GB, free: 38.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.4247, allocations: 0 / 0.5404 GB, free: 38.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/0.426, allocations: 300.8 kB / 0.5407 GB, free: 38.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.4261, allocations: 5.688 kB / 0.5407 GB, free: 38.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.799e-05/0.4261, allocations: 49.73 kB / 0.5407 GB, free: 38.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.4262, allocations: 5.156 kB / 0.5407 GB, free: 38.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4262, allocations: 3.938 kB / 0.5407 GB, free: 38.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.4286, allocations: 2.308 MB / 0.543 GB, free: 36.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.4291, allocations: 288.2 kB / 0.5433 GB, free: 36.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.4292, allocations: 31.5 kB / 0.5433 GB, free: 36.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/0.4298, allocations: 51.2 kB / 0.5433 GB, free: 36.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.4299, allocations: 76.08 kB / 0.5434 GB, free: 36.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.43, allocations: 78.95 kB / 0.5435 GB, free: 36.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006392/0.4307, allocations: 0.5986 MB / 0.5441 GB, free: 35.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.4307, allocations: 0 / 0.5441 GB, free: 35.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001469/0.4322, allocations: 423.9 kB / 0.5445 GB, free: 35.48 MB / 362.7 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 (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.0001828/0.4324, allocations: 140 kB / 0.5446 GB, free: 35.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.4353, allocations: 2.316 MB / 0.5469 GB, free: 32.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4353, allocations: 0 / 0.5469 GB, free: 32.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008081/0.4361, allocations: 0.873 MB / 0.5477 GB, free: 32.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009773/0.4371, allocations: 214.2 kB / 0.5479 GB, free: 31.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.442, allocations: 4.182 MB / 0.552 GB, free: 27.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/0.4428, allocations: 1.473 MB / 0.5535 GB, free: 26.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.4431, allocations: 103.4 kB / 0.5536 GB, free: 26.02 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4431, allocations: 0 / 0.5536 GB, free: 26.02 MB / 362.7 MB Notification: Performance of Templates: time 0.03145/0.4746, allocations: 27.94 MB / 0.5808 GB, free: 14.02 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)