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.0009697/0.0009697, allocations: 94.72 kB / 16.3 MB, free: 5.996 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.001159/0.001159, allocations: 183.1 kB / 17.2 MB, free: 5.898 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.652/1.652, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1849/0.1849, allocations: 38.04 MB / 309.7 MB, free: 6.137 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.0005358/0.0005359, allocations: 26.75 kB / 376.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3054, allocations: 56.32 MB / 432.8 MB, free: 18.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.008008/0.3134, allocations: 9.1 MB / 441.9 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006377/0.3198, allocations: 3.735 MB / 445.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.3211, allocations: 59.56 kB / 445.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.3219, allocations: 338 kB / 446 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.324, allocations: 0.7789 MB / 446.8 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.3256, allocations: 0.6198 MB / 447.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.3269, allocations: 1.062 MB / 448.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.3283, allocations: 1.1 MB / 449.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007889/0.3291, allocations: 0.6499 MB / 450.2 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008671/0.3299, allocations: 0.8413 MB / 451.1 MB, free: 500 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3301, allocations: 68 kB / 451.1 MB, free: 432 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008343/0.3309, allocations: 419.3 kB / 451.6 MB, free: 12 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006862/0.3316, allocations: 0.7835 MB / 452.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.3319, allocations: 336.8 kB / 452.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.3335, allocations: 1.738 MB / 454.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3335, allocations: 4 kB / 454.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3335, allocations: 0 / 454.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.3335, allocations: 0 / 454.4 MB, free: 13.14 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.002897/0.3364, allocations: 1.699 MB / 456.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3365, allocations: 12.03 kB / 456.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.3382, allocations: 377.4 kB / 456.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.34, allocations: 0.9961 MB / 457.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.778e-05/0.3401, allocations: 106.7 kB / 457.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.3404, allocations: 159.9 kB / 457.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.3435, allocations: 2.304 MB / 460.1 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.3435, allocations: 11.94 kB / 460.1 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.3437, allocations: 67.92 kB / 460.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004802/0.3442, allocations: 222.8 kB / 460.3 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.3468, allocations: 1.815 MB / 462.2 MB, free: 5.109 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.01088/0.3577, allocations: 9.548 MB / 471.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.3598, allocations: 1.54 MB / 473.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-05/0.3599, allocations: 20.94 kB / 473.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.361, allocations: 0.8372 MB / 474.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=130): time 3.447e-06/0.361, allocations: 0 / 474.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.00599/0.367, allocations: 4.114 MB / 478.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.3672, allocations: 290.5 kB / 478.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.3683, allocations: 0.9146 MB / 479.4 MB, free: 3.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-05/0.3684, allocations: 45.7 kB / 479.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006384/0.369, allocations: 0.7706 MB / 480.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.3694, allocations: 449.7 kB / 480.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.3694, allocations: 32 kB / 480.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.3697, allocations: 438.7 kB / 481.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000792/0.3705, allocations: 0.5621 MB / 481.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.3717, allocations: 1.155 MB / 482.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.3728, allocations: 0.8294 MB / 483.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.3728, allocations: 4 kB / 483.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003999/0.3768, allocations: 2.462 MB / 486.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.69e-05/0.3769, allocations: 71.39 kB / 486.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002608/0.3795, allocations: 1.535 MB / 487.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.381, allocations: 0.5449 MB / 488.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.382, allocations: 331.4 kB / 488.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009396/0.3914, allocations: 8.916 MB / 497.5 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.3926, allocations: 80.03 kB / 497.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.3928, allocations: 107.9 kB / 497.7 MB, free: 15.82 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,$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.000925/0.3937, allocations: 0.5997 MB / 498.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.3939, allocations: 126.5 kB / 498.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.3962, allocations: 1.523 MB / 500 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3963, allocations: 12 kB / 500 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3963, allocations: 0 / 500 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3963, allocations: 3.984 kB / 500 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/0.4012, allocations: 3.052 MB / 0.4912 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4012, allocations: 4 kB / 0.4912 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.4025, allocations: 303.8 kB / 0.4915 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.4025, allocations: 4 kB / 0.4915 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/0.4026, allocations: 35.98 kB / 0.4916 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.4026, allocations: 7.938 kB / 0.4916 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4027, allocations: 4 kB / 0.4916 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/0.4058, allocations: 2.365 MB / 0.4939 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005669/0.4064, allocations: 299.4 kB / 0.4942 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.4065, allocations: 31.94 kB / 0.4942 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/0.4071, allocations: 59.95 kB / 0.4943 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.4073, allocations: 76.84 kB / 0.4943 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.4074, allocations: 71.94 kB / 0.4944 GB, free: 7.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007538/0.4082, allocations: 0.5986 MB / 0.495 GB, free: 6.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4082, allocations: 3.938 kB / 0.495 GB, free: 6.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00145/0.4096, allocations: 420 kB / 0.4954 GB, free: 6.004 MB / 382.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 (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.0002057/0.4098, allocations: 155 kB / 0.4955 GB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003248/0.4131, allocations: 2.278 MB / 0.4978 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4131, allocations: 0 / 0.4978 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.4142, allocations: 0.8633 MB / 0.4986 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009611/0.4151, allocations: 192.7 kB / 0.4988 GB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/0.421, allocations: 4.038 MB / 0.5027 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.4224, allocations: 1.49 MB / 0.5042 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001456/0.4238, allocations: 470.3 kB / 0.5046 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.4241, allocations: 91.42 kB / 0.5047 GB, free: 12.25 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4241, allocations: 0 / 0.5047 GB, free: 12.25 MB / 398.1 MB Notification: Performance of Templates: time 0.2351/0.6592, allocations: 13.88 MB / 0.5183 GB, free: 83.43 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: