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 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.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.001613/0.001614, allocations: 111.7 kB / 17.06 MB, free: 6 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.001834/0.001834, allocations: 194.9 kB / 18 MB, free: 5.078 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.63/1.63, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1735/0.1735, allocations: 37.99 MB / 309.2 MB, free: 5.945 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.001428/0.001428, allocations: 59.91 kB / 431.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1401, allocations: 55.25 MB / 487.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.009543/0.1497, allocations: 6.532 MB / 493.6 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004835/0.1546, allocations: 2.478 MB / 496.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007041/0.1553, allocations: 23.88 kB / 496.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.1574, allocations: 0.6149 MB / 496.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.1593, allocations: 0.6847 MB / 497.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.1607, allocations: 447 kB / 497.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002262/0.163, allocations: 1.357 MB / 499.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.1642, allocations: 495.9 kB / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.1655, allocations: 0.5759 MB / 0.4886 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.1671, allocations: 0.7906 MB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003655/0.1675, allocations: 76 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1687, allocations: 271.6 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009231/0.1696, allocations: 0.5221 MB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.171, allocations: 0.5247 MB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.1732, allocations: 1.332 MB / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.1732, allocations: 4 kB / 0.492 GB, free: 7.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1732, allocations: 3.938 kB / 0.492 GB, free: 7.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.1733, allocations: 0 / 0.492 GB, free: 7.57 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002803/0.1761, allocations: 1.322 MB / 0.4933 GB, free: 6.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.1761, allocations: 11.89 kB / 0.4933 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.1774, allocations: 211.5 kB / 0.4935 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.1789, allocations: 0.694 MB / 0.4942 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.179, allocations: 66.36 kB / 0.4943 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/0.1792, allocations: 104 kB / 0.4944 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.1815, allocations: 1.384 MB / 0.4957 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.1815, allocations: 4 kB / 0.4957 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/0.1817, allocations: 43.97 kB / 0.4957 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002941/0.182, allocations: 121.8 kB / 0.4959 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.1838, allocations: 1.089 MB / 0.4969 GB, free: 2.328 MB / 382.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.008136/0.1919, allocations: 5.938 MB / 0.5027 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.1932, allocations: 0.7089 MB / 0.5034 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.1937, allocations: 323.3 kB / 0.5037 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-05/0.1938, allocations: 8.562 kB / 0.5037 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007233/0.1945, allocations: 480.7 kB / 0.5042 GB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 3.406e-06/0.1945, allocations: 0 / 0.5042 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.004292/0.1988, allocations: 2.152 MB / 0.5063 GB, free: 8.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.199, allocations: 170.7 kB / 0.5065 GB, free: 8.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009322/0.1999, allocations: 0.6328 MB / 0.5071 GB, free: 7.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.014e-05/0.2, allocations: 37.7 kB / 0.5071 GB, free: 7.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004904/0.2005, allocations: 0.5249 MB / 0.5076 GB, free: 6.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.2008, allocations: 240.8 kB / 0.5079 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003408/0.2011, allocations: 206.8 kB / 0.5081 GB, free: 6.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002424/0.2014, allocations: 394.6 kB / 0.5084 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/0.202, allocations: 338.4 kB / 0.5088 GB, free: 5.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.2032, allocations: 0.7659 MB / 0.5095 GB, free: 4.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.2052, allocations: 1.248 MB / 0.5107 GB, free: 3.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.2052, allocations: 4 kB / 0.5107 GB, free: 3.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003004/0.2082, allocations: 1.431 MB / 0.5121 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.375e-05/0.2083, allocations: 45.67 kB / 0.5122 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001435/0.2097, allocations: 0.7815 MB / 0.5129 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008232/0.2106, allocations: 265.5 kB / 0.5132 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.2113, allocations: 215.7 kB / 0.5134 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005443/0.2167, allocations: 4.371 MB / 0.5177 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/0.2175, allocations: 51.97 kB / 0.5177 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.2176, allocations: 63.97 kB / 0.5178 GB, free: 11.71 MB / 414.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.0006918/0.2183, allocations: 402.9 kB / 0.5181 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.2185, allocations: 79 kB / 0.5182 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.2201, allocations: 0.8516 MB / 0.5191 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.2202, allocations: 4 kB / 0.5191 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2202, allocations: 0 / 0.5191 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.2202, allocations: 7.984 kB / 0.5191 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.2236, allocations: 1.767 MB / 0.5208 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.2237, allocations: 4 kB / 0.5208 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.2244, allocations: 147.8 kB / 0.5209 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/0.2244, allocations: 7.984 kB / 0.5209 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/0.2245, allocations: 16 kB / 0.521 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.2245, allocations: 8.156 kB / 0.521 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.2245, allocations: 8 kB / 0.521 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.2263, allocations: 1.305 MB / 0.5222 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/0.2267, allocations: 200.1 kB / 0.5224 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.2269, allocations: 16 kB / 0.5225 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.2273, allocations: 31.97 kB / 0.5225 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.2274, allocations: 52.38 kB / 0.5225 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.2275, allocations: 39.95 kB / 0.5226 GB, free: 6.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000555/0.228, allocations: 423 kB / 0.523 GB, free: 6.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.228, allocations: 4 kB / 0.523 GB, free: 6.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001259/0.2293, allocations: 232 kB / 0.5232 GB, free: 5.965 MB / 414.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.0001909/0.2295, allocations: 127.1 kB / 0.5233 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.2316, allocations: 1.23 MB / 0.5245 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2316, allocations: 0 / 0.5245 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006538/0.2323, allocations: 470.3 kB / 0.525 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008079/0.2331, allocations: 151.9 kB / 0.5251 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.2371, allocations: 1.96 MB / 0.527 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.2382, allocations: 1.114 MB / 0.5281 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007437/0.239, allocations: 294.4 kB / 0.5284 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.2392, allocations: 59.42 kB / 0.5285 GB, free: 460 kB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2392, allocations: 0 / 0.5285 GB, free: 460 kB / 414.1 MB Notification: Performance of Templates: time 0.3092/0.5484, allocations: 8.772 MB / 0.537 GB, free: 50.6 MB / 414.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)