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.001102/0.001103, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001072/0.001072, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.423/1.423, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1848/0.1848, allocations: 38.03 MB / 329.7 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 60.38 kB / 398.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1225, allocations: 58.06 MB / 456.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006545/0.129, allocations: 5.499 MB / 462.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1314, allocations: 1.371 MB / 463.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003869/0.1318, allocations: 23.88 kB / 463.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.1323, allocations: 139 kB / 463.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.1334, allocations: 370.1 kB / 464.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.1338, allocations: 155.8 kB / 464.4 MB, free: 492 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009516/0.1348, allocations: 0.7787 MB / 465.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.1351, allocations: 221.6 kB / 465.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006543/0.1358, allocations: 342.5 kB / 465.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007459/0.1365, allocations: 394.7 kB / 466.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.1367, allocations: 40 kB / 466.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1368, allocations: 40 kB / 466.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.1371, allocations: 211.4 kB / 466.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.1374, allocations: 274.5 kB / 466.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.138, allocations: 0.5683 MB / 467.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.138, allocations: 0 / 467.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.138, allocations: 3.938 kB / 467.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.1381, allocations: 0 / 467.2 MB, free: 13.63 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.001328/0.1394, allocations: 0.8841 MB / 468.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1394, allocations: 15.89 kB / 468.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.1396, allocations: 60.28 kB / 468.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.1403, allocations: 490.5 kB / 468.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.1403, allocations: 36.94 kB / 468.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.1404, allocations: 36 kB / 468.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.1411, allocations: 0.543 MB / 469.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1412, allocations: 0 / 469.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.1412, allocations: 20 kB / 469.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.1412, allocations: 21 kB / 469.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.1418, allocations: 391.6 kB / 469.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.1441, allocations: 1.936 MB / 471.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.1447, allocations: 337.8 kB / 472 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.145, allocations: 181.6 kB / 472.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1451, allocations: 0 / 472.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.1455, allocations: 288.2 kB / 472.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.884e-06/0.1455, allocations: 0 / 472.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.001733/0.1472, allocations: 1.179 MB / 473.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.1473, allocations: 174.3 kB / 473.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.1477, allocations: 389.8 kB / 474.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1477, allocations: 33.7 kB / 474.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1479, allocations: 303.5 kB / 474.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.939e-05/0.148, allocations: 118.3 kB / 474.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.1481, allocations: 94.09 kB / 474.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1483, allocations: 358.8 kB / 475.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1485, allocations: 121 kB / 475.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.1488, allocations: 286.2 kB / 475.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.1493, allocations: 489.2 kB / 475.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.1494, allocations: 4 kB / 475.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007162/0.1501, allocations: 0.518 MB / 476.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.1501, allocations: 33.7 kB / 476.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.1502, allocations: 11.98 kB / 476.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.1502, allocations: 8 kB / 476.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.1506, allocations: 103.8 kB / 476.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.1506, allocations: 11.98 kB / 476.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.1509, allocations: 23.94 kB / 476.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.151, allocations: 36.12 kB / 476.7 MB, free: 3.562 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.0002757/0.1512, allocations: 248.2 kB / 476.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.1513, allocations: 51.38 kB / 477 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006838/0.152, allocations: 455.2 kB / 477.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.152, allocations: 4 kB / 477.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.152, allocations: 3.938 kB / 477.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.152, allocations: 0 / 477.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.1533, allocations: 0.977 MB / 478.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1533, allocations: 0 / 478.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.1536, allocations: 67.89 kB / 478.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.1536, allocations: 4 kB / 478.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.1537, allocations: 8 kB / 478.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.1537, allocations: 7.984 kB / 478.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1537, allocations: 0 / 478.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009038/0.1546, allocations: 0.7056 MB / 479.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.1547, allocations: 144.5 kB / 479.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.1548, allocations: 11.94 kB / 479.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.155, allocations: 19.97 kB / 479.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.1551, allocations: 23.97 kB / 479.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.1551, allocations: 27.97 kB / 479.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.1554, allocations: 271.2 kB / 479.7 MB, free: 428 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1554, allocations: 4 kB / 479.7 MB, free: 424 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004213/0.1559, allocations: 103.9 kB / 479.8 MB, free: 320 kB / 350.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.0001258/0.156, allocations: 114.5 kB / 479.9 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006582/0.1567, allocations: 436.1 kB / 480.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1567, allocations: 4 kB / 480.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.157, allocations: 267.6 kB / 480.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.1576, allocations: 100.5 kB / 480.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1591, allocations: 0.9961 MB / 481.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.1596, allocations: 0.8819 MB / 482.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002941/0.1599, allocations: 88.3 kB / 482.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/0.16, allocations: 43.44 kB / 482.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.16, allocations: 0 / 482.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Templates: time 0.008536/0.1685, allocations: 4.217 MB / 486.9 MB, free: 9.148 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)