Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 173.7 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007276/0.0007277, allocations: 102.2 kB / 270.3 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1616/0.1616, allocations: 38.06 MB / 356.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 8 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.09839, allocations: 56.34 MB / 479.1 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007699/0.1061, allocations: 7.973 MB / 487 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003719/0.1099, allocations: 2.179 MB / 489.2 MB, free: 7.824 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006168/0.1106, allocations: 63.56 kB / 489.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005939/0.1112, allocations: 214.5 kB / 489.5 MB, free: 7.551 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.1127, allocations: 0.6259 MB / 490.1 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.1135, allocations: 271.6 kB / 490.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.1152, allocations: 1.531 MB / 491.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.1156, allocations: 242.1 kB / 492.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007528/0.1164, allocations: 477.7 kB / 492.6 MB, free: 4.414 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000943/0.1174, allocations: 0.6347 MB / 493.2 MB, free: 3.777 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.457e-05/0.1175, allocations: 36 kB / 493.3 MB, free: 3.742 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.1176, allocations: 32 kB / 493.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.1179, allocations: 307.1 kB / 493.6 MB, free: 3.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.1181, allocations: 173.3 kB / 493.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.1187, allocations: 0.6779 MB / 494.5 MB, free: 2.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1187, allocations: 0 / 494.5 MB, free: 2.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1187, allocations: 3.938 kB / 494.5 MB, free: 2.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1187, allocations: 0 / 494.5 MB, free: 2.551 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.001756/0.1205, allocations: 1.085 MB / 495.5 MB, free: 1.402 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1205, allocations: 8.031 kB / 495.6 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.1207, allocations: 90.88 kB / 495.6 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.1217, allocations: 0.64 MB / 496.3 MB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/0.1218, allocations: 45.31 kB / 496.3 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.25e-05/0.1219, allocations: 63.98 kB / 496.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.1231, allocations: 0.8021 MB / 497.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1231, allocations: 7.984 kB / 497.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.1231, allocations: 27.94 kB / 497.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.1232, allocations: 41.23 kB / 497.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009205/0.1241, allocations: 0.61 MB / 497.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.1277, allocations: 2.645 MB / 0.4888 GB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009454/0.1286, allocations: 0.6059 MB / 0.4894 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/0.1293, allocations: 379 kB / 0.4897 GB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.1293, allocations: 8.438 kB / 0.4898 GB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005891/0.1299, allocations: 486.9 kB / 0.4902 GB, free: 10.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=63): time 2.845e-06/0.1299, allocations: 0 / 0.4902 GB, free: 10.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=64): time 0.002809/0.1327, allocations: 1.981 MB / 0.4922 GB, free: 8.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.1329, allocations: 251.8 kB / 0.4924 GB, free: 8.324 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006605/0.1336, allocations: 0.5585 MB / 0.4929 GB, free: 7.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.1336, allocations: 41.7 kB / 0.493 GB, free: 7.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.1339, allocations: 395.5 kB / 0.4934 GB, free: 7.316 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.134, allocations: 209.1 kB / 0.4936 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.1341, allocations: 16 kB / 0.4936 GB, free: 7.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1343, allocations: 382.8 kB / 0.4939 GB, free: 6.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.1346, allocations: 225.9 kB / 0.4942 GB, free: 6.488 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.1351, allocations: 453.8 kB / 0.4946 GB, free: 5.945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.1355, allocations: 333.4 kB / 0.4949 GB, free: 5.605 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1356, allocations: 0 / 0.4949 GB, free: 5.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001498/0.1371, allocations: 0.9442 MB / 0.4958 GB, free: 4.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.656e-05/0.1371, allocations: 63.36 kB / 0.4959 GB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.1372, allocations: 11.98 kB / 0.4959 GB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004135/0.1376, allocations: 118 kB / 0.496 GB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.1381, allocations: 147.7 kB / 0.4962 GB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.141, allocations: 2.992 MB / 0.4991 GB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.1417, allocations: 43.97 kB / 0.4991 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.872e-05/0.1417, allocations: 51.97 kB / 0.4992 GB, free: 0.9336 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,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004445/0.1422, allocations: 354.7 kB / 0.4995 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.1423, allocations: 75.11 kB / 0.4996 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.1434, allocations: 0.7896 MB / 0.5003 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.1434, allocations: 8 kB / 0.5004 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.1434, allocations: 0 / 0.5004 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1434, allocations: 0 / 0.5004 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.1455, allocations: 1.539 MB / 0.5019 GB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1456, allocations: 4.031 kB / 0.5019 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005696/0.1461, allocations: 111.9 kB / 0.502 GB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.1461, allocations: 4 kB / 0.502 GB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.1462, allocations: 19.98 kB / 0.502 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1462, allocations: 0 / 0.502 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1462, allocations: 4 kB / 0.502 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.1478, allocations: 1.218 MB / 0.5032 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.148, allocations: 184.2 kB / 0.5034 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.848e-05/0.1481, allocations: 16 kB / 0.5034 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.1485, allocations: 23.98 kB / 0.5034 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.1486, allocations: 40.38 kB / 0.5034 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-05/0.1487, allocations: 60 kB / 0.5035 GB, free: 12.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004355/0.1491, allocations: 391 kB / 0.5039 GB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1491, allocations: 3.938 kB / 0.5039 GB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006113/0.1497, allocations: 180 kB / 0.504 GB, free: 11.78 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.1499, allocations: 131.1 kB / 0.5042 GB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.1514, allocations: 1 MB / 0.5051 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1514, allocations: 0 / 0.5051 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.1519, allocations: 497.3 kB / 0.5056 GB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.1527, allocations: 159.2 kB / 0.5058 GB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.1554, allocations: 1.897 MB / 0.5076 GB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.156, allocations: 1.009 MB / 0.5086 GB, free: 6.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.1562, allocations: 67.42 kB / 0.5087 GB, free: 6.879 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1562, allocations: 0 / 0.5087 GB, free: 6.879 MB / 362.7 MB Notification: Performance of Templates: time 0.1887/0.3449, allocations: 11.98 MB / 0.5204 GB, free: 52.05 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1)