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.00101/0.00101, allocations: 103.4 kB / 16.62 MB, free: 6.809 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.0009749/0.0009749, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.397/1.397, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1754/0.1754, allocations: 38.02 MB / 329.4 MB, free: 8.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 70.84 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1189, allocations: 58.06 MB / 456.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.009425/0.1283, allocations: 7.576 MB / 463.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00532/0.1337, allocations: 2.738 MB / 466.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.1348, allocations: 39.75 kB / 466.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.1367, allocations: 0.572 MB / 467.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.1387, allocations: 0.6384 MB / 467.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.1399, allocations: 403.3 kB / 468.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.1417, allocations: 1.38 MB / 469.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007471/0.1424, allocations: 0.4999 MB / 470.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007634/0.1432, allocations: 0.5797 MB / 470.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.1443, allocations: 0.8491 MB / 471.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.1444, allocations: 72 kB / 471.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.1449, allocations: 287.5 kB / 472 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004484/0.1454, allocations: 0.5222 MB / 472.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.1458, allocations: 0.5247 MB / 473 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1471, allocations: 1.316 MB / 474.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1471, allocations: 0 / 474.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1471, allocations: 0 / 474.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.1471, allocations: 0 / 474.3 MB, free: 6.359 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.002362/0.1495, allocations: 1.33 MB / 475.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1496, allocations: 11.89 kB / 475.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.1506, allocations: 207.4 kB / 475.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009712/0.1516, allocations: 0.6667 MB / 476.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/0.1516, allocations: 58.38 kB / 476.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.1518, allocations: 108 kB / 476.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.1536, allocations: 1.384 MB / 478.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.1537, allocations: 11.84 kB / 478.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.1537, allocations: 35.98 kB / 478.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002652/0.154, allocations: 117.9 kB / 478.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.1557, allocations: 1.089 MB / 479.3 MB, free: 1.148 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.006517/0.1622, allocations: 5.961 MB / 485.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.1633, allocations: 0.7112 MB / 486 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.1637, allocations: 323.2 kB / 486.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-05/0.1638, allocations: 8.562 kB / 486.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007057/0.1645, allocations: 484.8 kB / 486.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.415e-06/0.1645, allocations: 0 / 486.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003679/0.1682, allocations: 2.14 MB / 488.9 MB, free: 7.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.1684, allocations: 178.7 kB / 489.1 MB, free: 6.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007645/0.1691, allocations: 0.6406 MB / 489.7 MB, free: 6.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.1692, allocations: 37.7 kB / 489.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/0.1696, allocations: 0.525 MB / 490.3 MB, free: 5.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.1698, allocations: 232.8 kB / 490.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.1701, allocations: 202.7 kB / 490.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.1703, allocations: 394.7 kB / 491.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/0.1708, allocations: 338.4 kB / 491.5 MB, free: 4.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008358/0.1717, allocations: 0.7737 MB / 492.2 MB, free: 3.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.1732, allocations: 1.24 MB / 493.5 MB, free: 2.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.1732, allocations: 4 kB / 493.5 MB, free: 2.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002452/0.1756, allocations: 1.438 MB / 494.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.1757, allocations: 47.67 kB / 495 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001395/0.1771, allocations: 0.7865 MB / 495.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007075/0.1778, allocations: 252.9 kB / 496 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.1785, allocations: 219.6 kB / 496.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004475/0.183, allocations: 4.374 MB / 0.4888 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006207/0.1836, allocations: 55.88 kB / 0.4889 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-05/0.1837, allocations: 63.98 kB / 0.489 GB, free: 10.5 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.0005415/0.1843, allocations: 414.9 kB / 0.4894 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1844, allocations: 79 kB / 0.4894 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.1857, allocations: 0.8438 MB / 0.4903 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.1857, allocations: 4 kB / 0.4903 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1857, allocations: 4 kB / 0.4903 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1857, allocations: 7.984 kB / 0.4903 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.1882, allocations: 1.76 MB / 0.492 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1882, allocations: 3.984 kB / 0.492 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/0.1889, allocations: 151.9 kB / 0.4921 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1889, allocations: 4 kB / 0.4921 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.1889, allocations: 20 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.189, allocations: 7.984 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.189, allocations: 3.938 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.1906, allocations: 1.301 MB / 0.4934 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.1909, allocations: 200.2 kB / 0.4936 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/0.191, allocations: 16 kB / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.1914, allocations: 31.97 kB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.1915, allocations: 56.38 kB / 0.4937 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.1916, allocations: 47.89 kB / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004716/0.1921, allocations: 423 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1921, allocations: 4 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008445/0.193, allocations: 228 kB / 0.4944 GB, free: 4.758 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.0001571/0.1931, allocations: 122.4 kB / 0.4945 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.1952, allocations: 1.423 MB / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1952, allocations: 1.75 kB / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005454/0.1958, allocations: 462.4 kB / 0.4963 GB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.1965, allocations: 142.1 kB / 0.4965 GB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.1998, allocations: 2.39 MB / 0.4988 GB, free: 140 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.2007, allocations: 1.111 MB / 0.4999 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006993/0.2014, allocations: 286.4 kB / 0.5002 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.2016, allocations: 63.42 kB / 0.5002 GB, free: 14.65 MB / 398.1 MB Notification: Performance of SimCode: time 1.433e-06/0.2016, allocations: 0 / 0.5002 GB, free: 14.65 MB / 398.1 MB Notification: Performance of Templates: time 0.016/0.2176, allocations: 8.463 MB / 0.5085 GB, free: 6.246 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)