Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001062/0.001062, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.264/1.264, allocations: 194.2 MB / 212.2 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001761/0.001762, allocations: 122.6 kB / 256.6 MB, free: 4.328 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1693/0.1693, allocations: 37.94 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.89 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08742, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008076/0.09553, allocations: 8.957 MB / 462.9 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.09962, allocations: 2.26 MB / 465.2 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.101, allocations: 67.56 kB / 465.3 MB, free: 5.238 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008952/0.1019, allocations: 206.8 kB / 465.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.1037, allocations: 0.537 MB / 466 MB, free: 4.496 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.1044, allocations: 195.7 kB / 466.2 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.106, allocations: 1.944 MB / 468.1 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004016/0.1064, allocations: 306.5 kB / 468.4 MB, free: 2.055 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009874/0.1075, allocations: 485.6 kB / 468.9 MB, free: 1.578 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.1086, allocations: 0.6775 MB / 469.6 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.1088, allocations: 44 kB / 469.6 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.1091, allocations: 44 kB / 469.7 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.1094, allocations: 319.1 kB / 470 MB, free: 0.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.11, allocations: 409.8 kB / 470.4 MB, free: 100 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.111, allocations: 0.8836 MB / 471.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1111, allocations: 0 / 471.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1111, allocations: 4 kB / 471.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.929e-05/0.1112, allocations: 0 / 471.3 MB, free: 15.21 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002879/0.114, allocations: 1.221 MB / 472.5 MB, free: 13.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.1141, allocations: 8.031 kB / 472.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.1144, allocations: 95.81 kB / 472.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.1158, allocations: 0.6639 MB / 473.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.1159, allocations: 61.28 kB / 473.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.116, allocations: 56 kB / 473.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.1174, allocations: 0.8176 MB / 474.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.1174, allocations: 0 / 474.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.1175, allocations: 28 kB / 474.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/0.1176, allocations: 33.3 kB / 474.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.1186, allocations: 0.614 MB / 474.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003761/0.1224, allocations: 2.637 MB / 477.5 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009656/0.1234, allocations: 0.605 MB / 478.1 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005996/0.124, allocations: 375.8 kB / 478.5 MB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.124, allocations: 8.438 kB / 478.5 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005729/0.1246, allocations: 487 kB / 479 MB, free: 7.188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 2.705e-06/0.1246, allocations: 0 / 479 MB, free: 7.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=64): time 0.002919/0.1275, allocations: 1.985 MB / 481 MB, free: 5.109 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.1277, allocations: 259.8 kB / 481.2 MB, free: 4.801 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.1283, allocations: 0.5626 MB / 481.8 MB, free: 4.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.1284, allocations: 37.7 kB / 481.8 MB, free: 4.184 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.1287, allocations: 403.5 kB / 482.2 MB, free: 3.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.1288, allocations: 205.1 kB / 482.4 MB, free: 3.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.129, allocations: 146.6 kB / 482.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1292, allocations: 386.8 kB / 482.9 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.1296, allocations: 221.9 kB / 483.1 MB, free: 2.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.13, allocations: 465.8 kB / 483.6 MB, free: 2.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008866/0.1309, allocations: 0.7973 MB / 484.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.131, allocations: 4 kB / 484.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001572/0.1325, allocations: 0.9443 MB / 485.3 MB, free: 384 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.1326, allocations: 67.56 kB / 485.4 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.1326, allocations: 7.938 kB / 485.4 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003834/0.133, allocations: 113.6 kB / 485.5 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.1335, allocations: 143.7 kB / 485.7 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.1363, allocations: 3 MB / 488.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.1368, allocations: 35.98 kB / 488.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/0.1369, allocations: 55.95 kB / 488.8 MB, free: 12.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * 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 {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004335/0.1374, allocations: 350.7 kB / 489.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.1375, allocations: 83.33 kB / 489.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.1387, allocations: 0.7858 MB / 490 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1387, allocations: 7.984 kB / 490 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1388, allocations: 4 kB / 490 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1388, allocations: 4 kB / 490 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.1409, allocations: 1.546 MB / 491.5 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1409, allocations: 0 / 491.5 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.1415, allocations: 107.9 kB / 491.6 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.1415, allocations: 4 kB / 491.6 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/0.1415, allocations: 23.98 kB / 491.7 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1415, allocations: 3.938 kB / 491.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1416, allocations: 4 kB / 491.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006942/0.1485, allocations: 4.78 MB / 496.4 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.1488, allocations: 184.2 kB / 496.6 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.1489, allocations: 16 kB / 496.6 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.1492, allocations: 28.05 kB / 496.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.1493, allocations: 36.38 kB / 496.7 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/0.1494, allocations: 67.86 kB / 496.8 MB, free: 4.336 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000398/0.1498, allocations: 387.1 kB / 497.1 MB, free: 3.961 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1498, allocations: 0 / 497.1 MB, free: 3.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008476/0.1507, allocations: 256 kB / 497.4 MB, free: 3.711 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * 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.0001666/0.1508, allocations: 129.5 kB / 497.5 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.1523, allocations: 1.011 MB / 498.5 MB, free: 2.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1523, allocations: 0 / 498.5 MB, free: 2.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005391/0.1529, allocations: 497.1 kB / 499 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/0.1536, allocations: 156.8 kB / 499.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.1567, allocations: 2.331 MB / 0.4897 GB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009981/0.1578, allocations: 1.028 MB / 0.4908 GB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006578/0.1584, allocations: 157.8 kB / 0.4909 GB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.1586, allocations: 59.42 kB / 0.491 GB, free: 14.18 MB / 362.7 MB Notification: Performance of SimCode: time 2.164e-06/0.1586, allocations: 0 / 0.491 GB, free: 14.18 MB / 362.7 MB Notification: Performance of Templates: time 0.01772/0.1764, allocations: 8.404 MB / 0.4992 GB, free: 5.777 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1)