Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002356/0.00236, allocations: 353.2 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.148/3.148, allocations: 388.9 MB / 406.2 MB, free: 6.844 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003074/0.003074, allocations: 223.9 kB / 451.6 MB, free: 0.5859 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.5988/0.5988, allocations: 76.03 MB / 0.5594 GB, free: 14.44 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005246/0.0005247, allocations: 16 kB / 0.6216 GB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2684, allocations: 53.21 MB / 0.6736 GB, free: 62.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.008698/0.2772, allocations: 9.573 MB / 0.6829 GB, free: 53.01 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005435/0.2826, allocations: 3.706 MB / 0.6866 GB, free: 49.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007196/0.2834, allocations: 59.56 kB / 0.6866 GB, free: 49.26 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006606/0.2841, allocations: 317.9 kB / 0.6869 GB, free: 48.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.286, allocations: 1.12 MB / 0.688 GB, free: 47.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.2875, allocations: 0.6275 MB / 0.6886 GB, free: 47.2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.2896, allocations: 3.092 MB / 0.6917 GB, free: 44.1 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.2913, allocations: 1.096 MB / 0.6927 GB, free: 42.95 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008652/0.2922, allocations: 0.8049 MB / 0.6935 GB, free: 42.14 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.2936, allocations: 1.363 MB / 0.6948 GB, free: 40.78 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.2938, allocations: 64 kB / 0.6949 GB, free: 40.71 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008596/0.2947, allocations: 435.1 kB / 0.6953 GB, free: 40.29 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007109/0.2954, allocations: 0.8729 MB / 0.6962 GB, free: 39.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.2957, allocations: 336.8 kB / 0.6965 GB, free: 39.08 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.2971, allocations: 1.742 MB / 0.6982 GB, free: 37.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.042e-06/0.2971, allocations: 4 kB / 0.6982 GB, free: 37.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.777e-06/0.2972, allocations: 0 / 0.6982 GB, free: 37.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.2972, allocations: 3.938 kB / 0.6982 GB, free: 37.32 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.002589/0.2998, allocations: 1.699 MB / 0.6999 GB, free: 35.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2998, allocations: 8.031 kB / 0.6999 GB, free: 35.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.3016, allocations: 369.4 kB / 0.7002 GB, free: 35.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.3033, allocations: 1 MB / 0.7012 GB, free: 34.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.049e-05/0.3034, allocations: 106.7 kB / 0.7013 GB, free: 34.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003495/0.3038, allocations: 163.8 kB / 0.7015 GB, free: 33.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.307, allocations: 2.308 MB / 0.7037 GB, free: 31.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/0.3071, allocations: 7.938 kB / 0.7037 GB, free: 31.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.3073, allocations: 63.97 kB / 0.7038 GB, free: 31.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000475/0.3077, allocations: 230.8 kB / 0.704 GB, free: 31.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002893/0.3107, allocations: 1.822 MB / 0.7058 GB, free: 29.29 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.009837/0.3205, allocations: 9.56 MB / 0.7151 GB, free: 19.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.3228, allocations: 1.533 MB / 0.7166 GB, free: 17.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009287/0.3237, allocations: 0.5963 MB / 0.7172 GB, free: 17.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.99e-05/0.3238, allocations: 13 kB / 0.7172 GB, free: 17.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.3249, allocations: 0.8489 MB / 0.718 GB, free: 16.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 4.521e-06/0.3249, allocations: 0 / 0.718 GB, free: 16.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=131): time 0.005858/0.3307, allocations: 3.953 MB / 0.7219 GB, free: 12.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.3308, allocations: 286.6 kB / 0.7222 GB, free: 11.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.3319, allocations: 0.9146 MB / 0.7231 GB, free: 10.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.846e-05/0.332, allocations: 45.7 kB / 0.7231 GB, free: 10.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/0.3325, allocations: 0.7628 MB / 0.7238 GB, free: 9.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.3328, allocations: 453.6 kB / 0.7243 GB, free: 9.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.3329, allocations: 36 kB / 0.7243 GB, free: 9.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.333, allocations: 442.6 kB / 0.7247 GB, free: 9.059 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000975/0.334, allocations: 0.5621 MB / 0.7253 GB, free: 8.496 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.3352, allocations: 1.159 MB / 0.7264 GB, free: 7.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.3364, allocations: 0.8371 MB / 0.7272 GB, free: 6.223 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.782e-06/0.3364, allocations: 8 kB / 0.7272 GB, free: 6.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004387/0.3408, allocations: 2.454 MB / 0.7296 GB, free: 3.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.3409, allocations: 75.39 kB / 0.7297 GB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002935/0.3438, allocations: 1.538 MB / 0.7312 GB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.3456, allocations: 0.549 MB / 0.7317 GB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.3467, allocations: 323.5 kB / 0.7321 GB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.3585, allocations: 8.687 MB / 0.7405 GB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.3597, allocations: 83.89 kB / 0.7406 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.3599, allocations: 91.97 kB / 0.7407 GB, free: 7.836 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.001038/0.361, allocations: 0.6114 MB / 0.7413 GB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.3612, allocations: 122.5 kB / 0.7414 GB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.3642, allocations: 1.515 MB / 0.7429 GB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.3643, allocations: 12 kB / 0.7429 GB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.918e-06/0.3643, allocations: 8 kB / 0.7429 GB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.3643, allocations: 3.984 kB / 0.7429 GB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00574/0.37, allocations: 3.056 MB / 0.7459 GB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.992e-06/0.3701, allocations: 0 / 0.7459 GB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/0.3717, allocations: 299.8 kB / 0.7462 GB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.3718, allocations: 8 kB / 0.7462 GB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.3719, allocations: 31.98 kB / 0.7462 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.3719, allocations: 11.94 kB / 0.7462 GB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.523e-06/0.372, allocations: 7.953 kB / 0.7462 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/0.3759, allocations: 2.277 MB / 0.7485 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.3765, allocations: 303.4 kB / 0.7488 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.3767, allocations: 32 kB / 0.7488 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.3774, allocations: 51.95 kB / 0.7488 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.3776, allocations: 76.86 kB / 0.7489 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.3778, allocations: 75.86 kB / 0.749 GB, free: 15.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008917/0.3787, allocations: 0.5986 MB / 0.7496 GB, free: 14.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.3787, allocations: 0 / 0.7496 GB, free: 14.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001656/0.3804, allocations: 428 kB / 0.75 GB, free: 14.12 MB / 378.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.0002206/0.3806, allocations: 145.3 kB / 0.7501 GB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004073/0.3847, allocations: 2.29 MB / 0.7524 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.238e-06/0.3847, allocations: 0 / 0.7524 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.3861, allocations: 0.8648 MB / 0.7532 GB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.3873, allocations: 212.6 kB / 0.7534 GB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007007/0.3943, allocations: 4.035 MB / 0.7573 GB, free: 6.426 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.3959, allocations: 1.489 MB / 0.7588 GB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001571/0.3975, allocations: 466.3 kB / 0.7592 GB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.3978, allocations: 91.42 kB / 0.7593 GB, free: 4.352 MB / 378.7 MB Notification: Performance of SimCode: time 1.551e-06/0.3979, allocations: 0 / 0.7593 GB, free: 4.352 MB / 378.7 MB Notification: Performance of Templates: time 0.03382/0.4317, allocations: 13.91 MB / 0.7729 GB, free: 6.543 MB / 394.7 MB