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.001116/0.001116, allocations: 110.9 kB / 17.75 MB, free: 5.309 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.001167/0.001167, allocations: 186.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.383/1.383, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1781/0.1781, allocations: 37.98 MB / 309.9 MB, free: 5.949 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.001414/0.001414, allocations: 67.91 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1103, allocations: 55.25 MB / 487.8 MB, free: 8.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01035/0.1206, allocations: 7.306 MB / 495.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.1243, allocations: 1.75 MB / 496.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006557/0.125, allocations: 27.81 kB / 496.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008379/0.1259, allocations: 234.4 kB / 497.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.1276, allocations: 0.5676 MB / 497.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.1282, allocations: 211.7 kB / 497.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.1299, allocations: 1.273 MB / 499.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005506/0.1305, allocations: 358.5 kB / 499.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.1315, allocations: 0.5485 MB / 0.4883 GB, free: 12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.1328, allocations: 0.6462 MB / 0.489 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.133, allocations: 64 kB / 0.489 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.1333, allocations: 60 kB / 0.4891 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004456/0.1338, allocations: 331.1 kB / 0.4894 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006951/0.1345, allocations: 437.7 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1356, allocations: 0.9147 MB / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1356, allocations: 0 / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1356, allocations: 0 / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.206e-05/0.1357, allocations: 4 kB / 0.4907 GB, free: 9.559 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.002687/0.1384, allocations: 1.229 MB / 0.4919 GB, free: 8.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1384, allocations: 11.89 kB / 0.4919 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.1387, allocations: 91.81 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.1401, allocations: 0.7071 MB / 0.4927 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.1402, allocations: 53.23 kB / 0.4928 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.1403, allocations: 64 kB / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.1417, allocations: 0.8099 MB / 0.4936 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.1417, allocations: 7.938 kB / 0.4936 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.1418, allocations: 20 kB / 0.4936 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.325e-05/0.1418, allocations: 41.3 kB / 0.4937 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1429, allocations: 0.6218 MB / 0.4943 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003893/0.1468, allocations: 2.606 MB / 0.4968 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.1478, allocations: 0.6205 MB / 0.4974 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/0.1484, allocations: 379.1 kB / 0.4978 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.1485, allocations: 4.438 kB / 0.4978 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005922/0.149, allocations: 483 kB / 0.4983 GB, free: 1.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.276e-06/0.1491, allocations: 0 / 0.4983 GB, free: 1.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.003164/0.1522, allocations: 1.981 MB / 0.5002 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.1524, allocations: 251.9 kB / 0.5004 GB, free: 15.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006556/0.153, allocations: 0.5625 MB / 0.501 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.1531, allocations: 37.7 kB / 0.501 GB, free: 14.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.1534, allocations: 407.3 kB / 0.5014 GB, free: 14.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.1537, allocations: 205.2 kB / 0.5016 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.1539, allocations: 146.5 kB / 0.5017 GB, free: 13.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.154, allocations: 386.8 kB / 0.5021 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.1544, allocations: 229.8 kB / 0.5023 GB, free: 13.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/0.155, allocations: 453.9 kB / 0.5028 GB, free: 12.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009326/0.1559, allocations: 0.7934 MB / 0.5035 GB, free: 11.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.1559, allocations: 4 kB / 0.5035 GB, free: 11.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00166/0.1576, allocations: 0.952 MB / 0.5045 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.1577, allocations: 63.41 kB / 0.5045 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.1577, allocations: 7.938 kB / 0.5045 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004228/0.1581, allocations: 114 kB / 0.5046 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.1586, allocations: 151.7 kB / 0.5048 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.1619, allocations: 3.559 MB / 0.5083 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.1624, allocations: 35.97 kB / 0.5083 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/0.1625, allocations: 55.97 kB / 0.5084 GB, free: 6.441 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.0004279/0.1629, allocations: 354.6 kB / 0.5087 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.163, allocations: 71.16 kB / 0.5088 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.1642, allocations: 0.7857 MB / 0.5095 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1642, allocations: 0 / 0.5095 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1642, allocations: 0 / 0.5095 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.1645, allocations: 188.1 kB / 0.5097 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/0.1646, allocations: 23.94 kB / 0.5097 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.165, allocations: 27.98 kB / 0.5098 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.1651, allocations: 36.38 kB / 0.5098 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001546/0.1666, allocations: 1.046 MB / 0.5108 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001607/0.1682, allocations: 1.351 MB / 0.5121 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004825/0.1687, allocations: 351.4 kB / 0.5125 GB, free: 2.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004778/0.1692, allocations: 391 kB / 0.5128 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Backend: time 8.42e-07/0.1692, allocations: 0 / 0.5128 GB, free: 1.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.1709, allocations: 0.874 MB / 0.5137 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of SimCode: time 0.002856/0.1738, allocations: 1.985 MB / 0.5156 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Templates: time 0.01799/0.1918, allocations: 8.558 MB / 0.524 GB, free: 6.141 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)