Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001769, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001972/0.001972, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.193/0.193, allocations: 38.02 MB / 329.3 MB, free: 9.047 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.14 kB / 398.1 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1137, allocations: 58.06 MB / 456.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006968/0.1207, allocations: 6.548 MB / 462.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.1235, allocations: 1.687 MB / 464.4 MB, free: 280 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/0.1239, allocations: 39.75 kB / 464.4 MB, free: 240 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.1244, allocations: 127.2 kB / 464.5 MB, free: 112 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008047/0.1252, allocations: 346.6 kB / 464.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.1256, allocations: 135.8 kB / 465 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.1266, allocations: 1.157 MB / 466.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.1269, allocations: 182.4 kB / 466.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/0.1274, allocations: 302.6 kB / 466.6 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/0.128, allocations: 430.5 kB / 467.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.072e-05/0.1281, allocations: 24 kB / 467.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.855e-05/0.1282, allocations: 28 kB / 467.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.1285, allocations: 191.5 kB / 467.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.1287, allocations: 258.6 kB / 467.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.1293, allocations: 0.5566 MB / 468.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1293, allocations: 0 / 468.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1293, allocations: 0 / 468.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1293, allocations: 0 / 468.1 MB, free: 12.53 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001456/0.1307, allocations: 0.8958 MB / 469 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1308, allocations: 8.031 kB / 469 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1309, allocations: 68.19 kB / 469.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007178/0.1316, allocations: 486.6 kB / 469.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.1317, allocations: 32.94 kB / 469.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.1317, allocations: 40 kB / 469.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000888/0.1326, allocations: 0.539 MB / 470.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1327, allocations: 0 / 470.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.1327, allocations: 16 kB / 470.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.1328, allocations: 17 kB / 470.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006582/0.1334, allocations: 399.6 kB / 470.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.136, allocations: 1.936 MB / 472.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.1366, allocations: 333.3 kB / 472.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.137, allocations: 185.7 kB / 473 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.137, allocations: 8 kB / 473 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.1374, allocations: 280.1 kB / 473.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.944e-06/0.1374, allocations: 0 / 473.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.001769/0.1392, allocations: 1.183 MB / 474.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.1393, allocations: 170.1 kB / 474.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.1397, allocations: 389.9 kB / 475 MB, free: 5.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.1398, allocations: 37.69 kB / 475.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.14, allocations: 295.5 kB / 475.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.043e-05/0.1401, allocations: 114.4 kB / 475.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.1402, allocations: 94.19 kB / 475.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1404, allocations: 366.8 kB / 475.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.1406, allocations: 125 kB / 476.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.1409, allocations: 286.1 kB / 476.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.1415, allocations: 477.3 kB / 476.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1415, allocations: 4 kB / 476.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007291/0.1422, allocations: 0.5175 MB / 477.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.1423, allocations: 43.72 kB / 477.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1423, allocations: 4 kB / 477.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1423, allocations: 8 kB / 477.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.1428, allocations: 108.5 kB / 477.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.1428, allocations: 15.98 kB / 477.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.1431, allocations: 23.92 kB / 477.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.1431, allocations: 31.92 kB / 477.6 MB, free: 2.465 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000254/0.1434, allocations: 248.2 kB / 477.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.1435, allocations: 51.38 kB / 477.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007257/0.1442, allocations: 451.2 kB / 478.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1442, allocations: 4 kB / 478.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1442, allocations: 4 kB / 478.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1442, allocations: 4.062 kB / 478.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.1455, allocations: 0.9808 MB / 479.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1455, allocations: 4 kB / 479.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.1458, allocations: 63.89 kB / 479.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1458, allocations: 0 / 479.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.1459, allocations: 12 kB / 479.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1459, allocations: 8.016 kB / 479.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1459, allocations: 0 / 479.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009423/0.1468, allocations: 0.7095 MB / 480.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.147, allocations: 140.5 kB / 480.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.1471, allocations: 16 kB / 480.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.1473, allocations: 12.05 kB / 480.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.1474, allocations: 27.97 kB / 480.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.1474, allocations: 31.8 kB / 480.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002677/0.1477, allocations: 267.1 kB / 480.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1477, allocations: 0 / 480.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.1482, allocations: 107.9 kB / 480.7 MB, free: 15.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (33): * Single equations (assignments): 31 * 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.0001619/0.1483, allocations: 118.1 kB / 480.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006072/0.149, allocations: 410.9 kB / 481.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.149, allocations: 0 / 481.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.1493, allocations: 264.5 kB / 481.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.1499, allocations: 101.4 kB / 481.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1519, allocations: 1.164 MB / 482.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.1524, allocations: 0.882 MB / 483.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002934/0.1527, allocations: 88.31 kB / 483.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.1527, allocations: 35.42 kB / 483.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1527, allocations: 0 / 483.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Templates: time 0.008275/0.161, allocations: 3.923 MB / 487.6 MB, free: 8.191 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)