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.001356/0.001356, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001519/0.001519, allocations: 192 kB / 18.63 MB, free: 4.375 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.401/1.401, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1771/0.1771, allocations: 37.99 MB / 309.8 MB, free: 5.973 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.001478/0.001478, allocations: 67.91 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2102, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.007858/0.2181, allocations: 9.079 MB / 441.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004682/0.2228, allocations: 3.412 MB / 444.5 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008778/0.2237, allocations: 39.75 kB / 444.6 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.226, allocations: 1.034 MB / 445.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.2281, allocations: 1.109 MB / 446.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.2295, allocations: 0.6899 MB / 447.4 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00218/0.2317, allocations: 2.375 MB / 449.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009294/0.2326, allocations: 0.823 MB / 450.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.2342, allocations: 0.9845 MB / 451.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.2359, allocations: 1.34 MB / 452.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.2361, allocations: 128 kB / 453 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.2372, allocations: 0.5734 MB / 453.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007609/0.2379, allocations: 0.9275 MB / 454.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008705/0.2388, allocations: 0.8979 MB / 455.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.2409, allocations: 2.34 MB / 457.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2409, allocations: 4 kB / 457.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2409, allocations: 0 / 457.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.2409, allocations: 0 / 457.8 MB, free: 9.637 MB / 334.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.003148/0.2441, allocations: 2.019 MB / 459.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2441, allocations: 11.89 kB / 459.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.2458, allocations: 354.4 kB / 460.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.2478, allocations: 1.083 MB / 461.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.2479, allocations: 103.1 kB / 461.3 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.2482, allocations: 160.1 kB / 461.5 MB, free: 5.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/0.2515, allocations: 2.339 MB / 463.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/0.2516, allocations: 15.84 kB / 463.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.2517, allocations: 67.95 kB / 463.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004979/0.2522, allocations: 222.8 kB / 464.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/0.2549, allocations: 1.846 MB / 466 MB, free: 1.152 MB / 334.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.01054/0.2655, allocations: 9.509 MB / 475.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.2676, allocations: 1.536 MB / 477 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008182/0.2684, allocations: 0.6136 MB / 477.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.921e-05/0.2685, allocations: 28.97 kB / 477.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.2696, allocations: 0.8489 MB / 478.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=130): time 2.695e-06/0.2696, allocations: 0 / 478.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.005818/0.2754, allocations: 4.015 MB / 482.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.2756, allocations: 282.3 kB / 482.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.2767, allocations: 0.9185 MB / 483.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.238e-05/0.2768, allocations: 53.69 kB / 483.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005692/0.2774, allocations: 0.7667 MB / 484.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.2777, allocations: 449.7 kB / 485 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.2781, allocations: 323.2 kB / 485.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2782, allocations: 362 kB / 485.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008263/0.279, allocations: 0.5816 MB / 486.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.2802, allocations: 1.174 MB / 487.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.2825, allocations: 1.997 MB / 489.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.2825, allocations: 8 kB / 489.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004102/0.2866, allocations: 2.489 MB / 491.9 MB, free: 5.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/0.2867, allocations: 75.39 kB / 492 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002631/0.2893, allocations: 1.556 MB / 493.5 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.2909, allocations: 0.5559 MB / 494.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.2919, allocations: 327.5 kB / 494.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009794/0.3017, allocations: 9.449 MB / 0.492 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009628/0.3027, allocations: 76.03 kB / 0.4921 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.3029, allocations: 104 kB / 0.4922 GB, free: 9.094 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.0007896/0.3037, allocations: 0.5997 MB / 0.4928 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.3038, allocations: 122.5 kB / 0.4929 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.306, allocations: 1.531 MB / 0.4944 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.306, allocations: 15.94 kB / 0.4944 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.306, allocations: 7.938 kB / 0.4944 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.3061, allocations: 7.969 kB / 0.4944 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/0.3104, allocations: 3.079 MB / 0.4975 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3104, allocations: 0 / 0.4975 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.3118, allocations: 299.8 kB / 0.4977 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.3118, allocations: 4 kB / 0.4977 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.128e-05/0.3119, allocations: 39.98 kB / 0.4978 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.3119, allocations: 11.94 kB / 0.4978 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3119, allocations: 7.984 kB / 0.4978 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.3148, allocations: 2.318 MB / 0.5001 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.3154, allocations: 291.5 kB / 0.5003 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.3156, allocations: 28 kB / 0.5004 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005356/0.3161, allocations: 43.97 kB / 0.5004 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.3163, allocations: 84.89 kB / 0.5005 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.3164, allocations: 83.86 kB / 0.5006 GB, free: 348 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007009/0.3171, allocations: 0.6064 MB / 0.5012 GB, free: 15.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3171, allocations: 0 / 0.5012 GB, free: 15.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001235/0.3184, allocations: 420 kB / 0.5016 GB, free: 15.31 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.0001784/0.3185, allocations: 146.5 kB / 0.5017 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003202/0.3218, allocations: 2.33 MB / 0.504 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3218, allocations: 1.812 kB / 0.504 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009964/0.3228, allocations: 0.8711 MB / 0.5048 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.3237, allocations: 216 kB / 0.505 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.3285, allocations: 3.376 MB / 0.5083 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.3296, allocations: 1.458 MB / 0.5098 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009876/0.3306, allocations: 462.3 kB / 0.5102 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.3308, allocations: 95.42 kB / 0.5103 GB, free: 6.176 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3308, allocations: 0 / 0.5103 GB, free: 6.176 MB / 398.1 MB Notification: Performance of Templates: time 0.1897/0.5205, allocations: 15.31 MB / 0.5252 GB, free: 83.35 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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)