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.001505/0.001505, allocations: 108 kB / 16.92 MB, free: 6.332 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.001699/0.001699, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.391/1.391, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1707/0.1707, allocations: 38.04 MB / 329.7 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 61.78 kB / 398.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1269, allocations: 58.06 MB / 456.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01137/0.1383, allocations: 8.163 MB / 465 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006206/0.1445, allocations: 2.977 MB / 468 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009237/0.1455, allocations: 31.81 kB / 468 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.1483, allocations: 0.8823 MB / 468.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.1508, allocations: 0.9066 MB / 469.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.1527, allocations: 0.6314 MB / 470.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.1555, allocations: 1.95 MB / 472.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.1568, allocations: 0.6538 MB / 473 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.1586, allocations: 0.8212 MB / 473.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.1606, allocations: 1.102 MB / 475 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004422/0.1611, allocations: 112 kB / 475.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.1625, allocations: 0.5461 MB / 475.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.1637, allocations: 0.7795 MB / 476.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.1653, allocations: 0.7619 MB / 477.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00351/0.1689, allocations: 1.967 MB / 479.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.1689, allocations: 3.938 kB / 479.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1689, allocations: 0 / 479.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001178/0.169, allocations: 0 / 479.1 MB, free: 1.684 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.004912/0.1739, allocations: 1.668 MB / 480.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.174, allocations: 19.89 kB / 480.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.1763, allocations: 274.9 kB / 481.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.1783, allocations: 0.8676 MB / 482 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.1784, allocations: 90.78 kB / 482.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005116/0.1789, allocations: 156 kB / 482.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003968/0.1829, allocations: 2.087 MB / 484.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.335e-05/0.183, allocations: 11.94 kB / 484.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.1832, allocations: 51.98 kB / 484.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004799/0.1837, allocations: 174.5 kB / 484.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003467/0.1872, allocations: 1.677 MB / 486.2 MB, free: 10.35 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.01432/0.2015, allocations: 9.407 MB / 495.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2029, allocations: 0.8951 MB / 496.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.2036, allocations: 442.7 kB / 496.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.691e-05/0.2037, allocations: 16.64 kB / 496.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.642e-05/0.2038, allocations: 43.16 kB / 497 MB, free: 14.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 4.679e-06/0.2038, allocations: 4 kB / 497 MB, free: 14.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.005423/0.2092, allocations: 3.033 MB / 0.4883 GB, free: 11.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.2093, allocations: 90.11 kB / 0.4884 GB, free: 11.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.2103, allocations: 0.7543 MB / 0.4891 GB, free: 10.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.2104, allocations: 37.7 kB / 0.4892 GB, free: 10.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005359/0.2109, allocations: 0.6996 MB / 0.4899 GB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.2112, allocations: 307.7 kB / 0.4901 GB, free: 9.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/0.2116, allocations: 255.3 kB / 0.4904 GB, free: 9.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.2118, allocations: 406.7 kB / 0.4908 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007378/0.2126, allocations: 455.6 kB / 0.4912 GB, free: 8.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.2137, allocations: 1.018 MB / 0.4922 GB, free: 7.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.2157, allocations: 1.606 MB / 0.4938 GB, free: 5.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-05/0.2157, allocations: 8 kB / 0.4938 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003536/0.2193, allocations: 1.958 MB / 0.4957 GB, free: 3.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.2193, allocations: 19.98 kB / 0.4957 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002232/0.2216, allocations: 1.199 MB / 0.4969 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.223, allocations: 459.7 kB / 0.4973 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008739/0.2238, allocations: 263.4 kB / 0.4976 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007487/0.2314, allocations: 5.904 MB / 0.5033 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008938/0.2323, allocations: 63.92 kB / 0.5034 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.2325, allocations: 64 kB / 0.5035 GB, free: 11.42 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.0008689/0.2334, allocations: 469.1 kB / 0.5039 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.2336, allocations: 86.88 kB / 0.504 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.236, allocations: 1.391 MB / 0.5053 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.236, allocations: 12 kB / 0.5054 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.236, allocations: 3.984 kB / 0.5054 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.236, allocations: 7.984 kB / 0.5054 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/0.2403, allocations: 2.481 MB / 0.5078 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.2404, allocations: 4 kB / 0.5078 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.2409, allocations: 131.8 kB / 0.5079 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005521/0.2415, allocations: 194.4 kB / 0.5081 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.2416, allocations: 23.98 kB / 0.5081 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004041/0.2456, allocations: 4.945 MB / 0.513 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2456, allocations: 0 / 0.513 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2001/0.4458, allocations: 1.848 MB / 0.5148 GB, free: 68.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005419/0.4464, allocations: 226 kB / 0.515 GB, free: 68.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.4466, allocations: 27.09 kB / 0.515 GB, free: 68.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.4471, allocations: 27.06 kB / 0.515 GB, free: 68.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.4473, allocations: 64.28 kB / 0.5151 GB, free: 68.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.4474, allocations: 23.7 kB / 0.5151 GB, free: 68.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009394/0.4483, allocations: 0.492 MB / 0.5156 GB, free: 68.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4483, allocations: 0 / 0.5156 GB, free: 68.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002229/0.4506, allocations: 323.9 kB / 0.5159 GB, free: 68.41 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.0002413/0.4508, allocations: 119.3 kB / 0.516 GB, free: 68.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003859/0.4547, allocations: 1.838 MB / 0.5178 GB, free: 68.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4547, allocations: 1.344 kB / 0.5178 GB, free: 68.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.4562, allocations: 0.8412 MB / 0.5186 GB, free: 67.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.4577, allocations: 174.7 kB / 0.5188 GB, free: 67.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/0.4633, allocations: 2.781 MB / 0.5215 GB, free: 66.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.4646, allocations: 1.32 MB / 0.5228 GB, free: 65.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001126/0.4658, allocations: 368.7 kB / 0.5232 GB, free: 65.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.466, allocations: 67.53 kB / 0.5232 GB, free: 65.71 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.466, allocations: 0 / 0.5232 GB, free: 65.71 MB / 398.1 MB Notification: Performance of Templates: time 0.02448/0.4905, allocations: 11.82 MB / 0.5348 GB, free: 62.65 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)