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.001305/0.001308, allocations: 187 kB / 16.38 MB, free: 5.594 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 1.696/1.696, allocations: 194.5 MB / 211.6 MB, free: 8.496 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001766/0.001766, allocations: 112.7 kB / 256.9 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2175/0.2175, allocations: 38.01 MB / 340.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004108, allocations: 18.75 kB / 403.8 MB, free: 55.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06733/0.06776, allocations: 53.22 MB / 457 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.008035/0.07584, allocations: 9.103 MB / 466.1 MB, free: 1.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006501/0.08237, allocations: 3.723 MB / 469.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006421/0.08304, allocations: 59.56 kB / 469.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007799/0.08383, allocations: 334.1 kB / 470.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.08583, allocations: 0.7867 MB / 471 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.08769, allocations: 0.6198 MB / 471.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.0892, allocations: 1.062 MB / 472.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.09138, allocations: 1.108 MB / 473.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009205/0.09232, allocations: 0.6461 MB / 474.4 MB, free: 8.969 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.09364, allocations: 0.8414 MB / 475.3 MB, free: 8.125 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.09387, allocations: 64 kB / 475.3 MB, free: 8.062 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009491/0.09483, allocations: 423.3 kB / 475.8 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000844/0.09569, allocations: 0.7756 MB / 476.5 MB, free: 6.871 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003892/0.09609, allocations: 336.8 kB / 476.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.0982, allocations: 1.734 MB / 478.6 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.539e-06/0.09822, allocations: 8 kB / 478.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.802e-06/0.09823, allocations: 0 / 478.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.09826, allocations: 0 / 478.6 MB, free: 4.789 MB / 314.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.003155/0.1014, allocations: 1.703 MB / 480.3 MB, free: 3.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1015, allocations: 12.02 kB / 480.3 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.1036, allocations: 369.4 kB / 480.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.1056, allocations: 0.9962 MB / 481.7 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.1057, allocations: 106.7 kB / 481.8 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004538/0.1062, allocations: 171.7 kB / 482 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/0.1101, allocations: 2.297 MB / 484.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.1102, allocations: 7.938 kB / 484.3 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.1104, allocations: 63.97 kB / 484.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005492/0.1109, allocations: 222.8 kB / 484.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.1145, allocations: 1.818 MB / 486.4 MB, free: 12.76 MB / 330.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.01356/0.1281, allocations: 9.563 MB / 495.9 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.1308, allocations: 1.537 MB / 497.5 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.61e-05/0.1309, allocations: 20.97 kB / 497.5 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/0.1323, allocations: 0.8294 MB / 498.3 MB, free: 204 kB / 330.7 MB Notification: Performance of pre-optimization done (n=130): time 6.41e-06/0.1323, allocations: 7.984 kB / 498.3 MB, free: 196 kB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.007407/0.1397, allocations: 4.11 MB / 0.4906 GB, free: 11.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.1399, allocations: 286.3 kB / 0.4909 GB, free: 11.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.1413, allocations: 0.9107 MB / 0.4918 GB, free: 10.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.488e-05/0.1414, allocations: 45.7 kB / 0.4919 GB, free: 10.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007464/0.1421, allocations: 0.7785 MB / 0.4926 GB, free: 9.832 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/0.1426, allocations: 449.7 kB / 0.493 GB, free: 9.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.1427, allocations: 32 kB / 0.4931 GB, free: 9.355 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003015/0.143, allocations: 438.7 kB / 0.4935 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.1442, allocations: 0.5621 MB / 0.494 GB, free: 8.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.1458, allocations: 1.159 MB / 0.4952 GB, free: 6.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.1473, allocations: 0.8333 MB / 0.496 GB, free: 6.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.1474, allocations: 4 kB / 0.496 GB, free: 6.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005192/0.1526, allocations: 2.457 MB / 0.4984 GB, free: 3.594 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.1527, allocations: 71.39 kB / 0.4985 GB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00351/0.1562, allocations: 1.542 MB / 0.5 GB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.1582, allocations: 0.5492 MB / 0.5005 GB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.1595, allocations: 331.5 kB / 0.5008 GB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.172, allocations: 8.903 MB / 0.5095 GB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.1732, allocations: 83.97 kB / 0.5096 GB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.1734, allocations: 104 kB / 0.5097 GB, free: 7.473 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.001173/0.1746, allocations: 0.5995 MB / 0.5103 GB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.1748, allocations: 130.5 kB / 0.5104 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.1777, allocations: 1.512 MB / 0.5119 GB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.1777, allocations: 12 kB / 0.5119 GB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.284e-06/0.1777, allocations: 0 / 0.5119 GB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.1777, allocations: 11.97 kB / 0.5119 GB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005616/0.1834, allocations: 3.052 MB / 0.5149 GB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.1834, allocations: 4 kB / 0.5149 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.185, allocations: 299.8 kB / 0.5152 GB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.185, allocations: 4 kB / 0.5152 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.1851, allocations: 39.97 kB / 0.5152 GB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.1851, allocations: 7.938 kB / 0.5152 GB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.63e-06/0.1851, allocations: 4 kB / 0.5152 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004137/0.1893, allocations: 2.365 MB / 0.5175 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.1899, allocations: 295.5 kB / 0.5178 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.1901, allocations: 36.11 kB / 0.5178 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.1908, allocations: 55.92 kB / 0.5179 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.191, allocations: 72.89 kB / 0.518 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/0.1912, allocations: 83.91 kB / 0.5181 GB, free: 14.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008906/0.1921, allocations: 0.6024 MB / 0.5186 GB, free: 14.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.47e-07/0.1921, allocations: 3.938 kB / 0.5186 GB, free: 14.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001588/0.1937, allocations: 420 kB / 0.519 GB, free: 13.64 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.0002427/0.194, allocations: 149.3 kB / 0.5192 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003891/0.1979, allocations: 2.286 MB / 0.5214 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.1979, allocations: 0 / 0.5214 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.1993, allocations: 0.8678 MB / 0.5223 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.2003, allocations: 187.4 kB / 0.5224 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/0.2069, allocations: 4.03 MB / 0.5264 GB, free: 5.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.2084, allocations: 1.49 MB / 0.5278 GB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001614/0.21, allocations: 466.3 kB / 0.5283 GB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.2104, allocations: 91.42 kB / 0.5284 GB, free: 3.891 MB / 378.7 MB Notification: Performance of SimCode: time 1.251e-06/0.2104, allocations: 0 / 0.5284 GB, free: 3.891 MB / 378.7 MB Notification: Performance of Templates: time 0.2523/0.4626, allocations: 13.86 MB / 0.5419 GB, free: 74.49 MB / 378.7 MB