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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 103.8 kB / 17.73 MB, free: 5.32 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.001695/0.001695, allocations: 197.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1805/0.1805, allocations: 37.98 MB / 309.9 MB, free: 5.941 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.89 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09441, allocations: 55.24 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008682/0.1031, allocations: 7.302 MB / 495.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.1067, allocations: 1.75 MB / 496.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007932/0.1075, allocations: 31.81 kB / 496.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008548/0.1084, allocations: 234.4 kB / 497.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.1101, allocations: 0.5676 MB / 497.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.1108, allocations: 219.6 kB / 497.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.1124, allocations: 1.254 MB / 499.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.1129, allocations: 362.5 kB / 499.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.114, allocations: 0.5602 MB / 0.4883 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.1153, allocations: 0.6346 MB / 0.4889 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.1155, allocations: 64 kB / 0.489 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.1157, allocations: 64 kB / 0.4891 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003553/0.1161, allocations: 343 kB / 0.4894 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006224/0.1167, allocations: 429.8 kB / 0.4898 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.1178, allocations: 0.9108 MB / 0.4907 GB, free: 9.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1178, allocations: 0 / 0.4907 GB, free: 9.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1178, allocations: 0 / 0.4907 GB, free: 9.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.616e-05/0.1178, allocations: 0 / 0.4907 GB, free: 9.574 MB / 382.1 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.00232/0.1201, allocations: 1.225 MB / 0.4919 GB, free: 8.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1202, allocations: 11.89 kB / 0.4919 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.1204, allocations: 103.7 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.1216, allocations: 0.711 MB / 0.4927 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.1217, allocations: 45.25 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/0.1218, allocations: 64 kB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.123, allocations: 0.8138 MB / 0.4936 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1231, allocations: 4 kB / 0.4936 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.1231, allocations: 27.98 kB / 0.4936 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/0.1232, allocations: 33.3 kB / 0.4937 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009256/0.1241, allocations: 0.614 MB / 0.4943 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/0.1275, allocations: 2.63 MB / 0.4968 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008789/0.1284, allocations: 0.605 MB / 0.4974 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.129, allocations: 375.1 kB / 0.4978 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.129, allocations: 12.38 kB / 0.4978 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005705/0.1296, allocations: 479.1 kB / 0.4982 GB, free: 1.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.064e-06/0.1296, allocations: 0 / 0.4982 GB, free: 1.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.00288/0.1325, allocations: 1.985 MB / 0.5002 GB, free: 15.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.1327, allocations: 251.8 kB / 0.5004 GB, free: 15.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.1333, allocations: 0.5586 MB / 0.501 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.1334, allocations: 45.83 kB / 0.501 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.1336, allocations: 399.4 kB / 0.5014 GB, free: 14.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.1339, allocations: 209.2 kB / 0.5016 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.1342, allocations: 150.5 kB / 0.5017 GB, free: 13.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.1344, allocations: 378.8 kB / 0.5021 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.1349, allocations: 225.9 kB / 0.5023 GB, free: 13.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.1355, allocations: 457.8 kB / 0.5027 GB, free: 12.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/0.1364, allocations: 0.8012 MB / 0.5035 GB, free: 11.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.1364, allocations: 4 kB / 0.5035 GB, free: 11.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001462/0.1379, allocations: 0.9444 MB / 0.5045 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.138, allocations: 67.39 kB / 0.5045 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.138, allocations: 12.06 kB / 0.5045 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003939/0.1384, allocations: 109.6 kB / 0.5046 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.1389, allocations: 151.7 kB / 0.5048 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.1418, allocations: 3.555 MB / 0.5083 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.1423, allocations: 35.98 kB / 0.5083 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.471e-05/0.1425, allocations: 60.19 kB / 0.5083 GB, free: 6.449 MB / 398.1 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.0004309/0.1429, allocations: 350.6 kB / 0.5087 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.143, allocations: 79.14 kB / 0.5088 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1441, allocations: 0.782 MB / 0.5095 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1441, allocations: 4 kB / 0.5095 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1441, allocations: 7.984 kB / 0.5095 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1441, allocations: 0 / 0.5095 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.1463, allocations: 1.569 MB / 0.5111 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1463, allocations: 0 / 0.5111 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.1468, allocations: 107.8 kB / 0.5112 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.1468, allocations: 7.938 kB / 0.5112 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.1468, allocations: 27.98 kB / 0.5112 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1469, allocations: 0 / 0.5112 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1469, allocations: 4 kB / 0.5112 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.1483, allocations: 1.191 MB / 0.5124 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.1485, allocations: 184.2 kB / 0.5125 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.732e-05/0.1486, allocations: 15.94 kB / 0.5126 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.149, allocations: 31.97 kB / 0.5126 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.1491, allocations: 40.45 kB / 0.5126 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.083e-05/0.1491, allocations: 59.92 kB / 0.5127 GB, free: 1.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000389/0.1495, allocations: 391.1 kB / 0.5131 GB, free: 1.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1495, allocations: 0 / 0.5131 GB, free: 1.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006742/0.1502, allocations: 176 kB / 0.5132 GB, free: 1.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0001721/0.1504, allocations: 139 kB / 0.5134 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.1518, allocations: 1 MB / 0.5143 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.1518, allocations: 4.062 kB / 0.5143 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.1524, allocations: 0.4972 MB / 0.5148 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.1532, allocations: 167.1 kB / 0.515 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.1555, allocations: 1.598 MB / 0.5165 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.1561, allocations: 1.013 MB / 0.5175 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.1563, allocations: 59.36 kB / 0.5176 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1563, allocations: 0 / 0.5176 GB, free: 12.64 MB / 414.1 MB Notification: Performance of Templates: time 0.01685/0.1732, allocations: 12.08 MB / 0.5294 GB, free: 0.5352 MB / 414.1 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)