Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.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.ThreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 112.3 kB / 17.74 MB, free: 5.336 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.001077/0.001077, allocations: 187 kB / 18.67 MB, free: 4.41 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.455/1.455, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1779/0.1779, allocations: 37.99 MB / 309.9 MB, free: 5.949 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.001438/0.001438, allocations: 63.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.0926, allocations: 55.25 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.008642/0.1013, allocations: 8.164 MB / 495.9 MB, free: 148 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004973/0.1063, allocations: 3.016 MB / 499 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006525/0.107, allocations: 31.81 kB / 499 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.1092, allocations: 0.8867 MB / 499.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.1114, allocations: 0.9105 MB / 0.489 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.1131, allocations: 0.6353 MB / 0.4897 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002326/0.1154, allocations: 1.95 MB / 0.4916 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009231/0.1164, allocations: 0.6538 MB / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.1178, allocations: 0.8328 MB / 0.493 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.1194, allocations: 1.106 MB / 0.4941 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.1196, allocations: 112 kB / 0.4942 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.1207, allocations: 0.5305 MB / 0.4947 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006694/0.1214, allocations: 0.7872 MB / 0.4955 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007616/0.1221, allocations: 0.7619 MB / 0.4962 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.1241, allocations: 1.998 MB / 0.4982 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1241, allocations: 4 kB / 0.4982 GB, free: 1.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1241, allocations: 0 / 0.4982 GB, free: 1.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.691e-05/0.1241, allocations: 0 / 0.4982 GB, free: 1.875 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.002693/0.1268, allocations: 1.675 MB / 0.4998 GB, free: 144 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1269, allocations: 11.89 kB / 0.4998 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.1285, allocations: 274.9 kB / 0.5001 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.13, allocations: 0.9067 MB / 0.501 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.796e-05/0.1301, allocations: 98.78 kB / 0.5011 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/0.1304, allocations: 151.9 kB / 0.5012 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/0.1332, allocations: 2.091 MB / 0.5033 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.1332, allocations: 7.938 kB / 0.5033 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.1334, allocations: 51.98 kB / 0.5033 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004097/0.1338, allocations: 174.5 kB / 0.5035 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.1363, allocations: 1.68 MB / 0.5051 GB, free: 10.49 MB / 398.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.01051/0.1468, allocations: 9.356 MB / 0.5143 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1479, allocations: 0.8952 MB / 0.5151 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.1485, allocations: 451.4 kB / 0.5156 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-05/0.1486, allocations: 16.58 kB / 0.5156 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1486, allocations: 39.22 kB / 0.5156 GB, free: 15.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 3.386e-06/0.1486, allocations: 0 / 0.5156 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.004756/0.1534, allocations: 3.037 MB / 0.5186 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.1535, allocations: 94.05 kB / 0.5187 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000825/0.1543, allocations: 0.7504 MB / 0.5194 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.1544, allocations: 41.7 kB / 0.5195 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.1548, allocations: 0.7034 MB / 0.5201 GB, free: 10.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.155, allocations: 303.7 kB / 0.5204 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.1553, allocations: 259.3 kB / 0.5207 GB, free: 9.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1555, allocations: 406.8 kB / 0.5211 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/0.1561, allocations: 455.7 kB / 0.5215 GB, free: 8.957 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009578/0.1571, allocations: 1.01 MB / 0.5225 GB, free: 7.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.1588, allocations: 1.61 MB / 0.5241 GB, free: 5.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.1588, allocations: 8 kB / 0.5241 GB, free: 5.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003284/0.1621, allocations: 1.954 MB / 0.526 GB, free: 3.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.1622, allocations: 16.19 kB / 0.526 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002045/0.1642, allocations: 1.199 MB / 0.5272 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.1655, allocations: 453.1 kB / 0.5276 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008551/0.1664, allocations: 259.5 kB / 0.5278 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2219/0.3883, allocations: 5.887 MB / 0.5336 GB, free: 47.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008522/0.3892, allocations: 56.19 kB / 0.5336 GB, free: 47.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.3893, allocations: 70.83 kB / 0.5337 GB, free: 47.51 MB / 414.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: 4 (system.initime,trafo3Stray.tap_2_internal[2],trafo3Stray.tap_2_internal[1],trafo3Stray.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,15,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006676/0.39, allocations: 470.9 kB / 0.5342 GB, free: 47.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.3902, allocations: 90.62 kB / 0.5343 GB, free: 47.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.3922, allocations: 1.392 MB / 0.5356 GB, free: 46.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3923, allocations: 8.562 kB / 0.5356 GB, free: 46.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3923, allocations: 2.781 kB / 0.5356 GB, free: 46.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.3923, allocations: 5.844 kB / 0.5356 GB, free: 46.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.3959, allocations: 2.485 MB / 0.5381 GB, free: 45.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3959, allocations: 1.094 kB / 0.5381 GB, free: 45.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.3965, allocations: 131.5 kB / 0.5382 GB, free: 45.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/0.397, allocations: 183.5 kB / 0.5384 GB, free: 45.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.3971, allocations: 25.73 kB / 0.5384 GB, free: 45.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.4, allocations: 4.952 MB / 0.5432 GB, free: 40.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.4, allocations: 4.391 kB / 0.5432 GB, free: 40.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.4024, allocations: 1.858 MB / 0.545 GB, free: 39.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.4028, allocations: 225.3 kB / 0.5452 GB, free: 39.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.4029, allocations: 23.45 kB / 0.5453 GB, free: 39.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.4033, allocations: 28.42 kB / 0.5453 GB, free: 39.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.4035, allocations: 60.47 kB / 0.5454 GB, free: 39.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.4036, allocations: 24.28 kB / 0.5454 GB, free: 39.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008093/0.4044, allocations: 0.4922 MB / 0.5459 GB, free: 39.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4044, allocations: 0 / 0.5459 GB, free: 39.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001271/0.4057, allocations: 323.9 kB / 0.5462 GB, free: 39.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (trafo3Stray.i2a[1],trafo3Stray.i2a[2],trafo3Stray.i2a[3],trafo3Stray.i2b[1],trafo3Stray.i2b[2],trafo3Stray.i2b[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001414/0.4058, allocations: 120.9 kB / 0.5463 GB, free: 39.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002478/0.4083, allocations: 1.551 MB / 0.5478 GB, free: 38.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4083, allocations: 1.062 kB / 0.5478 GB, free: 38.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.4096, allocations: 0.8383 MB / 0.5486 GB, free: 38.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009086/0.4105, allocations: 182.5 kB / 0.5488 GB, free: 38.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.4153, allocations: 2.887 MB / 0.5516 GB, free: 36.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009925/0.4164, allocations: 1.31 MB / 0.5529 GB, free: 36.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.4166, allocations: 80.03 kB / 0.553 GB, free: 36.05 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4166, allocations: 5.438 kB / 0.553 GB, free: 36.04 MB / 414.1 MB Notification: Performance of Templates: time 0.02588/0.4425, allocations: 24.98 MB / 0.5774 GB, free: 17.03 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)