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 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.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.001348/0.001348, allocations: 104 kB / 17.59 MB, free: 5.555 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.001229/0.001229, allocations: 191.5 kB / 18.51 MB, free: 4.637 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.351/1.351, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1867/0.1867, allocations: 38.02 MB / 330.4 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 61.84 kB / 399.5 MB, free: 34.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 58.06 MB / 457.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01084/0.118, allocations: 8.163 MB / 465.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005787/0.1238, allocations: 2.973 MB / 468.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009392/0.1248, allocations: 31.81 kB / 468.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.1275, allocations: 0.8867 MB / 469.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.1301, allocations: 0.9105 MB / 470.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.132, allocations: 0.6236 MB / 471.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00265/0.1347, allocations: 1.958 MB / 473.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.1358, allocations: 0.6577 MB / 473.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.1374, allocations: 0.8173 MB / 474.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.1393, allocations: 1.106 MB / 475.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003952/0.1398, allocations: 112 kB / 475.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.1412, allocations: 0.5383 MB / 476.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009831/0.1422, allocations: 0.7834 MB / 477.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.1437, allocations: 0.7619 MB / 477.8 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002716/0.1464, allocations: 1.974 MB / 479.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1464, allocations: 0 / 479.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1464, allocations: 4 kB / 479.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.571e-05/0.1465, allocations: 0 / 479.8 MB, free: 1.664 MB / 350.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.004229/0.1507, allocations: 1.671 MB / 481.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1508, allocations: 11.89 kB / 481.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.1529, allocations: 278.9 kB / 481.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.1548, allocations: 0.8559 MB / 482.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.1549, allocations: 102.8 kB / 482.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004679/0.1554, allocations: 152 kB / 482.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/0.1589, allocations: 2.084 MB / 485 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.293e-05/0.159, allocations: 15.92 kB / 485 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.1592, allocations: 47.98 kB / 485 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004812/0.1597, allocations: 178.5 kB / 485.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/0.1627, allocations: 1.677 MB / 486.9 MB, free: 10.34 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.01205/0.1748, allocations: 9.407 MB / 496.3 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.1761, allocations: 0.8913 MB / 497.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006418/0.1768, allocations: 440.4 kB / 497.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.1769, allocations: 16.62 kB / 497.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.1769, allocations: 47.16 kB / 497.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 4.258e-06/0.1769, allocations: 3.984 kB / 497.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.005577/0.1825, allocations: 3.033 MB / 0.489 GB, free: 11.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.1826, allocations: 86.11 kB / 0.4891 GB, free: 11.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.1837, allocations: 0.7583 MB / 0.4898 GB, free: 10.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/0.1837, allocations: 37.7 kB / 0.4898 GB, free: 10.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005443/0.1843, allocations: 0.7035 MB / 0.4905 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.1846, allocations: 307.7 kB / 0.4908 GB, free: 9.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.1849, allocations: 255.3 kB / 0.4911 GB, free: 9.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.1851, allocations: 402.7 kB / 0.4914 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/0.1859, allocations: 455.6 kB / 0.4919 GB, free: 8.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.187, allocations: 1.022 MB / 0.4929 GB, free: 7.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.189, allocations: 1.606 MB / 0.4944 GB, free: 5.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/0.1891, allocations: 4 kB / 0.4944 GB, free: 5.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0036/0.1927, allocations: 1.965 MB / 0.4964 GB, free: 3.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.1927, allocations: 12 kB / 0.4964 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002204/0.1949, allocations: 1.207 MB / 0.4975 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.1964, allocations: 464.1 kB / 0.498 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008777/0.1973, allocations: 259.5 kB / 0.4982 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00766/0.2049, allocations: 5.884 MB / 0.504 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.2059, allocations: 59.94 kB / 0.504 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.2061, allocations: 71.98 kB / 0.5041 GB, free: 11.41 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: 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.0008854/0.207, allocations: 469.1 kB / 0.5046 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.2072, allocations: 90.88 kB / 0.5046 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.2096, allocations: 1.384 MB / 0.506 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.2096, allocations: 12.08 kB / 0.506 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.2096, allocations: 4 kB / 0.506 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.2096, allocations: 3.984 kB / 0.506 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00406/0.2137, allocations: 2.493 MB / 0.5084 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2137, allocations: 0 / 0.5084 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.2143, allocations: 135.8 kB / 0.5086 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005215/0.2148, allocations: 182.3 kB / 0.5088 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/0.2149, allocations: 23.98 kB / 0.5088 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004209/0.2191, allocations: 4.964 MB / 0.5136 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.2191, allocations: 4.031 kB / 0.5136 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1818/0.4009, allocations: 1.841 MB / 0.5154 GB, free: 68.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/0.4014, allocations: 222.7 kB / 0.5156 GB, free: 68.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4015, allocations: 29.27 kB / 0.5157 GB, free: 68.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.4019, allocations: 27.53 kB / 0.5157 GB, free: 68.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.4021, allocations: 60.03 kB / 0.5157 GB, free: 68.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/0.4021, allocations: 28.16 kB / 0.5158 GB, free: 68.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000687/0.4028, allocations: 0.4898 MB / 0.5163 GB, free: 68.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4028, allocations: 1.031 kB / 0.5163 GB, free: 68.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001297/0.4041, allocations: 324.1 kB / 0.5166 GB, free: 68.28 MB / 398.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.000164/0.4043, allocations: 121.3 kB / 0.5167 GB, free: 68.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003078/0.4074, allocations: 1.837 MB / 0.5185 GB, free: 67.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4074, allocations: 1.062 kB / 0.5185 GB, free: 67.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.4087, allocations: 0.8385 MB / 0.5193 GB, free: 67.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008938/0.4096, allocations: 173.7 kB / 0.5195 GB, free: 67.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.4142, allocations: 2.915 MB / 0.5223 GB, free: 66.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009448/0.4152, allocations: 1.311 MB / 0.5236 GB, free: 65.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.4155, allocations: 81.23 kB / 0.5237 GB, free: 65.57 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4155, allocations: 0 / 0.5237 GB, free: 65.57 MB / 398.1 MB Notification: Performance of Templates: time 0.02961/0.4451, allocations: 24.7 MB / 0.5478 GB, free: 51.88 MB / 398.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)