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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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_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/Complex 3.2.2+maint.om/package.mo): time 0.00108/0.00108, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.133/1.133, allocations: 194.2 MB / 212.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001879/0.001879, allocations: 121.4 kB / 256.6 MB, free: 4.328 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1629/0.1629, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.89 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08018/0.08154, allocations: 52.18 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.007573/0.08916, allocations: 10.7 MB / 464.7 MB, free: 5.824 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004864/0.09406, allocations: 3.989 MB / 468.7 MB, free: 1.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.09467, allocations: 67.56 kB / 468.7 MB, free: 1.754 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.09659, allocations: 0.9882 MB / 469.7 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.0982, allocations: 1.051 MB / 470.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.09955, allocations: 0.62 MB / 471.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003223/0.1028, allocations: 4.145 MB / 475.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.1038, allocations: 0.7952 MB / 476.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.1049, allocations: 0.8362 MB / 477.2 MB, free: 9.277 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.1066, allocations: 1.445 MB / 478.6 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.1067, allocations: 80 kB / 478.7 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009903/0.1077, allocations: 0.5694 MB / 479.3 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007425/0.1085, allocations: 0.8806 MB / 480.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007569/0.1093, allocations: 0.8471 MB / 481 MB, free: 5.445 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.1112, allocations: 2.266 MB / 483.3 MB, free: 3.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1112, allocations: 0 / 483.3 MB, free: 3.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1112, allocations: 0 / 483.3 MB, free: 3.172 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.1113, allocations: 0 / 483.3 MB, free: 3.172 MB / 330.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.003156/0.1144, allocations: 2.011 MB / 485.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1145, allocations: 8.031 kB / 485.3 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.1161, allocations: 350.4 kB / 485.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.1178, allocations: 1.032 MB / 486.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/0.1179, allocations: 103.1 kB / 486.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/0.1182, allocations: 163.8 kB / 486.9 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/0.121, allocations: 2.335 MB / 489.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/0.1211, allocations: 11.94 kB / 489.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.1212, allocations: 59.98 kB / 489.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004796/0.1217, allocations: 222.8 kB / 489.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.1243, allocations: 1.85 MB / 491.4 MB, free: 10.76 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.01013/0.1345, allocations: 9.571 MB / 0.4892 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.1366, allocations: 1.54 MB / 0.4907 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007946/0.1374, allocations: 0.6107 MB / 0.4913 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.576e-05/0.1375, allocations: 20.98 kB / 0.4913 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.1386, allocations: 0.8645 MB / 0.4922 GB, free: 13.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=130): time 3.757e-06/0.1386, allocations: 0 / 0.4922 GB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=131): time 0.005559/0.1441, allocations: 4.011 MB / 0.4961 GB, free: 9.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.1443, allocations: 286.3 kB / 0.4964 GB, free: 9.098 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.1454, allocations: 0.911 MB / 0.4973 GB, free: 8.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/0.1454, allocations: 53.7 kB / 0.4973 GB, free: 8.105 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/0.146, allocations: 0.7666 MB / 0.4981 GB, free: 7.324 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.1463, allocations: 453.7 kB / 0.4985 GB, free: 6.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.1467, allocations: 327.2 kB / 0.4988 GB, free: 6.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1469, allocations: 361.9 kB / 0.4992 GB, free: 6.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008282/0.1477, allocations: 0.5778 MB / 0.4997 GB, free: 5.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.149, allocations: 1.171 MB / 0.5009 GB, free: 4.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/0.1512, allocations: 2.001 MB / 0.5028 GB, free: 1.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.1512, allocations: 4 kB / 0.5028 GB, free: 1.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.1855/0.3367, allocations: 2.498 MB / 0.5053 GB, free: 64.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/0.3368, allocations: 66.58 kB / 0.5053 GB, free: 64.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002973/0.3398, allocations: 1.568 MB / 0.5068 GB, free: 64.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.3414, allocations: 0.5483 MB / 0.5074 GB, free: 64.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.3425, allocations: 327.2 kB / 0.5077 GB, free: 64.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008413/0.351, allocations: 8.704 MB / 0.5162 GB, free: 57.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.352, allocations: 74.44 kB / 0.5163 GB, free: 57.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.3521, allocations: 106.9 kB / 0.5164 GB, free: 57.84 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,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.0007425/0.3529, allocations: 0.591 MB / 0.5169 GB, free: 57.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.353, allocations: 131.3 kB / 0.5171 GB, free: 57.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.355, allocations: 1.536 MB / 0.5186 GB, free: 56.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3551, allocations: 11.88 kB / 0.5186 GB, free: 56.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3551, allocations: 3.531 kB / 0.5186 GB, free: 56.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.3551, allocations: 5.766 kB / 0.5186 GB, free: 56.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.3593, allocations: 3.071 MB / 0.5216 GB, free: 55.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3593, allocations: 1.719 kB / 0.5216 GB, free: 55.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.3606, allocations: 299.8 kB / 0.5219 GB, free: 55.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.3606, allocations: 11.59 kB / 0.5219 GB, free: 55.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.3607, allocations: 33.14 kB / 0.5219 GB, free: 55.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.3607, allocations: 5.75 kB / 0.5219 GB, free: 55.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3607, allocations: 6.094 kB / 0.5219 GB, free: 55.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.3731, allocations: 9.263 MB / 0.531 GB, free: 50.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/0.3735, allocations: 293.4 kB / 0.5313 GB, free: 50.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.3737, allocations: 29.91 kB / 0.5313 GB, free: 50.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/0.3742, allocations: 42.09 kB / 0.5313 GB, free: 50.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.3743, allocations: 82.52 kB / 0.5314 GB, free: 50.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.3744, allocations: 82.33 kB / 0.5315 GB, free: 50.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005546/0.375, allocations: 0.6025 MB / 0.5321 GB, free: 49.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.375, allocations: 2.25 kB / 0.5321 GB, free: 49.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001465/0.3765, allocations: 0.5508 MB / 0.5326 GB, free: 49.02 MB / 362.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 (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.0001628/0.3766, allocations: 149.4 kB / 0.5328 GB, free: 48.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.3792, allocations: 2.326 MB / 0.535 GB, free: 46.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3792, allocations: 0.625 kB / 0.535 GB, free: 46.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.38, allocations: 0.8789 MB / 0.5359 GB, free: 45.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008822/0.3809, allocations: 209.2 kB / 0.5361 GB, free: 45.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.3856, allocations: 4.902 MB / 0.5409 GB, free: 40.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/0.3864, allocations: 1.505 MB / 0.5423 GB, free: 38.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001143/0.3876, allocations: 498.3 kB / 0.5428 GB, free: 38.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.3879, allocations: 99.42 kB / 0.5429 GB, free: 38.29 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3879, allocations: 1.859 kB / 0.5429 GB, free: 38.29 MB / 362.7 MB Notification: Performance of Templates: time 0.02614/0.414, allocations: 18.23 MB / 0.5607 GB, free: 20.08 MB / 362.7 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)