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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001635/0.001635, allocations: 109 kB / 17.28 MB, free: 6.059 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.001695/0.001695, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.867/1.867, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1991/0.1991, allocations: 38.03 MB / 330.1 MB, free: 8.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 63.09 kB / 398.9 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1074, allocations: 58.06 MB / 457 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01255/0.12, allocations: 10.72 MB / 467.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007622/0.1276, allocations: 3.856 MB / 471.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.1292, allocations: 67.56 kB / 471.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003052/0.1323, allocations: 0.9874 MB / 472.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.1354, allocations: 1.016 MB / 473.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.1375, allocations: 0.6435 MB / 474.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003427/0.1409, allocations: 2.398 MB / 476.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.1426, allocations: 0.8698 MB / 477.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.1447, allocations: 1.004 MB / 478.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00254/0.1473, allocations: 1.468 MB / 480 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005327/0.1479, allocations: 128 kB / 480.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.15, allocations: 0.5734 MB / 480.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001817/0.1518, allocations: 0.9353 MB / 481.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002256/0.1541, allocations: 0.9018 MB / 482.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.1568, allocations: 1.785 MB / 484.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.1569, allocations: 4 kB / 484.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1569, allocations: 0 / 484.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001059/0.157, allocations: 0 / 484.3 MB, free: 12.93 MB / 366.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.005101/0.1621, allocations: 2.015 MB / 486.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1622, allocations: 11.89 kB / 486.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.1643, allocations: 354.4 kB / 486.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002258/0.1666, allocations: 1.02 MB / 487.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.1667, allocations: 111.1 kB / 487.8 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005089/0.1673, allocations: 160.1 kB / 488 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004388/0.1717, allocations: 2.328 MB / 490.3 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.394e-05/0.1717, allocations: 11.84 kB / 490.3 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.1719, allocations: 59.97 kB / 490.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005732/0.1725, allocations: 226.8 kB / 490.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/0.176, allocations: 1.846 MB / 492.5 MB, free: 4.527 MB / 366.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.01278/0.1888, allocations: 9.571 MB / 0.4903 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.1912, allocations: 1.548 MB / 0.4918 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009347/0.1922, allocations: 0.6106 MB / 0.4924 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-05/0.1923, allocations: 24.92 kB / 0.4924 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.1936, allocations: 0.8489 MB / 0.4932 GB, free: 7.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.987e-06/0.1936, allocations: 0 / 0.4932 GB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.006986/0.2006, allocations: 4.015 MB / 0.4972 GB, free: 3.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.2008, allocations: 282.3 kB / 0.4974 GB, free: 2.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.2022, allocations: 0.9146 MB / 0.4983 GB, free: 1.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.2023, allocations: 53.64 kB / 0.4984 GB, free: 1.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007081/0.203, allocations: 0.7705 MB / 0.4991 GB, free: 1.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004435/0.2035, allocations: 445.7 kB / 0.4995 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005491/0.204, allocations: 331.4 kB / 0.4999 GB, free: 316 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.2042, allocations: 357.9 kB / 0.5002 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009887/0.2052, allocations: 0.5778 MB / 0.5008 GB, free: 15.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.2067, allocations: 1.171 MB / 0.5019 GB, free: 13.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/0.2093, allocations: 2.005 MB / 0.5039 GB, free: 11.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/0.2093, allocations: 4 kB / 0.5039 GB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004787/0.2141, allocations: 2.498 MB / 0.5063 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.17e-05/0.2142, allocations: 67.39 kB / 0.5064 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003045/0.2173, allocations: 1.565 MB / 0.5079 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.2193, allocations: 0.5528 MB / 0.5084 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.2207, allocations: 327.4 kB / 0.5088 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2141/0.4348, allocations: 9.45 MB / 0.518 GB, free: 67.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.4361, allocations: 80.5 kB / 0.5181 GB, free: 67.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.4363, allocations: 101.5 kB / 0.5182 GB, free: 67.08 MB / 398.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.001015/0.4373, allocations: 0.5951 MB / 0.5187 GB, free: 66.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.4376, allocations: 123.6 kB / 0.5189 GB, free: 66.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.4402, allocations: 1.542 MB / 0.5204 GB, free: 66.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.4402, allocations: 11.75 kB / 0.5204 GB, free: 66.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.4402, allocations: 1.156 kB / 0.5204 GB, free: 66.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.4402, allocations: 11.14 kB / 0.5204 GB, free: 66.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005103/0.4453, allocations: 3.075 MB / 0.5234 GB, free: 64.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4454, allocations: 1.312 kB / 0.5234 GB, free: 64.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.4468, allocations: 296.4 kB / 0.5237 GB, free: 64.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/0.4468, allocations: 8.812 kB / 0.5237 GB, free: 64.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/0.4469, allocations: 36.52 kB / 0.5237 GB, free: 64.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/0.447, allocations: 6.406 kB / 0.5237 GB, free: 64.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.447, allocations: 5.203 kB / 0.5237 GB, free: 64.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003512/0.4505, allocations: 2.313 MB / 0.526 GB, free: 63.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007104/0.4512, allocations: 298.8 kB / 0.5263 GB, free: 63.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.4514, allocations: 32.42 kB / 0.5263 GB, free: 63.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/0.452, allocations: 44.14 kB / 0.5263 GB, free: 63.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.4522, allocations: 78.48 kB / 0.5264 GB, free: 63.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.4523, allocations: 86 kB / 0.5265 GB, free: 63.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000881/0.4532, allocations: 0.5976 MB / 0.5271 GB, free: 63.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4532, allocations: 0 / 0.5271 GB, free: 63.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001594/0.4548, allocations: 422.2 kB / 0.5275 GB, free: 63.47 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.0001964/0.455, allocations: 151.4 kB / 0.5276 GB, free: 63.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005065/0.4601, allocations: 2.993 MB / 0.5305 GB, free: 62.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.4601, allocations: 1.062 kB / 0.5306 GB, free: 62.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.4613, allocations: 0.8787 MB / 0.5314 GB, free: 61.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4625, allocations: 225.5 kB / 0.5316 GB, free: 61.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005357/0.4678, allocations: 4.212 MB / 0.5357 GB, free: 59.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000932/0.4688, allocations: 1.466 MB / 0.5372 GB, free: 58.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.4691, allocations: 105 kB / 0.5373 GB, free: 58.59 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4691, allocations: 0 / 0.5373 GB, free: 58.59 MB / 398.1 MB Notification: Performance of Templates: time 0.02656/0.4957, allocations: 28.04 MB / 0.5647 GB, free: 34.54 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)