Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001186/0.001186, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.337/1.337, 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.1816/0.1816, allocations: 38.03 MB / 330.4 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 55.8 kB / 399.5 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1335, allocations: 58.07 MB / 457.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008677/0.1422, allocations: 6.531 MB / 464.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004596/0.1469, allocations: 2.43 MB / 466.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/0.1476, allocations: 27.81 kB / 466.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.1495, allocations: 0.6061 MB / 467.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.1513, allocations: 0.6847 MB / 467.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.1526, allocations: 447 kB / 468.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.1544, allocations: 1.369 MB / 469.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008283/0.1552, allocations: 483.9 kB / 470.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.1563, allocations: 0.5643 MB / 470.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.1577, allocations: 0.7867 MB / 471.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.158, allocations: 76 kB / 471.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007288/0.1587, allocations: 283.6 kB / 471.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006213/0.1594, allocations: 0.5221 MB / 472.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008795/0.1603, allocations: 0.5208 MB / 472.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.1619, allocations: 1.304 MB / 474.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1619, allocations: 0 / 474.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1619, allocations: 0 / 474.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.259e-05/0.1619, allocations: 0 / 474.1 MB, free: 7.379 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002796/0.1647, allocations: 1.337 MB / 475.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1648, allocations: 15.89 kB / 475.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.1659, allocations: 195.5 kB / 475.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.1671, allocations: 0.6745 MB / 476.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.1672, allocations: 62.36 kB / 476.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.1675, allocations: 92.11 kB / 476.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.1696, allocations: 1.388 MB / 477.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.1696, allocations: 11.88 kB / 477.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.1697, allocations: 39.98 kB / 477.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002729/0.17, allocations: 113.9 kB / 478.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.1718, allocations: 1.093 MB / 479.1 MB, free: 2.168 MB / 350.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.006846/0.1786, allocations: 5.969 MB / 485.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.1797, allocations: 0.7056 MB / 485.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.1801, allocations: 319.8 kB / 486.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.1802, allocations: 12.55 kB / 486.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000628/0.1808, allocations: 484.5 kB / 486.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.276e-06/0.1808, allocations: 0 / 486.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003348/0.1842, allocations: 2.148 MB / 488.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.1843, allocations: 166.8 kB / 488.9 MB, free: 7.891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.185, allocations: 0.6368 MB / 489.6 MB, free: 7.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.1851, allocations: 41.7 kB / 489.6 MB, free: 7.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.1855, allocations: 0.5327 MB / 490.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.1857, allocations: 228.8 kB / 490.4 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/0.186, allocations: 214.6 kB / 490.6 MB, free: 6.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1862, allocations: 386.7 kB / 491 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.1867, allocations: 342.4 kB / 491.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008094/0.1875, allocations: 0.7698 MB / 492.1 MB, free: 4.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.189, allocations: 1.24 MB / 493.3 MB, free: 3.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/0.189, allocations: 4 kB / 493.3 MB, free: 3.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002506/0.1915, allocations: 1.434 MB / 494.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.1916, allocations: 41.64 kB / 494.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001428/0.193, allocations: 0.7941 MB / 495.6 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007496/0.1938, allocations: 241.5 kB / 495.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.1945, allocations: 223.6 kB / 496 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004703/0.1992, allocations: 4.382 MB / 0.4887 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/0.1999, allocations: 51.97 kB / 0.4887 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.2001, allocations: 63.98 kB / 0.4888 GB, free: 11.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006365/0.2007, allocations: 406.9 kB / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.2009, allocations: 79 kB / 0.4893 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.2023, allocations: 0.8515 MB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.2023, allocations: 8 kB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2023, allocations: 0 / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2023, allocations: 3.984 kB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.205, allocations: 1.771 MB / 0.4918 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2051, allocations: 0 / 0.4918 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006928/0.2058, allocations: 152 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.2058, allocations: 4 kB / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.2058, allocations: 19.98 kB / 0.492 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.2059, allocations: 7.938 kB / 0.492 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2059, allocations: 0 / 0.492 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.2076, allocations: 1.301 MB / 0.4933 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.2079, allocations: 208.1 kB / 0.4935 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.2081, allocations: 23.94 kB / 0.4935 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.2084, allocations: 27.97 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.2085, allocations: 40.45 kB / 0.4936 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/0.2086, allocations: 48.05 kB / 0.4936 GB, free: 6.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004866/0.2091, allocations: 427 kB / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2091, allocations: 0 / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008871/0.21, allocations: 232 kB / 0.4942 GB, free: 5.773 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001633/0.2102, allocations: 123.1 kB / 0.4943 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.2127, allocations: 1.416 MB / 0.4957 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.2127, allocations: 0 / 0.4957 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000635/0.2133, allocations: 468 kB / 0.4962 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/0.2142, allocations: 145.7 kB / 0.4963 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.2176, allocations: 2.078 MB / 0.4983 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008099/0.2184, allocations: 1.114 MB / 0.4994 GB, free: 328 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.2186, allocations: 67.42 kB / 0.4995 GB, free: 260 kB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2186, allocations: 4 kB / 0.4995 GB, free: 256 kB / 382.1 MB Notification: Performance of Templates: time 0.02364/0.2423, allocations: 13.92 MB / 0.5131 GB, free: 2.336 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)