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.001345/0.001345, allocations: 109.8 kB / 17.74 MB, free: 5.316 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.001423/0.001423, allocations: 185.6 kB / 18.67 MB, free: 4.398 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.437/1.437, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1756/0.1756, allocations: 37.98 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.001384/0.001384, allocations: 67.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.0997, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007601/0.1073, allocations: 6.528 MB / 494.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004271/0.1117, allocations: 2.478 MB / 496.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005701/0.1123, allocations: 27.81 kB / 496.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.1141, allocations: 0.6105 MB / 497.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.1157, allocations: 0.6847 MB / 498.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.117, allocations: 447 kB / 498.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.1187, allocations: 1.357 MB / 499.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007923/0.1195, allocations: 495.9 kB / 0.4887 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1205, allocations: 0.5837 MB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.122, allocations: 0.7789 MB / 0.49 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.1222, allocations: 76 kB / 0.4901 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008596/0.1231, allocations: 279.6 kB / 0.4903 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000602/0.1237, allocations: 0.5182 MB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009136/0.1246, allocations: 0.5247 MB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.1262, allocations: 1.335 MB / 0.4927 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1262, allocations: 0 / 0.4927 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1263, allocations: 0 / 0.4927 GB, free: 7.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.396e-05/0.1263, allocations: 0 / 0.4927 GB, free: 7.578 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.002873/0.1292, allocations: 1.33 MB / 0.494 GB, free: 6.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1292, allocations: 11.89 kB / 0.494 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.1303, allocations: 207.5 kB / 0.4942 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.1316, allocations: 0.6979 MB / 0.4948 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.1317, allocations: 66.36 kB / 0.4949 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.1319, allocations: 104 kB / 0.495 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.1341, allocations: 1.384 MB / 0.4964 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.1342, allocations: 4 kB / 0.4964 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.1343, allocations: 36 kB / 0.4964 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002677/0.1345, allocations: 113.9 kB / 0.4965 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.1363, allocations: 1.097 MB / 0.4976 GB, free: 2.336 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.007165/0.1434, allocations: 5.942 MB / 0.5034 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.1449, allocations: 0.7128 MB / 0.5041 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006389/0.1456, allocations: 323.3 kB / 0.5044 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.679e-05/0.1456, allocations: 8.547 kB / 0.5044 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009074/0.1466, allocations: 480.7 kB / 0.5048 GB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 4.037e-06/0.1466, allocations: 0 / 0.5048 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.004798/0.1514, allocations: 2.148 MB / 0.5069 GB, free: 8.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.1515, allocations: 174.8 kB / 0.5071 GB, free: 8.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.1526, allocations: 0.6328 MB / 0.5077 GB, free: 7.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/0.1527, allocations: 41.64 kB / 0.5078 GB, free: 7.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/0.1532, allocations: 0.5327 MB / 0.5083 GB, free: 6.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.1535, allocations: 232.8 kB / 0.5085 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.1539, allocations: 206.8 kB / 0.5087 GB, free: 6.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.1541, allocations: 386.7 kB / 0.5091 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007457/0.1549, allocations: 342.4 kB / 0.5094 GB, free: 5.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.156, allocations: 0.7698 MB / 0.5102 GB, free: 4.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.1581, allocations: 1.244 MB / 0.5114 GB, free: 3.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.1581, allocations: 4 kB / 0.5114 GB, free: 3.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003644/0.1618, allocations: 1.427 MB / 0.5128 GB, free: 1.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.916e-05/0.1619, allocations: 53.66 kB / 0.5128 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002016/0.1639, allocations: 0.7854 MB / 0.5136 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009743/0.1649, allocations: 257.5 kB / 0.5138 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009612/0.1659, allocations: 211.6 kB / 0.514 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006059/0.1719, allocations: 4.379 MB / 0.5183 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006717/0.1726, allocations: 47.97 kB / 0.5184 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.1728, allocations: 67.97 kB / 0.5184 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.0005542/0.1733, allocations: 395 kB / 0.5188 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.1735, allocations: 82.94 kB / 0.5189 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.1749, allocations: 0.8517 MB / 0.5197 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1749, allocations: 4 kB / 0.5197 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1749, allocations: 64 / 0.5197 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1749, allocations: 11.98 kB / 0.5197 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.1777, allocations: 1.763 MB / 0.5214 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.1777, allocations: 4 kB / 0.5214 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007109/0.1784, allocations: 147.8 kB / 0.5216 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.1784, allocations: 4 kB / 0.5216 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.1785, allocations: 19.98 kB / 0.5216 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1785, allocations: 4.156 kB / 0.5216 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1785, allocations: 8 kB / 0.5216 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.1803, allocations: 1.305 MB / 0.5229 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.1806, allocations: 204.1 kB / 0.5231 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.1807, allocations: 16 kB / 0.5231 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.1811, allocations: 31.97 kB / 0.5231 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.1812, allocations: 48.38 kB / 0.5232 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.477e-05/0.1813, allocations: 47.94 kB / 0.5232 GB, free: 6.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004732/0.1818, allocations: 427 kB / 0.5236 GB, free: 6.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1818, allocations: 4 kB / 0.5236 GB, free: 6.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008714/0.1827, allocations: 232 kB / 0.5239 GB, free: 5.957 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.0001851/0.1829, allocations: 123.2 kB / 0.524 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.1848, allocations: 1.233 MB / 0.5252 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1848, allocations: 0 / 0.5252 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.1854, allocations: 474.3 kB / 0.5256 GB, free: 4.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007742/0.1862, allocations: 143.9 kB / 0.5258 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.1896, allocations: 2.052 MB / 0.5278 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008657/0.1905, allocations: 1.11 MB / 0.5289 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.1907, allocations: 71.42 kB / 0.5289 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1907, allocations: 3.938 kB / 0.5289 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of Templates: time 0.2136/0.4043, allocations: 14.13 MB / 0.5427 GB, free: 46.98 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)