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.001193/0.001193, allocations: 109.8 kB / 17.74 MB, free: 5.359 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: 181.5 kB / 18.66 MB, free: 4.445 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.348/1.348, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.174/0.174, allocations: 37.98 MB / 309.9 MB, free: 5.969 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.002055/0.002055, allocations: 75.89 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1155, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.00869/0.1242, allocations: 6.528 MB / 494.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.1289, allocations: 2.489 MB / 496.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006555/0.1296, allocations: 19.88 kB / 496.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.1315, allocations: 0.6145 MB / 497.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.1335, allocations: 0.6769 MB / 498.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.1349, allocations: 451 kB / 498.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.1368, allocations: 1.361 MB / 499.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008271/0.1377, allocations: 491.9 kB / 0.4887 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.1388, allocations: 0.5837 MB / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.1402, allocations: 0.7905 MB / 0.49 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002655/0.1404, allocations: 72 kB / 0.4901 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007645/0.1412, allocations: 279.6 kB / 0.4903 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006118/0.1418, allocations: 0.5182 MB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008172/0.1427, allocations: 0.5247 MB / 0.4914 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.1443, allocations: 1.332 MB / 0.4927 GB, free: 7.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1443, allocations: 0 / 0.4927 GB, free: 7.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1443, allocations: 0 / 0.4927 GB, free: 7.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.636e-05/0.1444, allocations: 0 / 0.4927 GB, free: 7.582 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.003004/0.1474, allocations: 1.334 MB / 0.494 GB, free: 6.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1475, allocations: 11.89 kB / 0.494 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.1486, allocations: 195.5 kB / 0.4942 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.1499, allocations: 0.7096 MB / 0.4948 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.15, allocations: 66.36 kB / 0.4949 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.1502, allocations: 96.09 kB / 0.495 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.1522, allocations: 1.388 MB / 0.4964 GB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.1523, allocations: 7.938 kB / 0.4964 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/0.1524, allocations: 35.98 kB / 0.4964 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002854/0.1527, allocations: 117.9 kB / 0.4965 GB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.1543, allocations: 1.093 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.007014/0.1613, allocations: 5.942 MB / 0.5034 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.1624, allocations: 0.7009 MB / 0.5041 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/0.1629, allocations: 319.3 kB / 0.5044 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.1629, allocations: 16.53 kB / 0.5044 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006369/0.1636, allocations: 476.9 kB / 0.5048 GB, free: 10.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.645e-06/0.1636, allocations: 0 / 0.5048 GB, free: 10.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003402/0.167, allocations: 2.156 MB / 0.5069 GB, free: 8.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/0.1671, allocations: 174.8 kB / 0.5071 GB, free: 8.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/0.1679, allocations: 0.6289 MB / 0.5077 GB, free: 7.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.1679, allocations: 37.7 kB / 0.5078 GB, free: 7.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.1683, allocations: 0.5288 MB / 0.5083 GB, free: 6.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.1685, allocations: 228.8 kB / 0.5085 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.1688, allocations: 214.6 kB / 0.5087 GB, free: 6.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.169, allocations: 390.7 kB / 0.5091 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.1695, allocations: 342.4 kB / 0.5094 GB, free: 5.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007439/0.1702, allocations: 0.7698 MB / 0.5102 GB, free: 4.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.1716, allocations: 1.244 MB / 0.5114 GB, free: 3.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.1717, allocations: 4 kB / 0.5114 GB, free: 3.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002469/0.1741, allocations: 1.431 MB / 0.5128 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.1742, allocations: 45.62 kB / 0.5128 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001364/0.1756, allocations: 0.7894 MB / 0.5136 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007067/0.1763, allocations: 253.5 kB / 0.5138 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/0.177, allocations: 219.6 kB / 0.514 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/0.1816, allocations: 4.367 MB / 0.5183 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/0.1823, allocations: 56.03 kB / 0.5184 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.1825, 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.0006196/0.1831, allocations: 398.9 kB / 0.5188 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.1833, allocations: 79 kB / 0.5189 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.1847, allocations: 0.8477 MB / 0.5197 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1847, allocations: 8 kB / 0.5197 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1847, allocations: 4.109 kB / 0.5197 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1847, allocations: 7.969 kB / 0.5197 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.1874, allocations: 1.775 MB / 0.5215 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.1874, allocations: 4 kB / 0.5215 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.1881, allocations: 143.8 kB / 0.5216 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.1881, allocations: 4 kB / 0.5216 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.1882, allocations: 19.98 kB / 0.5216 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.1882, allocations: 4 kB / 0.5216 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.1882, allocations: 7.938 kB / 0.5216 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.1899, allocations: 1.301 MB / 0.5229 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.1903, allocations: 204.1 kB / 0.5231 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.1904, allocations: 20 kB / 0.5231 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.1908, allocations: 27.97 kB / 0.5231 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.1909, allocations: 48.38 kB / 0.5232 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.191, allocations: 43.97 kB / 0.5232 GB, free: 6.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004963/0.1915, allocations: 427 kB / 0.5236 GB, free: 6.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1915, allocations: 0 / 0.5236 GB, free: 6.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009165/0.1924, allocations: 236 kB / 0.5239 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.0001748/0.1926, allocations: 119.1 kB / 0.524 GB, free: 5.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.1945, allocations: 1.234 MB / 0.5252 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1946, allocations: 128 / 0.5252 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005611/0.1951, allocations: 474.3 kB / 0.5256 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.0007908/0.1959, allocations: 135.2 kB / 0.5258 GB, free: 3.965 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.1995, allocations: 2.056 MB / 0.5278 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009099/0.2004, allocations: 1.111 MB / 0.5289 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.2007, allocations: 67.42 kB / 0.5289 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2007, allocations: 0 / 0.5289 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of Templates: time 0.2408/0.4415, allocations: 14.02 MB / 0.5426 GB, free: 47.15 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)