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.001566/0.001566, allocations: 111 kB / 17.75 MB, free: 5.336 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.001829/0.001829, allocations: 190.4 kB / 18.67 MB, free: 4.422 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.321/1.321, allocations: 205.1 MB / 224.5 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.1756/0.1756, allocations: 37.98 MB / 309.9 MB, free: 5.965 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.001427/0.001428, allocations: 68.47 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.08962, allocations: 55.25 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.009467/0.09912, allocations: 9.077 MB / 496.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005262/0.1044, allocations: 3.412 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.1048, allocations: 39.75 kB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.1073, allocations: 1.038 MB / 0.4896 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.1091, allocations: 1.109 MB / 0.4907 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.1106, allocations: 0.6899 MB / 0.4914 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.113, allocations: 2.378 MB / 0.4937 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009829/0.114, allocations: 0.819 MB / 0.4945 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.1152, allocations: 1.004 MB / 0.4955 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.1169, allocations: 1.336 MB / 0.4968 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.1171, allocations: 132 kB / 0.4969 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.1182, allocations: 0.5811 MB / 0.4975 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008157/0.119, allocations: 0.9275 MB / 0.4984 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000893/0.1199, allocations: 0.8979 MB / 0.4992 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.1221, allocations: 2.344 MB / 0.5015 GB, free: 14.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1221, allocations: 0 / 0.5015 GB, free: 14.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1221, allocations: 0 / 0.5015 GB, free: 14.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.1221, allocations: 0 / 0.5015 GB, free: 14.45 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.003245/0.1254, allocations: 2.011 MB / 0.5035 GB, free: 12.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.1255, allocations: 11.89 kB / 0.5035 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.1272, allocations: 358.3 kB / 0.5039 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.1291, allocations: 1.075 MB / 0.5049 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.1292, allocations: 115.1 kB / 0.505 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/0.1296, allocations: 164 kB / 0.5052 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.1327, allocations: 2.332 MB / 0.5074 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/0.1327, allocations: 7.938 kB / 0.5075 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.1329, allocations: 59.97 kB / 0.5075 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000505/0.1334, allocations: 226.8 kB / 0.5077 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.1362, allocations: 1.846 MB / 0.5095 GB, free: 5.984 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.009926/0.1461, allocations: 9.52 MB / 0.5188 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.1483, allocations: 1.54 MB / 0.5203 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/0.1491, allocations: 0.6059 MB / 0.5209 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.193e-05/0.1492, allocations: 13 kB / 0.5209 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.1503, allocations: 0.849 MB / 0.5218 GB, free: 8.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.496e-06/0.1503, allocations: 4 kB / 0.5218 GB, free: 8.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.005683/0.156, allocations: 4.011 MB / 0.5257 GB, free: 4.727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.1561, allocations: 282.3 kB / 0.526 GB, free: 4.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.1571, allocations: 0.9185 MB / 0.5268 GB, free: 3.449 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.1572, allocations: 53.62 kB / 0.5269 GB, free: 3.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/0.1578, allocations: 0.7708 MB / 0.5277 GB, free: 2.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.1581, allocations: 453.7 kB / 0.5281 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.1585, allocations: 323.2 kB / 0.5284 GB, free: 1.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1586, allocations: 361.9 kB / 0.5287 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008671/0.1595, allocations: 0.5739 MB / 0.5293 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1922/0.3518, allocations: 1.17 MB / 0.5304 GB, free: 50.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.3541, allocations: 2 MB / 0.5324 GB, free: 49.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.3541, allocations: 6.156 kB / 0.5324 GB, free: 49.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004184/0.3583, allocations: 2.495 MB / 0.5348 GB, free: 48.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.3584, allocations: 72.06 kB / 0.5349 GB, free: 48.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002726/0.3611, allocations: 1.565 MB / 0.5364 GB, free: 48.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.3627, allocations: 0.5467 MB / 0.537 GB, free: 48.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.3638, allocations: 330.4 kB / 0.5373 GB, free: 48.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008871/0.3726, allocations: 9.443 MB / 0.5465 GB, free: 41.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009698/0.3736, allocations: 72.59 kB / 0.5466 GB, free: 41.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.3738, allocations: 100.6 kB / 0.5467 GB, free: 41.05 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.0007572/0.3746, allocations: 0.6088 MB / 0.5473 GB, free: 40.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.3747, allocations: 129.2 kB / 0.5474 GB, free: 40.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.3769, allocations: 1.531 MB / 0.5489 GB, free: 40.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.3769, allocations: 10.36 kB / 0.5489 GB, free: 40.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3769, allocations: 1.828 kB / 0.5489 GB, free: 40.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.3774, allocations: 293.7 kB / 0.5492 GB, free: 39.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.3775, allocations: 31.72 kB / 0.5492 GB, free: 39.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.3781, allocations: 41 kB / 0.5492 GB, free: 39.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.3782, allocations: 75.92 kB / 0.5493 GB, free: 39.89 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003044/0.3813, allocations: 2 MB / 0.5513 GB, free: 38.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002876/0.3842, allocations: 2.562 MB / 0.5538 GB, free: 37.79 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009588/0.3851, allocations: 0.6976 MB / 0.5545 GB, free: 37.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007629/0.3859, allocations: 0.6015 MB / 0.555 GB, free: 37.3 MB / 414.1 MB Notification: Performance of Backend: time 3.21e-07/0.3859, allocations: 1.344 kB / 0.555 GB, free: 37.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003509/0.3894, allocations: 2.078 MB / 0.5571 GB, free: 36.18 MB / 414.1 MB Notification: Performance of SimCode: time 0.003601/0.3931, allocations: 3.518 MB / 0.5605 GB, free: 34.16 MB / 414.1 MB Notification: Performance of Templates: time 0.02559/0.4187, allocations: 20.02 MB / 0.5801 GB, free: 15.79 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)