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.001943/0.001943, allocations: 108 kB / 16.51 MB, free: 6.707 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.001528/0.001528, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.393/1.393, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1752/0.1752, allocations: 38.03 MB / 329.3 MB, free: 8.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001828, allocations: 68.55 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1288, allocations: 58.05 MB / 456.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01104/0.1399, allocations: 10.7 MB / 466.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007904/0.1479, allocations: 3.945 MB / 470.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.1497, allocations: 67.56 kB / 470.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.1528, allocations: 0.9915 MB / 471.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.1561, allocations: 1.055 MB / 472.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.1588, allocations: 0.62 MB / 473.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005275/0.1641, allocations: 4.134 MB / 477.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.1656, allocations: 0.7874 MB / 478.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.1676, allocations: 0.8322 MB / 479.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.1704, allocations: 1.441 MB / 480.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006198/0.171, allocations: 80 kB / 480.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.1731, allocations: 0.5733 MB / 481.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.1747, allocations: 0.8884 MB / 482.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.1766, allocations: 0.8432 MB / 483.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.1803, allocations: 2.258 MB / 485.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1803, allocations: 4 kB / 485.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1803, allocations: 3.938 kB / 485.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.245e-05/0.1804, allocations: 0 / 485.4 MB, free: 11.17 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.004968/0.1854, allocations: 2.011 MB / 487.4 MB, free: 9.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.1854, allocations: 8.031 kB / 487.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.1876, allocations: 354.4 kB / 487.7 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.19, allocations: 1.032 MB / 488.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.68e-05/0.1901, allocations: 103.1 kB / 488.9 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004129/0.1905, allocations: 164.1 kB / 489 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004401/0.1949, allocations: 2.32 MB / 491.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.597e-05/0.195, allocations: 15.84 kB / 491.4 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.1952, allocations: 59.97 kB / 491.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005604/0.1958, allocations: 222.8 kB / 491.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/0.199, allocations: 1.854 MB / 493.5 MB, free: 2.77 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.01174/0.2108, allocations: 9.575 MB / 0.4913 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.213, allocations: 1.543 MB / 0.4928 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000829/0.2138, allocations: 0.6068 MB / 0.4934 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-05/0.2139, allocations: 16.98 kB / 0.4934 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.2151, allocations: 0.8605 MB / 0.4942 GB, free: 5.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 4.749e-06/0.2151, allocations: 0 / 0.4942 GB, free: 5.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.006029/0.2212, allocations: 4.007 MB / 0.4981 GB, free: 1.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.2213, allocations: 282.3 kB / 0.4984 GB, free: 1.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.2224, allocations: 0.9188 MB / 0.4993 GB, free: 172 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/0.2225, allocations: 49.7 kB / 0.4994 GB, free: 116 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2506/0.4731, allocations: 0.7688 MB / 0.5001 GB, free: 56.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006297/0.4738, allocations: 450.2 kB / 0.5005 GB, free: 56.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005257/0.4743, allocations: 325.1 kB / 0.5009 GB, free: 56.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4745, allocations: 357.1 kB / 0.5012 GB, free: 56.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.4756, allocations: 0.5785 MB / 0.5018 GB, free: 56.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.4768, allocations: 1.181 MB / 0.5029 GB, free: 55.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.479, allocations: 1.998 MB / 0.5049 GB, free: 53.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.479, allocations: 5.312 kB / 0.5049 GB, free: 53.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004505/0.4835, allocations: 2.498 MB / 0.5073 GB, free: 52.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.4836, allocations: 71.98 kB / 0.5074 GB, free: 52.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00323/0.4868, allocations: 1.565 MB / 0.5089 GB, free: 52.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.4886, allocations: 0.5449 MB / 0.5094 GB, free: 52.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4897, allocations: 328 kB / 0.5097 GB, free: 52.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009245/0.499, allocations: 8.706 MB / 0.5183 GB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.5003, allocations: 82.44 kB / 0.5183 GB, free: 45.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.5005, allocations: 102 kB / 0.5184 GB, free: 45.41 MB / 382.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.0009879/0.5015, allocations: 0.593 MB / 0.519 GB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.5017, allocations: 123.7 kB / 0.5191 GB, free: 44.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.5041, allocations: 1.532 MB / 0.5206 GB, free: 44.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.5041, allocations: 13.25 kB / 0.5206 GB, free: 44.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5041, allocations: 5.266 kB / 0.5206 GB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.5041, allocations: 10.83 kB / 0.5206 GB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004215/0.5084, allocations: 3.076 MB / 0.5237 GB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.5084, allocations: 2.719 kB / 0.5237 GB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.5097, allocations: 296.8 kB / 0.5239 GB, free: 43.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-05/0.5097, allocations: 10.19 kB / 0.5239 GB, free: 43.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.449e-05/0.5098, allocations: 36.86 kB / 0.524 GB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.5099, allocations: 5.5 kB / 0.524 GB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5099, allocations: 6.297 kB / 0.524 GB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.5127, allocations: 2.321 MB / 0.5263 GB, free: 41.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.5131, allocations: 293.3 kB / 0.5265 GB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.5132, allocations: 31.41 kB / 0.5266 GB, free: 41.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.5137, allocations: 42.92 kB / 0.5266 GB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.5139, allocations: 87.52 kB / 0.5267 GB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.514, allocations: 81.95 kB / 0.5268 GB, free: 41.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006341/0.5147, allocations: 0.5971 MB / 0.5274 GB, free: 41.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5147, allocations: 0 / 0.5274 GB, free: 41.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001565/0.5162, allocations: 425.9 kB / 0.5278 GB, free: 41.39 MB / 382.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.000179/0.5164, allocations: 149.1 kB / 0.5279 GB, free: 41.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00289/0.5193, allocations: 2.316 MB / 0.5302 GB, free: 39.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5193, allocations: 128 / 0.5302 GB, free: 39.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007954/0.5201, allocations: 0.8789 MB / 0.531 GB, free: 38.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000988/0.5211, allocations: 208.7 kB / 0.5312 GB, free: 38.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.5259, allocations: 4.068 MB / 0.5352 GB, free: 34.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/0.5268, allocations: 1.463 MB / 0.5366 GB, free: 32.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.5279, allocations: 464.4 kB / 0.5371 GB, free: 32.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.5281, allocations: 95.42 kB / 0.5372 GB, free: 32.26 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5281, allocations: 0 / 0.5372 GB, free: 32.26 MB / 382.1 MB Notification: Performance of Templates: time 0.02173/0.5499, allocations: 14.56 MB / 0.5514 GB, free: 17.84 MB / 382.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)